/Linux-v5.4/kernel/ |
D | kallsyms.c | 165 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_name() 183 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() 264 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset() 288 namebuf[KSYM_NAME_LEN - 1] = 0; in kallsyms_lookup() 297 namebuf, KSYM_NAME_LEN); in kallsyms_lookup() 319 symname[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_name() 327 symname, KSYM_NAME_LEN); in lookup_symbol_name() 338 name[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_attrs() 346 name, KSYM_NAME_LEN); in lookup_symbol_attrs() 444 char name[KSYM_NAME_LEN];
|
D | fail_function.c | 248 if (count > KSYM_NAME_LEN) in fei_write() 249 count = KSYM_NAME_LEN; in fei_write()
|
D | module.c | 2774 KSYM_NAME_LEN) + 1; in add_kallsyms() 4125 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup() 4148 strlcpy(symname, sym, KSYM_NAME_LEN); in lookup_module_symbol_name() 4176 strlcpy(name, sym, KSYM_NAME_LEN); in lookup_module_symbol_attrs() 4203 strlcpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym()
|
D | kprobes.c | 1427 char symname[KSYM_NAME_LEN], *p; in within_kprobe_blacklist() 2363 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr()
|
/Linux-v5.4/tools/lib/symbol/ |
D | kallsyms.h | 9 #ifndef KSYM_NAME_LEN 10 #define KSYM_NAME_LEN 256 macro
|
D | kallsyms.c | 72 if (len >= KSYM_NAME_LEN) { in kallsyms__parse()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | code-patching.h | 139 char dot_name[1 + KSYM_NAME_LEN]; in ppc_kallsyms_lookup_name() 142 if (strnlen(name, KSYM_NAME_LEN) >= KSYM_NAME_LEN) in ppc_kallsyms_lookup_name()
|
/Linux-v5.4/samples/hw_breakpoint/ |
D | data_breakpoint.c | 26 static char ksym_name[KSYM_NAME_LEN] = "pid_max"; 27 module_param_string(ksym, ksym_name, KSYM_NAME_LEN, S_IRUGO);
|
/Linux-v5.4/arch/x86/kernel/ |
D | livepatch.c | 21 char secname[KSYM_NAME_LEN]; in arch_klp_init_object_loaded() 27 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 128); in arch_klp_init_object_loaded()
|
/Linux-v5.4/include/linux/ |
D | kallsyms.h | 17 #define KSYM_NAME_LEN 128 macro 18 #define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
|
/Linux-v5.4/tools/perf/util/ |
D | bpf-event.c | 245 KSYM_NAME_LEN, info, btf, i); in perf_event__synthesize_one_bpf_prog() 305 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events() 448 char name[KSYM_NAME_LEN]; in bpf_event__print_bpf_prog_info() 467 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, 0); in bpf_event__print_bpf_prog_info() 475 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, i); in bpf_event__print_bpf_prog_info()
|
/Linux-v5.4/tools/perf/lib/include/perf/ |
D | event.h | 85 #ifndef KSYM_NAME_LEN 86 #define KSYM_NAME_LEN 256 macro 95 char name[KSYM_NAME_LEN];
|
/Linux-v5.4/tools/include/linux/ |
D | kallsyms.h | 9 #define KSYM_NAME_LEN 128 macro
|
D | lockdep.h | 50 #define KSYM_NAME_LEN 128 macro
|
/Linux-v5.4/scripts/ |
D | kallsyms.c | 31 #define KSYM_NAME_LEN 128 macro 121 if (strlen(sym) >= KSYM_NAME_LEN) { in read_symbol() 124 sym, strlen(sym), KSYM_NAME_LEN); in read_symbol() 335 char buf[KSYM_NAME_LEN]; in write_src()
|
/Linux-v5.4/kernel/trace/ |
D | trace_event_perf.c | 250 func = kzalloc(KSYM_NAME_LEN, GFP_KERNEL); in perf_kprobe_init() 255 KSYM_NAME_LEN); in perf_kprobe_init() 256 if (ret == KSYM_NAME_LEN) in perf_kprobe_init()
|
/Linux-v5.4/drivers/power/reset/ |
D | syscon-poweroff.c | 37 char symname[KSYM_NAME_LEN]; in syscon_poweroff_probe()
|
D | qnap-poweroff.c | 78 char symname[KSYM_NAME_LEN]; in qnap_power_off_probe()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | kprobes.c | 74 char dot_name[MODULE_NAME_LEN + 1 + KSYM_NAME_LEN]; in kprobe_lookup_name() 91 ret = strscpy(dot_name + len, c, KSYM_NAME_LEN); in kprobe_lookup_name()
|
/Linux-v5.4/kernel/livepatch/ |
D | core.c | 197 char symname[KSYM_NAME_LEN]; in klp_resolve_symbols() 213 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 128); in klp_resolve_symbols() 692 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
|
/Linux-v5.4/kernel/locking/ |
D | lockdep_proc.c | 43 char str[KSYM_NAME_LEN]; in print_name() 433 char str[KSYM_NAME_LEN]; in seq_stats()
|
D | lockdep.c | 633 char str[KSYM_NAME_LEN]; in __print_lock_name() 663 char str[KSYM_NAME_LEN]; in print_lockdep_cache()
|
/Linux-v5.4/kernel/debug/kdb/ |
D | kdb_support.c | 172 static char ks_namebuf[KSYM_NAME_LEN+1], ks_namebuf_prev[KSYM_NAME_LEN+1];
|
/Linux-v5.4/kernel/time/ |
D | timer_list.c | 47 char symname[KSYM_NAME_LEN]; in print_name_offset()
|
/Linux-v5.4/kernel/bpf/ |
D | core.c | 542 const char *end = sym + KSYM_NAME_LEN; in bpf_get_prog_name() 555 sizeof(prog->aux->name) > KSYM_NAME_LEN); in bpf_get_prog_name() 557 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_"); in bpf_get_prog_name()
|