Searched refs:syms (Results 1 – 6 of 6) sorted by relevance
/kernel/trace/ |
D | fprobe.c | 104 static unsigned long *get_ftrace_locations(const char **syms, int num) in get_ftrace_locations() argument 114 sort(syms, num, sizeof(*syms), symbols_cmp, NULL); in get_ftrace_locations() 116 if (!ftrace_lookup_symbols(syms, num, addrs)) in get_ftrace_locations() 284 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) in register_fprobe_syms() argument 289 if (!fp || !syms || num <= 0) in register_fprobe_syms() 292 addrs = get_ftrace_locations(syms, num); in register_fprobe_syms()
|
D | bpf_trace.c | 2483 const char **syms; member 2490 const char **syms = NULL; in copy_user_syms() local 2495 syms = kvmalloc_array(cnt, sizeof(*syms), GFP_KERNEL); in copy_user_syms() 2496 if (!syms) in copy_user_syms() 2513 syms[i] = p; in copy_user_syms() 2517 us->syms = syms; in copy_user_syms() 2523 kvfree(syms); in copy_user_syms() 2531 kvfree(us->syms); in free_user_syms() 2720 usyms = u64_to_user_ptr(attr->link_create.kprobe_multi.syms); in bpf_kprobe_multi_link_attach() 2762 data.funcs = us.syms; in bpf_kprobe_multi_link_attach() [all …]
|
D | ftrace.c | 8298 const char **syms; member 8310 sym = bsearch(&name, args->syms, args->cnt, sizeof(*args->syms), symbols_cmp); in kallsyms_callback() 8314 idx = sym - args->syms; in kallsyms_callback() 8349 args.syms = sorted_syms; in ftrace_lookup_symbols()
|
/kernel/ |
D | kexec_file.c | 1048 const Elf_Sym *syms; in kexec_purgatory_find_symbol() local 1066 syms = (void *)ehdr + sechdrs[i].sh_offset; in kexec_purgatory_find_symbol() 1070 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol() 1073 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol() 1076 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol() 1077 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol() 1079 name, syms[k].st_shndx); in kexec_purgatory_find_symbol() 1084 return &syms[k]; in kexec_purgatory_find_symbol()
|
/kernel/module/ |
D | main.c | 275 static bool find_exported_symbol_in_section(const struct symsearch *syms, in find_exported_symbol_in_section() argument 281 if (!fsa->gplok && syms->license == GPL_ONLY) in find_exported_symbol_in_section() 284 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_exported_symbol_in_section() 290 fsa->crc = symversion(syms->crcs, sym - syms->start); in find_exported_symbol_in_section() 292 fsa->license = syms->license; in find_exported_symbol_in_section() 322 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in find_symbol() 1270 { mod->syms, mod->num_syms }, in verify_exported_symbols() 2050 mod->syms = section_objs(info, "__ksymtab", in find_module_sections() 2051 sizeof(*mod->syms), &mod->num_syms); in find_module_sections()
|
D | kallsyms.c | 31 ks = lookup_exported_symbol(name, mod->syms, mod->syms + mod->num_syms); in is_exported()
|