/openbmc/linux/tools/perf/util/ |
H A D | addr_location.c | 7 void addr_location__init(struct addr_location *al) in addr_location__init() argument 9 al->thread = NULL; in addr_location__init() 10 al->maps = NULL; in addr_location__init() 11 al->map = NULL; in addr_location__init() 12 al->sym = NULL; in addr_location__init() 13 al->srcline = NULL; in addr_location__init() 14 al->addr = 0; in addr_location__init() 15 al->level = 0; in addr_location__init() 16 al->filtered = 0; in addr_location__init() 17 al->cpumode = 0; in addr_location__init() [all …]
|
H A D | event.c | 511 struct addr_location al; in perf_event__fprintf_text_poke() local 513 addr_location__init(&al); in perf_event__fprintf_text_poke() 514 al.map = map__get(maps__find(machine__kernel_maps(machine), tp->addr)); in perf_event__fprintf_text_poke() 515 if (al.map && map__load(al.map) >= 0) { in perf_event__fprintf_text_poke() 516 al.addr = map__map_ip(al.map, tp->addr); in perf_event__fprintf_text_poke() 517 al.sym = map__find_symbol(al.map, al.addr); in perf_event__fprintf_text_poke() 518 if (al.sym) in perf_event__fprintf_text_poke() 519 ret += symbol__fprintf_symname_offs(al.sym, &al, fp); in perf_event__fprintf_text_poke() 521 addr_location__exit(&al); in perf_event__fprintf_text_poke() 599 struct addr_location *al) in thread__find_map() argument [all …]
|
H A D | dlfilter.c | 28 static void al_to_d_al(struct addr_location *al, struct perf_dlfilter_al *d_al) in al_to_d_al() argument 30 struct symbol *sym = al->sym; in al_to_d_al() 33 if (al->map) { in al_to_d_al() 34 struct dso *dso = map__dso(al->map); in al_to_d_al() 53 if (al->addr < sym->end) in al_to_d_al() 54 d_al->symoff = al->addr - sym->start; in al_to_d_al() 56 d_al->symoff = al->addr - map__start(al->map) - sym->start; in al_to_d_al() 65 d_al->addr = al->addr; in al_to_d_al() 73 struct addr_location *al = d->al; in get_al() local 75 if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0) in get_al() [all …]
|
H A D | unwind-libdw.c | 44 static int __report_module(struct addr_location *al, u64 ip, in __report_module() argument 54 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module() 56 if (al->map) in __report_module() 57 dso = map__dso(al->map); in __report_module() 70 base = map__start(al->map); in __report_module() 72 base = map__start(al->map) - map__pgoff(al->map); in __report_module() 110 struct addr_location al; in report_module() local 113 addr_location__init(&al); in report_module() 114 res = __report_module(&al, ip, ui); in report_module() 115 addr_location__exit(&al); in report_module() [all …]
|
H A D | symbol_fprintf.c | 20 const struct addr_location *al, in __symbol__fprintf_symname_offs() argument 29 if (al && print_offsets) { in __symbol__fprintf_symname_offs() 30 if (al->addr < sym->end) in __symbol__fprintf_symname_offs() 31 offset = al->addr - sym->start; in __symbol__fprintf_symname_offs() 33 offset = al->addr - map__start(al->map) - sym->start; in __symbol__fprintf_symname_offs() 37 } else if (al && unknown_as_addr) in __symbol__fprintf_symname_offs() 38 return fprintf(fp, "[%#" PRIx64 "]", al->addr); in __symbol__fprintf_symname_offs() 44 const struct addr_location *al, in symbol__fprintf_symname_offs() argument 47 return __symbol__fprintf_symname_offs(sym, al, false, true, fp); in symbol__fprintf_symname_offs() 51 const struct addr_location *al, in __symbol__fprintf_symname() argument [all …]
|
H A D | db-export.c | 176 static int db_ids_from_al(struct db_export *dbe, struct addr_location *al, in db_ids_from_al() argument 181 if (al->map) { in db_ids_from_al() 182 struct dso *dso = map__dso(al->map); in db_ids_from_al() 184 err = db_export__dso(dbe, dso, maps__machine(al->maps)); in db_ids_from_al() 189 if (!al->sym) { in db_ids_from_al() 190 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown"); in db_ids_from_al() 191 if (al->sym) in db_ids_from_al() 192 dso__insert_symbol(dso, al->sym); in db_ids_from_al() 195 if (al->sym) { in db_ids_from_al() 196 u64 *db_id = symbol__priv(al->sym); in db_ids_from_al() [all …]
|
H A D | annotate.c | 1111 struct annotation_line *al = notes->offsets[offset]; in annotation__count_and_fill() local 1113 if (al && al->cycles && al->cycles->ipc == 0.0) { in annotation__count_and_fill() 1114 al->cycles->ipc = ipc; in annotation__count_and_fill() 1147 struct annotation_line *al; in annotation__compute_ipc() local 1149 al = notes->offsets[offset]; in annotation__compute_ipc() 1150 if (al && al->cycles == NULL) { in annotation__compute_ipc() 1151 al->cycles = zalloc(sizeof(*al->cycles)); in annotation__compute_ipc() 1152 if (al->cycles == NULL) { in annotation__compute_ipc() 1159 if (al && ch->num_aggr) { in annotation__compute_ipc() 1160 al->cycles->avg = ch->cycles_aggr / ch->num_aggr; in annotation__compute_ipc() [all …]
|
H A D | data-convert-json.c | 122 u64 ip, struct addr_location *al) in output_sample_callchain_entry() argument 130 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry() 131 struct dso *dso = al->map ? map__dso(al->map) : NULL; in output_sample_callchain_entry() 134 output_json_key_string(out, false, 5, "symbol", al->sym->name); in output_sample_callchain_entry() 157 struct addr_location al; in process_sample_event() local 161 addr_location__init(&al); in process_sample_event() 162 if (machine__resolve(machine, &al, sample) < 0) { in process_sample_event() 164 addr_location__exit(&al); in process_sample_event() 177 output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread)); in process_sample_event() 178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | int_helper.c | 148 target_ulong helper_aam(target_ulong al, target_ulong base) in helper_aam() argument 152 al &= 0xff; in helper_aam() 153 ah = al / base; in helper_aam() 154 al = al % base; in helper_aam() 155 return al | (ah << 8); in helper_aam() 160 int al, ah; in helper_aad() local 162 al = ax & 0xff; in helper_aad() 164 al = ((ah * base) + al) & 0xff; in helper_aad() 165 return al; in helper_aad() 171 int al, ah, af; in helper_aaa() local [all …]
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | annotate.c | 43 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in disasm_line__filter() local 44 return annotation_line__filter(al, notes); in disasm_line__filter() 94 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in annotate_browser__write() local 116 annotation_line__write(al, notes, &ops); in annotate_browser__write() 119 ab->selection = al; in annotate_browser__write() 124 struct disasm_line *pos = list_prev_entry(cursor, al.node); in is_fused() 128 while (pos && pos->al.offset == -1) { in is_fused() 129 pos = list_prev_entry(pos, al.node); in is_fused() 198 from = cursor->al.idx_asm; in annotate_browser__draw_current_jump() 201 from = (u64)cursor->al.idx; in annotate_browser__draw_current_jump() [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | attrlist.c | 297 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le() 303 old_size = al->size; in al_add_le() 310 off = PtrOffset(al->le, le); in al_add_le() 318 memcpy(ptr, al->le, off); in al_add_le() 321 kvfree(al->le); in al_add_le() 322 al->le = ptr; in al_add_le() 328 al->size = new_size; in al_add_le() 339 err = attr_set_size(ni, ATTR_LIST, NULL, 0, &al->run, new_size, in al_add_le() 344 al->size = old_size; in al_add_le() 348 al->dirty = true; in al_add_le() [all …]
|
/openbmc/linux/arch/arm/lib/ |
H A D | lshrdi3.S | 33 #define al r1 macro 36 #define al r0 macro 45 movmi al, al, lsr r2 46 movpl al, ah, lsr r3 47 ARM( orrmi al, al, ah, lsl ip ) 49 THUMB( orrmi al, al, r3 )
|
H A D | ashrdi3.S | 33 #define al r1 macro 36 #define al r0 macro 45 movmi al, al, lsr r2 46 movpl al, ah, asr r3 47 ARM( orrmi al, al, ah, lsl ip ) 49 THUMB( orrmi al, al, r3 )
|
H A D | ashldi3.S | 33 #define al r1 macro 36 #define al r0 macro 46 movpl ah, al, lsl r3 47 ARM( orrmi ah, ah, al, lsr ip ) 48 THUMB( lsrmi r3, al, ip ) 50 mov al, al, lsl r2
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | ashrdi3.S | 10 #define al r1 macro 13 #define al r0 macro 23 movmi al, al, lsr r2 24 movpl al, ah, asr r3 25 ARM( orrmi al, al, ah, lsl ip ) 27 THUMB( orrmi al, al, r3 )
|
H A D | lshrdi3.S | 10 #define al r1 macro 13 #define al r0 macro 23 movmi al, al, lsr r2 24 movpl al, ah, lsr r3 25 ARM( orrmi al, al, ah, lsl ip ) 27 THUMB( orrmi al, al, r3 )
|
H A D | ashldi3.S | 10 #define al r1 macro 13 #define al r0 macro 24 movpl ah, al, lsl r3 25 ARM( orrmi ah, ah, al, lsr ip ) 26 THUMB( lsrmi r3, al, ip ) 28 mov al, al, lsl r2
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | longlong.h | 114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 121 "%r" ((USItype)(al)), \ 123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 130 "r" ((USItype)(al)), \ 176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 183 "%r" ((USItype)(al)), \ 185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 192 "r" ((USItype)(al)), \ 263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 270 "%1" ((USItype)(al)), \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
H A D | al,alpine-smp | 2 Secondary CPU enable-method "al,alpine-smp" binding 5 This document describes the "al,alpine-smp" method for 7 "al,alpine-smp" enable method should be defined in the 10 Enable method name: "al,alpine-smp" 11 Compatible machines: "al,alpine" 17 "al,alpine-cpu-resume" and "al,alpine-nb-service". 26 - compatible : Should contain "al,alpine-cpu-resume". 36 - compatible : Should contain "al,alpine-sysfabric-service" and "syscon". 45 enable-method = "al,alpine-smp"; 73 compatible = "al,alpine-cpu-resume"; [all …]
|
/openbmc/linux/tools/perf/dlfilters/ |
H A D | dlfilter-test-api-v2.c | 114 __s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al); 127 void (*al_cleanup)(void *ctx, struct perf_dlfilter_al *al); 246 const struct perf_dlfilter_al *al; in check_al() local 248 al = perf_dlfilter_fns.resolve_ip(ctx); in check_al() 249 if (!al) in check_al() 252 CHECK(al->sym && !strcmp("foo", al->sym)); in check_al() 253 CHECK(!al->symoff); in check_al() 275 const struct perf_dlfilter_al *al; in check_address_al() local 277 al = perf_dlfilter_fns.resolve_ip(ctx); in check_address_al() 278 if (!al) in check_address_al() [all …]
|
H A D | dlfilter-test-api-v0.c | 104 __s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al); 231 const struct perf_dlfilter_al *al; in check_al() local 233 al = perf_dlfilter_fns.resolve_ip(ctx); in check_al() 234 if (!al) in check_al() 237 CHECK(al->sym && !strcmp("foo", al->sym)); in check_al() 238 CHECK(!al->symoff); in check_al() 260 const struct perf_dlfilter_al *al; in check_address_al() local 262 al = perf_dlfilter_fns.resolve_ip(ctx); in check_address_al() 263 if (!al) in check_address_al() 270 CHECK(address_al.sym && al->sym); in check_address_al() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gd/gd/ |
H A D | 0001-Fix-deprecared-function-prototypes.patch | 49 -static unsigned int inxsearch(nnq, al,b,g,r) 51 -register int al, b, g, r; 52 +static unsigned int inxsearch(nn_quant *nnq, int al, int b, int g, int r) 56 @@ -306,9 +297,7 @@ register int al, b, g, r; 60 -static int contest(nnq, al,b,g,r) 62 -register int al,b,g,r; 63 +static int contest(nn_quant *nnq, int al, int b, int g, int r) 67 @@ -362,9 +351,7 @@ register int al,b,g,r; 71 -static void altersingle(nnq, alpha,i,al,b,g,r) 73 -register int alpha,i,al,b,g,r; [all …]
|
/openbmc/linux/drivers/char/ |
H A D | toshiba.c | 124 unsigned char al; in tosh_emulate_fan() local 136 al = inb(0xe5); in tosh_emulate_fan() 139 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan() 145 al = inb(0xe5); in tosh_emulate_fan() 147 outb (al | 0x01, 0xe5); in tosh_emulate_fan() 156 al = inb(0xe5); in tosh_emulate_fan() 158 outb(al & 0xfe, 0xe5); in tosh_emulate_fan() 172 al = inb(0xe5); in tosh_emulate_fan() 175 regs->ecx = al & 0x01; in tosh_emulate_fan() 181 al = inb(0xe5); in tosh_emulate_fan() [all …]
|
/openbmc/linux/arch/alpha/math-emu/ |
H A D | sfp-util.h | 8 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 9 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 11 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 12 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_link.c | 69 struct addr_location al; in add_hist_entries() local 74 addr_location__init(&al); in add_hist_entries() 89 if (machine__resolve(machine, &al, &sample) < 0) in add_hist_entries() 92 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 99 fake_common_samples[k].thread = thread__get(al.thread); in add_hist_entries() 101 fake_common_samples[k].map = map__get(al.map); in add_hist_entries() 102 fake_common_samples[k].sym = al.sym; in add_hist_entries() 109 if (machine__resolve(machine, &al, &sample) < 0) in add_hist_entries() 112 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 119 fake_samples[i][k].thread = thread__get(al.thread); in add_hist_entries() [all …]
|