Home
last modified time | relevance | path

Searched refs:al (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/tools/perf/util/
H A Daddr_location.c7 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 Devent.c554 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 in perf_event__fprintf_text_poke()
695 thread__find_map(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_map() argument
758 thread__find_map_fb(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_map_fb() argument
771 thread__find_symbol(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_symbol() argument
780 thread__find_symbol_fb(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_symbol_fb() argument
805 machine__resolve(struct machine * machine,struct addr_location * al,struct perf_sample * sample) machine__resolve() argument
924 thread__resolve(struct thread * thread,struct addr_location * al,struct perf_sample * sample) thread__resolve() argument
[all...]
H A Ddlfilter.c28 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 in al_to_d_al()
75 struct addr_location *al = d->al; get_al() local
84 struct addr_location *al = get_al(d); get_thread() local
93 struct addr_location *al; dlfilter__resolve_ip() local
168 struct addr_location al; dlfilter__resolve_address() local
200 struct addr_location *al; dlfilter__al_cleanup() local
228 struct addr_location *al = d->al; dlfilter__insn() local
252 struct addr_location *al; dlfilter__srcline() local
300 struct addr_location *al; dlfilter__object_code() local
495 dlfilter__do_filter_event(struct dlfilter * d,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine,struct addr_location * al,struct addr_location * addr_al,bool early) dlfilter__do_filter_event() argument
[all...]
H A Dannotate.c435 struct annotation_line *al; in annotated_source__get_line()
437 list_for_each_entry(al, &src->source, node) { in annotated_source__get_line()
438 if (al->offset == offset) in annotated_source__get_line()
439 return al; in annotated_source__get_line()
446 struct annotation_line *al; in annotation__count_insn()
449 al = annotated_source__get_line(notes->src, start); in annotation__count_insn()
450 if (al == NULL) in annotation__count_insn()
453 list_for_each_entry_from(al, &notes->src->source, node) { in annotation__count_insn()
454 if (al->offset == -1) in annotation__count_insn()
456 if ((u64)al in annotation__count_insn()
433 struct annotation_line *al; annotated_source__get_line() local
444 struct annotation_line *al; annotation__count_insn() local
477 struct annotation_line *al; annotation__count_and_fill() local
530 struct annotation_line *al; annotation__compute_ipc() local
569 struct annotation_line *al; annotation__compute_ipc() local
655 annotation_line__add(struct annotation_line * al,struct list_head * head) annotation_line__add() argument
782 annotation_line__print(struct annotation_line * al,struct annotation_print_data * apd,struct annotation_options * opts,int printed,struct annotation_line * queue) annotation_line__print() argument
949 struct annotation_line *al, *next; annotation__calc_percent() local
1061 insert_source_line(struct rb_root * root,struct annotation_line * al) insert_source_line() argument
1110 __resort_source_line(struct rb_root * root,struct annotation_line * al) __resort_source_line() argument
1132 struct annotation_line *al; resort_source_line() local
1150 struct annotation_line *al; print_summary() local
1371 struct annotation_line *al; symbol__annotate_fprintf2() local
1440 struct annotation_line *al; symbol__annotate_decay_histogram() local
1460 struct annotation_line *al, *n; annotated_source__purge() local
1510 struct annotation_line *al; annotation__mark_jump_targets() local
1541 struct annotation_line *al; annotation__set_index() local
1573 struct annotation_line *al; annotation__max_ins_name() local
1627 struct annotation_line *al; annotation__calc_lines() local
1743 annotation_line__max_percent(struct annotation_line * al,unsigned int percent_type) annotation_line__max_percent() argument
2009 annotation_line__write(struct annotation_line * al,struct annotation * notes,const struct annotation_write_ops * wops,struct annotation_print_data * apd) annotation_line__write() argument
[all...]
H A Dsymbol_fprintf.c20 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 Dunwind-libdw.c70 static int __report_module(struct addr_location *al, u64 ip, in __report_module()
77 * Some callers will use al->sym, so we can't just use the in __report_module()
80 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module()
82 if (al->map) in __report_module()
83 dso = map__dso(al->map); in __report_module()
96 base = map__start(al->map); in __report_module()
98 base = map__start(al->map) - map__pgoff(al->map); in __report_module()
139 struct addr_location al; in report_module()
142 addr_location__init(&al); in report_module()
69 __report_module(struct addr_location * al,u64 ip,struct unwind_info * ui) __report_module() argument
138 struct addr_location al; report_module() local
155 struct addr_location al; entry() local
189 struct addr_location al; access_dso_mem() local
[all...]
H A Ddb-export.c175 static int db_ids_from_al(struct db_export *dbe, struct addr_location *al,
180 if (al->map) { in db_ids_from_al()
181 struct dso *dso = map__dso(al->map); in db_ids_from_al()
183 err = db_export__dso(dbe, dso, maps__machine(thread__maps(al->thread))); in db_ids_from_al()
188 if (!al->sym) { in db_ids_from_al()
189 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown"); in db_ids_from_al()
190 if (al->sym) in db_ids_from_al()
191 dso__insert_symbol(dso, al->sym); in db_ids_from_al()
194 if (al in db_ids_from_al()
176 db_ids_from_al(struct db_export * dbe,struct addr_location * al,u64 * dso_db_id,u64 * sym_db_id,u64 * offset) db_ids_from_al() argument
241 struct addr_location al; call_path_from_sample() local
350 db_export__sample(struct db_export * dbe,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al) db_export__sample() argument
[all...]
H A Ddata-convert-json.c133 u64 ip, struct addr_location *al) in output_sample_callchain_entry()
141 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry()
142 struct dso *dso = al->map ? map__dso(al->map) : NULL; in output_sample_callchain_entry()
145 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, sampl in process_sample_event()
132 output_sample_callchain_entry(const struct perf_tool * tool,u64 ip,struct addr_location * al) output_sample_callchain_entry() argument
[all...]
H A Ddlfilter.h35 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 Ddebug.c337 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 in __dump_stack()
[all...]
H A Dhist.c684 const struct addr_location *al, in hists__findnew_entry()
758 he_stat__add_cpumode_period(&he->stat, al->cpumode, period); in hists__findnew_entry()
760 he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); in hists__findnew_entry()
796 struct addr_location *al, in __hists__add_entry()
806 struct namespaces *ns = thread__namespaces(al->thread); in __hists__add_entry()
808 .thread = al->thread, in __hists__add_entry()
809 .comm = thread__comm(al->thread), in __hists__add_entry()
816 .thread = al->thread, in __hists__add_entry()
817 .map = al->map, in __hists__add_entry()
818 .sym = al in __hists__add_entry()
681 hists__findnew_entry(struct hists * hists,struct hist_entry * entry,const struct addr_location * al,bool sample_self) hists__findnew_entry() argument
793 __hists__add_entry(struct hists * hists,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct block_info * block_info,struct perf_sample * sample,bool sample_self,struct hist_entry_ops * ops) __hists__add_entry() argument
859 hists__add_entry(struct hists * hists,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct perf_sample * sample,bool sample_self) hists__add_entry() argument
873 hists__add_entry_ops(struct hists * hists,struct hist_entry_ops * ops,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct perf_sample * sample,bool sample_self) hists__add_entry_ops() argument
886 hists__add_entry_block(struct hists * hists,struct addr_location * al,struct block_info * block_info) hists__add_entry_block() argument
917 iter_prepare_mem_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_prepare_mem_entry() argument
931 iter_add_single_mem_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_add_single_mem_entry() argument
988 iter_prepare_branch_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_prepare_branch_entry() argument
1012 iter_next_branch_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_next_branch_entry() argument
1033 iter_add_next_branch_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_add_next_branch_entry() argument
1101 iter_add_single_normal_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_add_single_normal_entry() argument
1163 iter_add_single_cumulative_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_add_single_cumulative_entry() argument
1195 iter_next_cumulative_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_next_cumulative_entry() argument
1222 iter_add_next_cumulative_entry(struct hist_entry_iter * iter,struct addr_location * al) iter_add_next_cumulative_entry() argument
1332 hist_entry_iter__add(struct hist_entry_iter * iter,struct addr_location * al,int max_stack_depth,void * arg) hist_entry_iter__add() argument
2824 hist__account_cycles(struct branch_stack * bs,struct addr_location * al,struct perf_sample * sample,bool nonany_branch_mode,u64 * total_cycles,struct evsel * evsel) hist__account_cycles() argument
[all...]
/linux/tools/perf/ui/browsers/
H A Dannotate.c67 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 in annotate_browser__draw_current_jump()
283 disasm_rb_tree__insert(struct annotate_browser * browser,struct annotation_line * al) disasm_rb_tree__insert() argument
386 struct annotation_line *al; annotate_browser__find_new_asm_line() local
401 annotate_browser__find_next_asm_line(struct annotate_browser * browser,struct annotation_line * al) annotate_browser__find_next_asm_line() argument
424 struct annotation_line *al; annotation__has_source() local
449 struct annotation_line *al; annotate_browser__toggle_source() local
529 struct annotation_line *al = &cursor->al; annotate_browser__show_full_location() local
670 struct annotation_line *al = browser->selection; annotate_browser__find_string() local
688 struct annotation_line *al; __annotate_browser__search() local
707 struct annotation_line *al = browser->selection; annotate_browser__find_string_reverse() local
725 struct annotation_line *al; __annotate_browser__search_reverse() local
857 struct annotation_line *al = NULL; annotate_browser__curr_hot_offset() local
999 struct annotation_line *al = NULL; annotate_browser__run() local
1241 struct annotation_line *al = annotated_source__get_line(notes->src, __hist_entry__tui_annotate() local
[all...]
/linux/fs/ntfs3/
H A Dattrlist.c311 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le() local
318 old_size = al->size; in al_add_le()
325 off = PtrOffset(al->le, le); in al_add_le()
333 memcpy(ptr, al->le, off); in al_add_le()
336 kvfree(al->le); in al_add_le()
337 al->le = ptr; in al_add_le()
343 al->size = new_size; in al_add_le()
354 err = attr_set_size_ex(ni, ATTR_LIST, NULL, 0, &al->run, new_size, in al_add_le()
359 al->size = old_size; in al_add_le()
363 al->dirty = true; in al_add_le()
[all …]
/linux/arch/arm/lib/
H A Dlshrdi3.S33 #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 Dashrdi3.S33 #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 Dashldi3.S33 #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 Dal,alpine-smp2 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/arch/alpha/math-emu/
H A Dsfp-util.h8 #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/drivers/char/
H A Dtoshiba.c124 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 Dskip-callchain-idx.c214 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/tools/perf/tests/
H A Dhists_link.c69 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 in add_hist_entries()
[all...]
H A Dmmap-thread-lookup.c190 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/drivers/nvme/target/
H A Dfabrics-cmd-auth.c424 static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al) in nvmet_auth_challenge() argument
434 if (al < data_size) { in nvmet_auth_challenge()
436 al, data_size); in nvmet_auth_challenge()
464 static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al) in nvmet_auth_success1() argument
470 WARN_ON(al < sizeof(*data)); in nvmet_auth_success1()
491 static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al) in nvmet_auth_failure1() argument
495 WARN_ON(al < sizeof(*data)); in nvmet_auth_failure1()
506 u32 al = le32_to_cpu(req->cmd->auth_receive.al); in nvmet_auth_receive_data_len() local
515 return al; in nvmet_auth_receive_data_len()
526 if (al < min_len) in nvmet_auth_receive_data_len()
[all …]
/linux/arch/sh/math-emu/
H A Dsfp-util.h6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
9 __x = (al) + (bl); \
10 (sh) = (ah) + (bh) + (__x < (al)); \
14 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
17 __x = (al) - (bl); \
18 (sh) = (ah) - (bh) - (__x > (al)); \
/linux/arch/powerpc/include/asm/
H A Dsfp-machine.h216 #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)); \

123456789