/linux-master/tools/virtio/linux/ |
H A D | export.h | 1 #define EXPORT_SYMBOL_GPL(sym) extern typeof(sym) sym 2 #define EXPORT_SYMBOL(sym) extern typeof(sym) sym
|
/linux-master/tools/include/linux/ |
H A D | export.h | 4 #define EXPORT_SYMBOL(sym) 5 #define EXPORT_SYMBOL_GPL(sym)
|
/linux-master/include/linux/ |
H A D | export.h | 18 #define __EXPORT_SYMBOL_REF(sym) \ 20 .quad sym 22 #define __EXPORT_SYMBOL_REF(sym) \ 24 .long sym 27 #define ___EXPORT_SYMBOL(sym, license, ns) \ 29 __export_symbol_##sym: ASM_NL \ 32 __EXPORT_SYMBOL_REF(sym) ASM_NL \ 42 #define __EXPORT_SYMBOL(sym, license, ns) 46 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym) [all...] |
H A D | export-internal.h | 20 #define __KSYM_REF(sym) ".long " #sym "- ." 23 #define __KSYM_REF(sym) ".quad " #sym 26 #define __KSYM_REF(sym) ".long " #sym 40 #define __KSYMTAB(name, sym, sec, ns) \ 50 __KSYM_REF(sym) "\n" \ 65 #define SYMBOL_CRC(sym, crc, sec) \ 66 asm(".section \"___kcrctab" sec "+" #sym "\",\" [all...] |
H A D | kbuild.h | 5 #define DEFINE(sym, val) \ 6 asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) 10 #define OFFSET(sym, str, mem) \ 11 DEFINE(sym, offsetof(struct str, mem))
|
/linux-master/rust/ |
H A D | exports.c | 16 #define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym)
|
/linux-master/arch/arm/include/asm/ |
H A D | ftrace.h | 62 static inline bool arch_syscall_match_sym_name(const char *sym, argument 65 if (!strcmp(sym, "sys_mmap2")) 66 sym = "sys_mmap_pgoff"; 67 else if (!strcmp(sym, "sys_statfs64_wrapper")) 68 sym = "sys_statfs64"; 69 else if (!strcmp(sym, "sys_fstatfs64_wrapper")) 70 sym = "sys_fstatfs64"; 71 else if (!strcmp(sym, "sys_arm_fadvise64_64")) 72 sym = "sys_fadvise64_64"; 74 /* Ignore case since sym ma [all...] |
H A D | insn.h | 13 #define LOAD_SYM_ARMV6(reg, sym) \ 14 " .globl " #sym " \n\t" \ 15 " .reloc 10f, R_ARM_ALU_PC_G0_NC, " #sym " \n\t" \ 16 " .reloc 11f, R_ARM_ALU_PC_G1_NC, " #sym " \n\t" \ 17 " .reloc 12f, R_ARM_LDR_PC_G2, " #sym " \n\t" \
|
/linux-master/tools/perf/util/ |
H A D | demangle-ocaml.c | 15 ocaml_is_mangled(const char *sym) argument 17 return 0 == strncmp(sym, caml_prefix, caml_prefix_len) 18 && isupper(sym[caml_prefix_len]); 23 * sym: a symbol which may have been mangled by the OCaml compiler 29 ocaml_demangle_sym(const char *sym) argument 36 if (!ocaml_is_mangled(sym)) { 40 len = strlen(sym); 51 if (sym[i] == '_' && sym[i + 1] == '_') { 56 else if (sym[ [all...] |
H A D | symbol_fprintf.c | 10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) argument 13 sym->start, sym->end, 14 sym->binding == STB_GLOBAL ? 'g' : 15 sym->binding == STB_LOCAL ? 'l' : 'w', 16 sym->name); 19 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, argument 27 if (sym) { 28 length = fprintf(fp, "%s", sym->name); 30 if (al->addr < sym 43 symbol__fprintf_symname_offs(const struct symbol *sym, const struct addr_location *al, FILE *fp) argument 50 __symbol__fprintf_symname(const struct symbol *sym, const struct addr_location *al, bool unknown_as_addr, FILE *fp) argument 57 symbol__fprintf_symname(const struct symbol *sym, FILE *fp) argument [all...] |
H A D | call-path.c | 15 struct symbol *sym, u64 ip, bool in_kernel) 18 cp->sym = sym; 19 cp->ip = sym ? 0 : ip; 51 struct symbol *sym, u64 ip, 72 call_path__init(cp, parent, sym, ip, in_kernel); 79 struct symbol *sym, u64 ip, u64 ks) 86 if (sym) 90 return call_path__new(cpr, parent, sym, ip, in_kernel); 97 if (cp->sym 14 call_path__init(struct call_path *cp, struct call_path *parent, struct symbol *sym, u64 ip, bool in_kernel) argument 49 call_path__new(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, bool in_kernel) argument 77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) argument [all...] |
/linux-master/scripts/kconfig/ |
H A D | symbol.c | 43 enum symbol_type sym_get_type(struct symbol *sym) argument 45 enum symbol_type type = sym->type; 48 if (sym_is_choice_value(sym) && sym->visible == yes) 75 struct property *sym_get_choice_prop(struct symbol *sym) argument 79 for_all_choices(sym, prop) 87 * @sym: a symbol pointer 91 struct menu *sym_get_choice_menu(struct symbol *sym) argument 100 list_for_each_entry(m, &sym->menus, link) 111 } while (menu && !menu->sym); 119 sym_get_default_prop(struct symbol *sym) argument 131 sym_get_range_prop(struct symbol *sym) argument 143 sym_get_range_val(struct symbol *sym, int base) argument 159 sym_validate_range(struct symbol *sym) argument 191 sym_set_changed(struct symbol *sym) argument 202 struct symbol *sym; local 208 sym_calc_visibility(struct symbol *sym) argument 277 sym_choice_default(struct symbol *sym) argument 303 sym_calc_choice(struct symbol *sym) argument 335 sym_warn_unmet_dep(struct symbol *sym) argument 364 sym_calc_value(struct symbol *sym) argument 515 struct symbol *sym; local 523 sym_tristate_within_range(struct symbol *sym, tristate val) argument 542 sym_set_tristate_value(struct symbol *sym, tristate val) argument 578 sym_toggle_tristate_value(struct symbol *sym) argument 601 sym_string_valid(struct symbol *sym, const char *str) argument 644 sym_string_within_range(struct symbol *sym, const char *str) argument 686 sym_set_string_value(struct symbol *sym, const char *newval) argument 742 sym_get_string_default(struct symbol *sym) argument 814 sym_get_string_value(struct symbol *sym) argument 837 sym_is_changeable(struct symbol *sym) argument 913 struct symbol *sym; member in struct:sym_match 949 struct symbol *sym, **sym_arr = NULL; local 1008 struct symbol *sym; member in struct:dep_stack 1013 dep_stack_insert(struct dep_stack *stack, struct symbol *sym) argument 1038 struct symbol *sym, *next_sym; local 1126 struct symbol *sym; local 1159 sym_check_sym_deps(struct symbol *sym) argument 1249 sym_check_deps(struct symbol *sym) argument [all...] |
H A D | lkc_proto.h | 23 void print_symbol_for_listconfig(struct symbol *sym); 26 void sym_calc_value(struct symbol *sym); 28 enum symbol_type sym_get_type(struct symbol *sym); 29 bool sym_tristate_within_range(struct symbol *sym,tristate tri); 30 bool sym_set_tristate_value(struct symbol *sym,tristate tri); 31 tristate sym_toggle_tristate_value(struct symbol *sym); 32 bool sym_string_valid(struct symbol *sym, const char *newval); 33 bool sym_string_within_range(struct symbol *sym, const char *str); 34 bool sym_set_string_value(struct symbol *sym, const char *newval); 35 bool sym_is_changeable(struct symbol *sym); [all...] |
H A D | internal.h | 11 #define for_all_symbols(sym) \ 12 hash_for_each(sym_hashtable, sym, node)
|
/linux-master/arch/x86/entry/ |
H A D | syscall_64.c | 10 #define __SYSCALL(nr, sym) extern long __x64_##sym(const struct pt_regs *); 19 #define __SYSCALL(nr, sym) __x64_##sym, 25 #define __SYSCALL(nr, sym) case nr: return __x64_##sym(regs);
|
H A D | syscall_x32.c | 10 #define __SYSCALL(nr, sym) extern long __x64_##sym(const struct pt_regs *); 14 #define __SYSCALL(nr, sym) case nr: return __x64_##sym(regs);
|
H A D | syscall_32.c | 16 #define __SYSCALL(nr, sym) extern long __ia32_##sym(const struct pt_regs *); 27 #define __SYSCALL(nr, sym) __ia32_##sym, 34 #define __SYSCALL(nr, sym) case nr: return __ia32_##sym(regs);
|
/linux-master/arch/x86/um/ |
H A D | sys_call_table_64.c | 21 #define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); 25 #define __SYSCALL(nr, sym) sym,
|
H A D | sys_call_table_32.c | 26 #define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); 30 #define __SYSCALL(nr, sym) sym,
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | sym-handling.c | 16 char *sym = syma->name; local 20 if (*sym == '.') 21 sym++; 25 if (strlen(sym) >= 3 && !strncmp(sym, "SyS", 3)) 27 if (strlen(sym) >= 10 && !strncmp(sym, "compat_SyS", 10)) 70 void arch__sym_update(struct symbol *s, GElf_Sym *sym) argument 72 s->arch_sym = sym->st_other; 80 struct symbol *sym) 78 arch__fix_tev_from_maps(struct perf_probe_event *pev, struct probe_trace_event *tev, struct map *map, struct symbol *sym) argument 123 struct symbol *sym = NULL; local [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | hyp_image.h | 18 #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym 20 #define kvm_nvhe_sym(sym) sym 61 #define KVM_NVHE_ALIAS(sym) kvm_nvhe_sym(sym) = sym;
|
H A D | kvm_asm.h | 84 #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] 85 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] 91 #define DECLARE_KVM_HYP_SYM(sym) \ 92 DECLARE_KVM_VHE_SYM(sym); \ 93 DECLARE_KVM_NVHE_SYM(sym) 95 #define DECLARE_KVM_VHE_PER_CPU(type, sym) \ 96 DECLARE_PER_CPU(type, sym) 97 #define DECLARE_KVM_NVHE_PER_CPU(type, sym) \ [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | stackcollapse.py | 72 def tidy_function_name(sym, dso): 73 if sym is None: 74 sym = '[unknown]' 76 sym = sym.replace(';', ':') 83 sym = sym.replace('<', '') 84 sym = sym.replace('>', '') 85 if sym[ [all...] |
/linux-master/tools/objtool/include/objtool/ |
H A D | warn.h | 22 struct symbol *sym = NULL; local 27 sym = find_func_containing(sec, offset); 28 if (!sym) 29 sym = find_symbol_containing(sec, offset); 31 if (sym) { 32 str = malloc(strlen(sym->name) + strlen(sec->name) + 40); 33 len = sprintf(str, "%s+0x%lx", sym->name, offset - sym->offset); 59 if (!_insn->sym || !_insn->sym [all...] |
/linux-master/tools/objtool/ |
H A D | elf.c | 107 const struct symbol *sym; member in struct:symbol_hole 123 sh->sym = s; 157 struct symbol *sym; local 159 elf_hash_for_each_possible(symbol, sym, hash, idx) { 160 if (sym->idx == idx) 161 return sym; 213 .sym = NULL, 228 if (!hole.sym) 231 /* @offset >= sym->offset + sym 256 struct symbol *sym; local 392 elf_add_symbol(struct elf *elf, struct symbol *sym) argument 436 struct symbol *sym, *pfunc; local 577 elf_update_sym_relocs(struct elf *elf, struct symbol *sym) argument 595 elf_update_symbol(struct elf *elf, struct section *symtab, struct section *symtab_shndx, struct symbol *sym) argument 726 __elf_create_symbol(struct elf *elf, struct symbol *sym) argument 794 struct symbol *sym = calloc(1, sizeof(*sym)); local 822 struct symbol *sym = calloc(1, sizeof(*sym)); local 848 elf_init_reloc(struct elf *elf, struct section *rsec, unsigned int reloc_idx, unsigned long offset, struct symbol *sym, s64 addend, unsigned int type) argument 890 struct symbol *sym = insn_sec->sym; local 917 elf_init_reloc_data_sym(struct elf *elf, struct section *sec, unsigned long offset, unsigned int reloc_idx, struct symbol *sym, s64 addend) argument 939 struct symbol *sym; local [all...] |