Home
last modified time | relevance | path

Searched refs:KSYM_NAME_LEN (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/kernel/
Dkallsyms.c165 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];
Dfail_function.c248 if (count > KSYM_NAME_LEN) in fei_write()
249 count = KSYM_NAME_LEN; in fei_write()
Dmodule.c2774 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()
Dkprobes.c1427 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/
Dkallsyms.h9 #ifndef KSYM_NAME_LEN
10 #define KSYM_NAME_LEN 256 macro
Dkallsyms.c72 if (len >= KSYM_NAME_LEN) { in kallsyms__parse()
/Linux-v5.4/arch/powerpc/include/asm/
Dcode-patching.h139 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/
Ddata_breakpoint.c26 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/
Dlivepatch.c21 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/
Dkallsyms.h17 #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/
Dbpf-event.c245 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/
Devent.h85 #ifndef KSYM_NAME_LEN
86 #define KSYM_NAME_LEN 256 macro
95 char name[KSYM_NAME_LEN];
/Linux-v5.4/tools/include/linux/
Dkallsyms.h9 #define KSYM_NAME_LEN 128 macro
Dlockdep.h50 #define KSYM_NAME_LEN 128 macro
/Linux-v5.4/scripts/
Dkallsyms.c31 #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/
Dtrace_event_perf.c250 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/
Dsyscon-poweroff.c37 char symname[KSYM_NAME_LEN]; in syscon_poweroff_probe()
Dqnap-poweroff.c78 char symname[KSYM_NAME_LEN]; in qnap_power_off_probe()
/Linux-v5.4/arch/powerpc/kernel/
Dkprobes.c74 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/
Dcore.c197 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/
Dlockdep_proc.c43 char str[KSYM_NAME_LEN]; in print_name()
433 char str[KSYM_NAME_LEN]; in seq_stats()
Dlockdep.c633 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/
Dkdb_support.c172 static char ks_namebuf[KSYM_NAME_LEN+1], ks_namebuf_prev[KSYM_NAME_LEN+1];
/Linux-v5.4/kernel/time/
Dtimer_list.c47 char symname[KSYM_NAME_LEN]; in print_name_offset()
/Linux-v5.4/kernel/bpf/
Dcore.c542 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()

12