Searched refs:addrs (Results 1 – 4 of 4) sorted by relevance
/kernel/trace/ |
D | fprobe.c | 106 unsigned long *addrs; in get_ftrace_locations() local 109 addrs = kcalloc(num, sizeof(*addrs), GFP_KERNEL); in get_ftrace_locations() 110 if (!addrs) in get_ftrace_locations() 116 if (!ftrace_lookup_symbols(syms, num, addrs)) in get_ftrace_locations() 117 return addrs; in get_ftrace_locations() 119 kfree(addrs); in get_ftrace_locations() 250 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num) in register_fprobe_ips() argument 254 if (!fp || !addrs || num <= 0) in register_fprobe_ips() 259 ret = ftrace_set_filter_ips(&fp->ops, addrs, num, 0, 0); in register_fprobe_ips() 286 unsigned long *addrs; in register_fprobe_syms() local [all …]
|
D | bpf_trace.c | 2471 unsigned long *addrs; member 2548 kvfree(kmulti_link->addrs); in bpf_kprobe_multi_link_dealloc() 2564 cookie_a = link->cookies + (addr_a - link->addrs); in bpf_kprobe_multi_cookie_swap() 2565 cookie_b = link->cookies + (addr_b - link->addrs); in bpf_kprobe_multi_cookie_swap() 2600 addr = bsearch(&entry_ip, link->addrs, link->cnt, sizeof(entry_ip), in bpf_kprobe_multi_cookie() 2604 cookie = link->cookies + (addr - link->addrs); in bpf_kprobe_multi_cookie() 2685 static int addrs_check_error_injection_list(unsigned long *addrs, u32 cnt) in addrs_check_error_injection_list() argument 2690 if (!within_error_injection_list(addrs[i])) in addrs_check_error_injection_list() 2701 unsigned long *addrs; in bpf_kprobe_multi_link_attach() local 2719 uaddrs = u64_to_user_ptr(attr->link_create.kprobe_multi.addrs); in bpf_kprobe_multi_link_attach() [all …]
|
D | ftrace.c | 8297 unsigned long *addrs; member 8315 if (args->addrs[idx]) in kallsyms_callback() 8321 args->addrs[idx] = addr; in kallsyms_callback() 8342 int ftrace_lookup_symbols(const char **sorted_syms, size_t cnt, unsigned long *addrs) in ftrace_lookup_symbols() argument 8347 memset(addrs, 0, sizeof(*addrs) * cnt); in ftrace_lookup_symbols() 8348 args.addrs = addrs; in ftrace_lookup_symbols()
|
/kernel/kcsan/ |
D | debugfs.c | 44 unsigned long *addrs; /* array of addresses */ member 50 .addrs = NULL, 119 sort(report_filterlist.addrs, report_filterlist.used, in kcsan_skip_report_debugfs() 123 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs() 157 if (report_filterlist.addrs == NULL) { in insert_report_filterlist() 159 report_filterlist.addrs = in insert_report_filterlist() 162 if (report_filterlist.addrs == NULL) { in insert_report_filterlist() 170 krealloc(report_filterlist.addrs, in insert_report_filterlist() 180 report_filterlist.addrs = new_addrs; in insert_report_filterlist() 184 report_filterlist.addrs[report_filterlist.used++] = in insert_report_filterlist() [all …]
|