| /linux/tools/perf/util/ |
| H A D | event.c | 554 struct addr_location al; in perf_event__fprintf_text_poke() local 556 addr_location__init(&al); in perf_event__fprintf_text_poke() 557 al.map = maps__find(machine__kernel_maps(machine), tp->addr); in perf_event__fprintf_text_poke() 558 if (al.map && map__load(al.map) >= 0) { in perf_event__fprintf_text_poke() 559 al.addr = map__map_ip(al.map, tp->addr); in perf_event__fprintf_text_poke() 560 al.sym = map__find_symbol(al.map, al.addr); in perf_event__fprintf_text_poke() 561 if (al.sym) in perf_event__fprintf_text_poke() 562 ret += symbol__fprintf_symname_offs(al.sym, &al, fp); in perf_event__fprintf_text_poke() 564 addr_location__exit(&al); in perf_event__fprintf_text_poke() 695 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() 55 else if (al->map) in al_to_d_al() 56 d_al->symoff = al->addr - map__start(al->map) - sym->start; in al_to_d_al() 67 d_al->addr = al->addr; in al_to_d_al() 75 struct addr_location *al = d->al; in get_al() local [all …]
|
| 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->map = NULL; in addr_location__init() 11 al->sym = NULL; in addr_location__init() 12 al->srcline = NULL; in addr_location__init() 13 al->addr = 0; in addr_location__init() 14 al->level = 0; in addr_location__init() 15 al->filtered = 0; in addr_location__init() 16 al->cpumode = 0; in addr_location__init() 17 al->cpu = 0; in addr_location__init() [all …]
|
| H A D | annotate.c | 434 struct annotation_line *al; in annotated_source__get_line() local 436 list_for_each_entry(al, &src->source, node) { in annotated_source__get_line() 437 if (al->offset == offset) in annotated_source__get_line() 438 return al; in annotated_source__get_line() 445 struct annotation_line *al; in annotation__count_insn() local 448 al = annotated_source__get_line(notes->src, start); in annotation__count_insn() 449 if (al == NULL) in annotation__count_insn() 452 list_for_each_entry_from(al, ¬es->src->source, node) { in annotation__count_insn() 453 if (al->offset == -1) in annotation__count_insn() 455 if ((u64)al->offset > end) in annotation__count_insn() [all …]
|
| H A D | unwind-libdw.c | 69 static int __report_module(struct addr_location *al, u64 ip, in __report_module() argument 79 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module() 81 if (al->map) in __report_module() 82 dso = map__dso(al->map); in __report_module() 95 base = map__start(al->map); in __report_module() 97 base = map__start(al->map) - map__pgoff(al->map); in __report_module() 138 struct addr_location al; in report_module() local 141 addr_location__init(&al); in report_module() 142 res = __report_module(&al, ip, ui); in report_module() 143 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, fals in symbol__fprintf_symname_offs() 51 __symbol__fprintf_symname(const struct symbol * sym,const struct addr_location * al,bool unknown_as_addr,FILE * fp) __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(thread__maps(al->thread))); 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 | data-convert-json.c | 132 u64 ip, struct addr_location *al) in output_sample_callchain_entry() argument 140 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry() 141 struct dso *dso = al->map ? map__dso(al->map) : NULL; in output_sample_callchain_entry() 144 output_json_key_string(out, false, 5, "symbol", al->sym->name); in output_sample_callchain_entry() 167 struct addr_location al; in process_sample_event() local 171 addr_location__init(&al); in process_sample_event() 172 if (machine__resolve(machine, &al, sample) < 0) { in process_sample_event() 174 addr_location__exit(&al); in process_sample_event() 192 output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread)); in process_sample_event() 193 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event() [all …]
|
| H A D | hist.c | 681 const struct addr_location *al, in hists__findnew_entry() argument 755 he_stat__add_cpumode_period(&he->stat, al->cpumode, period); in hists__findnew_entry() 757 he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); in hists__findnew_entry() 793 struct addr_location *al, in __hists__add_entry() argument 803 struct namespaces *ns = thread__namespaces(al->thread); in __hists__add_entry() 805 .thread = al->thread, in __hists__add_entry() 806 .comm = thread__comm(al->thread), in __hists__add_entry() 813 .thread = al->thread, in __hists__add_entry() 814 .map = al->map, in __hists__add_entry() 815 .sym = al->sym, in __hists__add_entry() [all …]
|
| H A D | debug.c | 337 struct addr_location al; in __dump_stack() local 341 addr_location__init(&al); in __dump_stack() 342 if (thread && thread__find_map(thread, PERF_RECORD_MISC_USER, addr, &al)) { in __dump_stack() 343 al.sym = map__find_symbol(al.map, al.addr); in __dump_stack() 344 if (al.sym) { in __dump_stack() 345 fprintf(file, " #%zd %p in %s ", i, stackdump[i], al.sym->name); in __dump_stack() 352 map__fprintf_srcline(al.map, al.addr, "", file); in __dump_stack() 354 addr_location__exit(&al); in __dump_stack()
|
| H A D | dlfilter.h | 35 struct addr_location *al; member 63 struct addr_location *al, 74 struct addr_location *al, in dlfilter__filter_event() argument 79 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false); in dlfilter__filter_event() 87 struct addr_location *al, in dlfilter__filter_event_early() argument 92 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, true); in dlfilter__filter_event_early()
|
| H A D | capstone.c | 191 struct addr_location al; in print_insn_x86() local 197 addr_location__init(&al); in print_insn_x86() 199 thread__find_symbol(thread, cpumode, op->imm, &al)) { in print_insn_x86() 201 printed += symbol__fprintf_symname_offs(al.sym, &al, fp); in print_insn_x86() 204 addr_location__exit(&al); in print_insn_x86() 207 addr_location__exit(&al); in print_insn_x86() 370 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone() 400 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone() 411 dl = list_first_entry(list, struct disasm_line, al.node); in symbol__disassemble_capstone() 413 list_del_init(&dl->al.node); in symbol__disassemble_capstone() [all …]
|
| /linux/tools/perf/ui/browsers/ |
| H A D | annotate.c | 67 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in disasm_line__filter() local 68 return annotation_line__filter(al); in disasm_line__filter() 118 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in annotate_browser__write() local 149 annotation_line__write(al, notes, &ops, &apd); in annotate_browser__write() 152 ab->selection = al; in annotate_browser__write() 157 struct disasm_line *pos = list_prev_entry(cursor, al.node); in is_fused() 161 while (pos && pos->al.offset == -1) { in is_fused() 162 pos = list_prev_entry(pos, al.node); in is_fused() 232 from = cursor->al.idx_asm; in annotate_browser__draw_current_jump() 235 from = (u64)cursor->al.idx; in annotate_browser__draw_current_jump() [all …]
|
| /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 …]
|
| /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
|
| /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". 35 enable-method = "al,alpine-smp"; 63 compatible = "al,alpine-cpu-resume"; 68 compatible = "al,alpine-sysfabric-service", "syscon";
|
| /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 …]
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | skip-callchain-idx.c | 214 struct addr_location al; in arch_skip_callchain_idx() local 223 addr_location__init(&al); in arch_skip_callchain_idx() 226 thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); in arch_skip_callchain_idx() 228 if (al.map) in arch_skip_callchain_idx() 229 dso = map__dso(al.map); in arch_skip_callchain_idx() 233 addr_location__exit(&al); in arch_skip_callchain_idx() 237 rc = check_return_addr(dso, map__map_ip(al.map, ip)); in arch_skip_callchain_idx() 240 dso__long_name(dso), al.sym->name, ip, rc); in arch_skip_callchain_idx() 255 addr_location__exit(&al); in arch_skip_callchain_idx()
|
| /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)))
|
| /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 …]
|
| H A D | mmap-thread-lookup.c | 190 struct addr_location al; in mmap_events() local 193 addr_location__init(&al); in mmap_events() 199 (unsigned long) (td->map + 1), &al); in mmap_events() 203 if (!al.map) { in mmap_events() 206 addr_location__exit(&al); in mmap_events() 210 pr_debug("map %p, addr %" PRIx64 "\n", al.map, map__start(al.map)); in mmap_events() 211 addr_location__exit(&al); in mmap_events()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | sfp-machine.h | 216 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 220 : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ 223 : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ 227 : "%r" (ah), "r" (bh), "%r" (al), "rI" (bl)); \ 239 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 243 : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ 246 : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ 249 : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ 252 : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ 256 : "r" (ah), "r" (bh), "rI" (al), "r" (bl)); \
|
| /linux/drivers/nvme/target/ |
| H A D | fabrics-cmd-auth.c | 407 static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al) in nvmet_auth_challenge() argument 417 if (al < data_size) { in nvmet_auth_challenge() 419 al, data_size); in nvmet_auth_challenge() 447 static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al) in nvmet_auth_success1() argument 453 WARN_ON(al < sizeof(*data)); in nvmet_auth_success1() 474 static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al) in nvmet_auth_failure1() argument 478 WARN_ON(al < sizeof(*data)); in nvmet_auth_failure1() 488 return le32_to_cpu(req->cmd->auth_receive.al); in nvmet_auth_receive_data_len() 495 u32 al; in nvmet_execute_auth_receive() local 516 al = nvmet_auth_receive_data_len(req); in nvmet_execute_auth_receive() [all …]
|