Home
last modified time | relevance | path

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

12

/linux-6.1.9/kernel/
Dkallsyms.c193 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_name()
221 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol()
302 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset()
319 namebuf[KSYM_NAME_LEN - 1] = 0; in kallsyms_lookup_buildid()
328 namebuf, KSYM_NAME_LEN); in kallsyms_lookup_buildid()
375 symname[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_name()
383 symname, KSYM_NAME_LEN); in lookup_symbol_name()
402 name[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_attrs()
410 name, KSYM_NAME_LEN); in lookup_symbol_attrs()
565 char name[KSYM_NAME_LEN];
Dfail_function.c248 if (count > KSYM_NAME_LEN) in fei_write()
249 count = KSYM_NAME_LEN; in fei_write()
Dkprobes.c324 strscpy(sym, c->sym, KSYM_NAME_LEN); in kprobe_cache_get_kallsym()
1402 char symname[KSYM_NAME_LEN], *p; in within_kprobe_blacklist()
2813 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr()
/linux-6.1.9/tools/lib/symbol/
Dkallsyms.h9 #ifndef KSYM_NAME_LEN
10 #define KSYM_NAME_LEN 512 macro
Dkallsyms.c52 char symbol_name[KSYM_NAME_LEN + 1]; in kallsyms__parse()
/linux-6.1.9/samples/hw_breakpoint/
Ddata_breakpoint.c26 static char ksym_name[KSYM_NAME_LEN] = "jiffies";
27 module_param_string(ksym, ksym_name, KSYM_NAME_LEN, S_IRUGO);
/linux-6.1.9/arch/powerpc/include/asm/
Dcode-patching.h193 char dot_name[1 + KSYM_NAME_LEN]; in ppc_kallsyms_lookup_name()
196 if (strnlen(name, KSYM_NAME_LEN) >= KSYM_NAME_LEN) in ppc_kallsyms_lookup_name()
/linux-6.1.9/samples/kprobes/
Dkretprobe_example.c28 static char func_name[KSYM_NAME_LEN] = "kernel_clone";
29 module_param_string(func, func_name, KSYM_NAME_LEN, 0644);
Dkprobe_example.c19 static char symbol[KSYM_NAME_LEN] = "kernel_clone";
20 module_param_string(symbol, symbol, KSYM_NAME_LEN, 0644);
/linux-6.1.9/tools/perf/util/
Dbpf-event.c322 KSYM_NAME_LEN, info, btf, i); in perf_event__synthesize_one_bpf_prog()
400 len = scnprintf(ksymbol->name, KSYM_NAME_LEN, "%s", name); in process_bpf_image()
413 char disp[KSYM_NAME_LEN]; in kallsyms_process_symbol()
453 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events()
615 char name[KSYM_NAME_LEN]; in bpf_event__print_bpf_prog_info()
634 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, 0); in bpf_event__print_bpf_prog_info()
642 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, i); in bpf_event__print_bpf_prog_info()
/linux-6.1.9/include/linux/
Dkallsyms.h18 #define KSYM_NAME_LEN 512 macro
20 (KSYM_NAME_LEN - 1) + \
/linux-6.1.9/scripts/
Dkallsyms.c34 #define KSYM_NAME_LEN 512 macro
45 KSYM_NAME_LEN_BUFFER == KSYM_NAME_LEN * 4,
228 if (strlen(name) >= KSYM_NAME_LEN) { in read_symbol()
231 name, strlen(name), KSYM_NAME_LEN); in read_symbol()
418 char buf[KSYM_NAME_LEN]; in write_src()
/linux-6.1.9/tools/include/linux/
Dkallsyms.h9 #define KSYM_NAME_LEN 512 macro
/linux-6.1.9/kernel/debug/kdb/
Dkdb_support.c86 static char namebuf[KSYM_NAME_LEN]; in kdbnearsym()
112 static char ks_namebuf[KSYM_NAME_LEN+1], ks_namebuf_prev[KSYM_NAME_LEN+1];
/linux-6.1.9/tools/lib/perf/include/perf/
Devent.h98 #ifndef KSYM_NAME_LEN
99 #define KSYM_NAME_LEN 512 macro
108 char name[KSYM_NAME_LEN];
/linux-6.1.9/kernel/module/
Dkallsyms.c354 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup()
377 strscpy(symname, sym, KSYM_NAME_LEN); in lookup_module_symbol_name()
405 strscpy(name, sym, KSYM_NAME_LEN); in lookup_module_symbol_attrs()
432 strscpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym()
/linux-6.1.9/kernel/trace/
Dtrace_event_perf.c254 func = kzalloc(KSYM_NAME_LEN, GFP_KERNEL); in perf_kprobe_init()
259 KSYM_NAME_LEN); in perf_kprobe_init()
260 if (ret == KSYM_NAME_LEN) in perf_kprobe_init()
Dbpf_trace.c2480 buf = kvmalloc_array(cnt, KSYM_NAME_LEN, GFP_KERNEL); in copy_user_syms()
2489 err = strncpy_from_user(p, (const char __user *) usymbol, KSYM_NAME_LEN); in copy_user_syms()
2490 if (err == KSYM_NAME_LEN) in copy_user_syms()
/linux-6.1.9/arch/powerpc/kernel/
Dkprobes.c77 char dot_name[MODULE_NAME_LEN + 1 + KSYM_NAME_LEN]; in kprobe_lookup_name()
94 ret = strscpy(dot_name + len, c, KSYM_NAME_LEN); in kprobe_lookup_name()
/linux-6.1.9/kernel/livepatch/
Dcore.c199 char sym_name[KSYM_NAME_LEN]; in klp_resolve_symbols()
216 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 512); in klp_resolve_symbols()
748 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
/linux-6.1.9/kernel/kcsan/
Ddebugfs.c226 char kbuf[KSYM_NAME_LEN]; in debugfs_write()
/linux-6.1.9/kernel/locking/
Dlockdep_proc.c62 char str[KSYM_NAME_LEN]; in print_name()
485 char str[KSYM_NAME_LEN]; in seq_stats()
/linux-6.1.9/drivers/misc/
Dkgdbts.c219 static char cached_arg[KSYM_NAME_LEN]; in lookup_addr()
223 strscpy(cached_arg, arg, KSYM_NAME_LEN); in lookup_addr()
/linux-6.1.9/net/netfilter/
Dnfnetlink_hook.c31 .len = KSYM_NAME_LEN, },
/linux-6.1.9/kernel/bpf/
Dcore.c557 const char *end = sym + KSYM_NAME_LEN; in bpf_prog_ksym_set_name()
570 sizeof(prog->aux->name) > KSYM_NAME_LEN); in bpf_prog_ksym_set_name()
572 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_"); in bpf_prog_ksym_set_name()
696 strncpy(sym, ksym->name, KSYM_NAME_LEN); in __bpf_address_lookup()
762 strncpy(sym, ksym->name, KSYM_NAME_LEN); in bpf_get_kallsym()

12