Home
last modified time | relevance | path

Searched refs:syms (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v4.19/arch/riscv/kernel/vdso/
DMakefile4 vdso-syms = rt_sigreturn
5 vdso-syms += gettimeofday
6 vdso-syms += clock_gettime
7 vdso-syms += clock_getres
8 vdso-syms += getcpu
9 vdso-syms += flush_icache
12 obj-vdso = $(patsubst %, %.o, $(vdso-syms))
18 obj-y += vdso.o vdso-syms.o
41 LDFLAGS_vdso-syms.o := -r -R
42 $(obj)/vdso-syms.o: $(obj)/vdso-dummy.o FORCE
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtrace_helpers.c14 static struct ksym syms[MAX_SYMS]; variable
40 syms[i].addr = (long) addr; in load_kallsyms()
41 syms[i].name = strdup(func); in load_kallsyms()
45 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
57 result = key - syms[mid].addr; in ksym_search()
63 return &syms[mid]; in ksym_search()
66 if (start >= 1 && syms[start - 1].addr < key && in ksym_search()
67 key < syms[start].addr) in ksym_search()
69 return &syms[start - 1]; in ksym_search()
72 return &syms[0]; in ksym_search()
[all …]
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.h22 INT_BITS syms[NSYMS] = {}; in BITSFUNC() local
101 if (syms[k]) { in BITSFUNC()
112 syms[k] = GET_LE(&sym->st_value); in BITSFUNC()
119 INT_BITS symval = syms[special_pages[i]]; in BITSFUNC()
127 if (symval + 4096 < syms[sym_vvar_start]) in BITSFUNC()
134 if (syms[sym_vvar_start] % 4096) in BITSFUNC()
170 if (required_syms[i].export && syms[i]) in BITSFUNC()
172 required_syms[i].name, (int64_t)syms[i]); in BITSFUNC()
D.gitignore3 vdso32-syscall-syms.lds
4 vdso32-sysenter-syms.lds
5 vdso32-int80-syms.lds
/Linux-v4.19/arch/sparc/vdso/
Dvdso2c.h24 INT_BITS syms[NSYMS] = {}; in BITSFUNC() local
92 if (syms[k]) { in BITSFUNC()
103 syms[k] = GET_BE(&sym->st_value); in BITSFUNC()
109 if (syms[sym_vvar_start] % 8192) in BITSFUNC()
138 if (required_syms[i].export && syms[i]) in BITSFUNC()
140 required_syms[i].name, (int64_t)syms[i]); in BITSFUNC()
/Linux-v4.19/arch/arm/kernel/
Dmodule-plts.c139 static unsigned int count_plts(const Elf32_Sym *syms, Elf32_Addr base, in count_plts() argument
164 s = syms + ELF32_R_SYM(rel[i].r_info); in count_plts()
197 Elf32_Sym *syms = NULL; in module_frob_arch_sections() local
209 syms = (Elf32_Sym *)s->sh_addr; in module_frob_arch_sections()
216 if (!syms) { in module_frob_arch_sections()
237 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
240 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
/Linux-v4.19/arch/arm64/kernel/
Dmodule-plts.c112 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() argument
139 s = syms + ELF64_R_SYM(rela[i].r_info); in count_plts()
204 Elf64_Sym *syms = NULL; in module_frob_arch_sections() local
222 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
229 if (!syms) { in module_frob_arch_sections()
250 core_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()
253 init_plts += count_plts(syms, rels, numrels, in module_frob_arch_sections()
/Linux-v4.19/arch/ia64/kernel/
DMakefile.gate6 obj-y += gate-syms.o
22 LDFLAGS_gate-syms.o := -r -R
23 $(obj)/gate-syms.o: $(obj)/gate-dummy.o FORCE
/Linux-v4.19/arch/sh/kernel/vsyscall/
DMakefile2 obj-y += vsyscall.o vsyscall-syscall.o vsyscall-syms.o
35 LDFLAGS_vsyscall-syms.o := -r -R
36 $(obj)/vsyscall-syms.o: $(obj)/vsyscall-dummy.o FORCE
/Linux-v4.19/Documentation/
Ddontdiff234 vdso-syms.lds
236 vdso32-int80-syms.lds
237 vdso32-syms.lds
238 vdso32-syscall-syms.lds
239 vdso32-sysenter-syms.lds
/Linux-v4.19/tools/perf/util/
Dsrcline.c138 asymbol **syms; member
160 asymbol **syms; in slurp_symtab() local
174 syms = malloc(storage); in slurp_symtab()
176 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in slurp_symtab()
178 symcount = bfd_canonicalize_symtab(abfd, syms); in slurp_symtab()
181 free(syms); in slurp_symtab()
185 a2l->syms = syms; in slurp_symtab()
208 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma, in find_address_in_section()
256 zfree(&a2l->syms); in addr2line_cleanup()
Dsymbol-elf.c80 #define elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) \ argument
81 for (idx = 0, gelf_getsym(syms, idx, &sym);\
83 idx++, gelf_getsym(syms, idx, &sym))
253 Elf_Data *reldata, *syms, *symstrs; in dso__synthesize_plt_symbols() local
299 syms = elf_getdata(scn_dynsym, NULL); in dso__synthesize_plt_symbols()
300 if (syms == NULL) in dso__synthesize_plt_symbols()
342 gelf_getsym(syms, symidx, &sym); in dso__synthesize_plt_symbols()
368 gelf_getsym(syms, symidx, &sym); in dso__synthesize_plt_symbols()
918 Elf_Data *syms, *opddata = NULL; in dso__load_sym() local
964 syms = elf_getdata(sec, NULL); in dso__load_sym()
[all …]
Dparse-events.c2423 struct event_symbol *syms, unsigned max, in print_symbol_events() argument
2436 syms -= max; in print_symbol_events()
2439 for (i = 0; i < max; i++, syms++) { in print_symbol_events()
2441 if (event_glob != NULL && syms->symbol != NULL && in print_symbol_events()
2442 !(strglobmatch(syms->symbol, event_glob) || in print_symbol_events()
2443 (syms->alias && strglobmatch(syms->alias, event_glob)))) in print_symbol_events()
2454 if (!name_only && strlen(syms->alias)) in print_symbol_events()
2455 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms->symbol, syms->alias); in print_symbol_events()
2457 strncpy(name, syms->symbol, MAX_NAME_LEN); in print_symbol_events()
Dparse-events.h200 struct event_symbol *syms, unsigned max,
Dprobe-event.c2790 struct symbol **syms) in find_probe_functions() argument
2824 if (syms && found < probe_conf.max_probes) in find_probe_functions()
2825 syms[found - 1] = sym; in find_probe_functions()
2849 struct symbol **syms = NULL; in find_probe_trace_events_from_map() local
2863 syms = malloc(sizeof(struct symbol *) * probe_conf.max_probes); in find_probe_trace_events_from_map()
2864 if (!syms) { in find_probe_trace_events_from_map()
2873 num_matched_functions = find_probe_functions(map, pp->function, syms); in find_probe_trace_events_from_map()
2907 sym = syms[j]; in find_probe_trace_events_from_map()
2984 free(syms); in find_probe_trace_events_from_map()
/Linux-v4.19/arch/powerpc/kernel/
Dmodule_64.c309 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify() argument
314 if (syms[i].st_shndx == SHN_UNDEF) { in dedotify()
315 char *name = strtab + syms[i].st_name; in dedotify()
318 syms[i].st_shndx = SHN_ABS; in dedotify()
319 syms[i].st_name++; in dedotify()
330 Elf64_Sym *syms; in find_dot_toc() local
332 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc()
336 if (syms[i].st_shndx == SHN_ABS in find_dot_toc()
337 && strcmp(strtab + syms[i].st_name, "TOC.") == 0) in find_dot_toc()
338 return &syms[i]; in find_dot_toc()
/Linux-v4.19/kernel/
Dkexec_file.c958 const Elf_Sym *syms; in kexec_purgatory_find_symbol() local
976 syms = (void *)ehdr + sechdrs[i].sh_offset; in kexec_purgatory_find_symbol()
980 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
983 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol()
986 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol()
987 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()
989 name, syms[k].st_shndx); in kexec_purgatory_find_symbol()
994 return &syms[k]; in kexec_purgatory_find_symbol()
Dmodule.c407 bool (*fn)(const struct symsearch *syms, in each_symbol_in_section() argument
455 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in each_symbol_section()
498 static bool check_symbol(const struct symsearch *syms, in check_symbol() argument
505 if (syms->licence == GPL_ONLY) in check_symbol()
507 if (syms->licence == WILL_BE_GPL_ONLY && fsa->warn) { in check_symbol()
515 if (syms->unused && fsa->warn) { in check_symbol()
527 fsa->crc = symversion(syms->crcs, symnum); in check_symbol()
528 fsa->sym = &syms->start[symnum]; in check_symbol()
558 static bool find_symbol_in_section(const struct symsearch *syms, in find_symbol_in_section() argument
565 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_symbol_in_section()
[all …]
/Linux-v4.19/scripts/
Dmakelst20 t1=`$3 --syms $1 | grep .text | grep -m1 " F "`
/Linux-v4.19/arch/unicore32/mm/
DMakefile9 obj-$(CONFIG_MODULES) += proc-syms.o
/Linux-v4.19/tools/perf/tests/
Dhists_common.c74 struct fake_sym *syms; member
138 struct fake_sym *fsym = &fake_symbols[i].syms[k]; in setup_fake_machine()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal.c687 const __be64 *syms; in opal_export_symmap() local
695 syms = of_get_property(fw, "symbol-map", &size); in opal_export_symmap()
696 if (!syms || size != 2 * sizeof(__be64)) in opal_export_symmap()
700 bin_attr_symbol_map.private = __va(be64_to_cpu(syms[0])); in opal_export_symmap()
701 bin_attr_symbol_map.size = be64_to_cpu(syms[1]); in opal_export_symmap()
/Linux-v4.19/arch/arm/mm/
DMakefile18 obj-$(CONFIG_MODULES) += proc-syms.o
/Linux-v4.19/net/mac80211/
Drc80211_minstrel_ht.c31 #define MCS_SYMBOL_TIME(sgi, syms) \ argument
33 ((syms) * 18000 + 4000) / 5 : /* syms * 3.6 us */ \
34 ((syms) * 1000) << 2 /* syms * 4 us */ \
/Linux-v4.19/include/linux/
Dmodule.h347 const struct kernel_symbol *syms; member

12