/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 | 40 enum symbol_type sym_get_type(struct symbol *sym) argument 42 enum symbol_type type = sym->type; 45 if (sym_is_choice_value(sym) && sym->visible == yes) 72 struct property *sym_get_choice_prop(struct symbol *sym) argument 76 for_all_choices(sym, prop) 81 static struct property *sym_get_default_prop(struct symbol *sym) argument 85 for_all_defaults(sym, prop) { 93 struct property *sym_get_range_prop(struct symbol *sym) argument 97 for_all_properties(sym, pro 105 sym_get_range_val(struct symbol *sym, int base) argument 121 sym_validate_range(struct symbol *sym) argument 153 sym_set_changed(struct symbol *sym) argument 166 struct symbol *sym; local 172 sym_calc_visibility(struct symbol *sym) argument 241 sym_choice_default(struct symbol *sym) argument 267 sym_calc_choice(struct symbol *sym) argument 299 sym_warn_unmet_dep(struct symbol *sym) argument 328 sym_calc_value(struct symbol *sym) argument 480 struct symbol *sym; local 488 sym_tristate_within_range(struct symbol *sym, tristate val) argument 507 sym_set_tristate_value(struct symbol *sym, tristate val) argument 543 sym_toggle_tristate_value(struct symbol *sym) argument 566 sym_string_valid(struct symbol *sym, const char *str) argument 609 sym_string_within_range(struct symbol *sym, const char *str) argument 651 sym_set_string_value(struct symbol *sym, const char *newval) argument 707 sym_get_string_default(struct symbol *sym) argument 779 sym_get_string_value(struct symbol *sym) argument 803 sym_is_changeable(struct symbol *sym) argument 879 struct symbol *sym; member in struct:sym_match 915 struct symbol *sym, **sym_arr = NULL; local 974 struct symbol *sym; member in struct:dep_stack 979 dep_stack_insert(struct dep_stack *stack, struct symbol *sym) argument 1004 struct symbol *sym, *next_sym; local 1092 struct symbol *sym; local 1125 sym_check_sym_deps(struct symbol *sym) argument 1175 struct symbol *sym, *sym2; local 1210 sym_check_deps(struct symbol *sym) argument [all...] |
H A D | internal.h | 11 #define for_all_symbols(sym) \ 12 hash_for_each(sym_hashtable, sym, node)
|
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 | confdata.c | 236 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) argument 240 switch (sym->type) { 243 sym->def[def].tri = mod; 244 sym->flags |= def_flags; 250 sym->def[def].tri = yes; 251 sym->flags |= def_flags; 255 sym->def[def].tri = no; 256 sym->flags |= def_flags; 261 p, sym->name); 283 if (sym_string_valid(sym, 325 struct symbol *sym; local 491 struct symbol *sym; local 636 __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, bool escape_string) argument 664 print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) argument 669 print_symbol_for_autoconf(FILE *fp, struct symbol *sym) argument 674 print_symbol_for_listconfig(struct symbol *sym) argument 679 print_symbol_for_c(FILE *fp, struct symbol *sym) argument 721 print_symbol_for_rustccfg(FILE *fp, struct symbol *sym) argument 786 struct symbol *sym; local 857 struct symbol *sym; local 1014 struct symbol *sym; local 1094 struct symbol *sym; local 1133 struct symbol *sym; local 1202 struct symbol *sym; local [all...] |
/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 | 86 #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] 87 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] 93 #define DECLARE_KVM_HYP_SYM(sym) \ 94 DECLARE_KVM_VHE_SYM(sym); \ 95 DECLARE_KVM_NVHE_SYM(sym) 97 #define DECLARE_KVM_VHE_PER_CPU(type, sym) \ 98 DECLARE_PER_CPU(type, sym) 99 #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...] |