/linux-6.12.1/tools/lib/symbol/ |
D | kallsyms.h | 9 #ifndef KSYM_NAME_LEN 10 #define KSYM_NAME_LEN 512 macro
|
D | kallsyms.c | 52 char symbol_name[KSYM_NAME_LEN + 1]; in kallsyms__parse()
|
/linux-6.12.1/kernel/ |
D | kallsyms.c | 180 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_names() 253 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() 346 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset() 363 namebuf[KSYM_NAME_LEN - 1] = 0; in kallsyms_lookup_buildid() 372 namebuf, KSYM_NAME_LEN); in kallsyms_lookup_buildid() 419 symname[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_name() 427 symname, KSYM_NAME_LEN); in lookup_symbol_name() 570 char name[KSYM_NAME_LEN];
|
D | fail_function.c | 245 if (count > KSYM_NAME_LEN) in fei_write() 246 count = KSYM_NAME_LEN; in fei_write()
|
D | kallsyms_selftest.c | 95 static char stub_name[KSYM_NAME_LEN]; 264 char namebuf[KSYM_NAME_LEN]; in test_kallsyms_basic_function()
|
/linux-6.12.1/samples/hw_breakpoint/ |
D | data_breakpoint.c | 26 static char ksym_name[KSYM_NAME_LEN] = "jiffies"; 27 module_param_string(ksym, ksym_name, KSYM_NAME_LEN, S_IRUGO);
|
/linux-6.12.1/tools/perf/util/ |
D | bpf-event.c | 259 KSYM_NAME_LEN, info, btf, i); in perf_event__synthesize_one_bpf_prog() 337 len = scnprintf(ksymbol->name, KSYM_NAME_LEN, "%s", name); in process_bpf_image() 350 char disp[KSYM_NAME_LEN]; in kallsyms_process_symbol() 393 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events() 555 char name[KSYM_NAME_LEN]; in __bpf_event__print_bpf_prog_info() 574 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, 0); in __bpf_event__print_bpf_prog_info() 582 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, i); in __bpf_event__print_bpf_prog_info()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | code-patching.h | 229 char dot_name[1 + KSYM_NAME_LEN]; in ppc_kallsyms_lookup_name() 232 if (strnlen(name, KSYM_NAME_LEN) >= KSYM_NAME_LEN) in ppc_kallsyms_lookup_name()
|
/linux-6.12.1/samples/kprobes/ |
D | kretprobe_example.c | 28 static char func_name[KSYM_NAME_LEN] = "kernel_clone"; 29 module_param_string(func, func_name, KSYM_NAME_LEN, 0644);
|
D | kprobe_example.c | 19 static char symbol[KSYM_NAME_LEN] = "kernel_clone"; 20 module_param_string(symbol, symbol, KSYM_NAME_LEN, 0644);
|
/linux-6.12.1/include/linux/ |
D | kallsyms.h | 18 #define KSYM_NAME_LEN 512 macro 20 (KSYM_NAME_LEN - 1) + \
|
/linux-6.12.1/kernel/debug/kdb/ |
D | kdb_support.c | 86 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.12.1/tools/lib/perf/include/perf/ |
D | event.h | 106 #ifndef KSYM_NAME_LEN 107 #define KSYM_NAME_LEN 512 macro 116 char name[KSYM_NAME_LEN];
|
/linux-6.12.1/tools/include/linux/ |
D | kallsyms.h | 9 #define KSYM_NAME_LEN 512 macro
|
/linux-6.12.1/scripts/ |
D | kallsyms.c | 34 #define KSYM_NAME_LEN 512 macro 152 if (len >= KSYM_NAME_LEN) { in read_symbol() 155 name, len, KSYM_NAME_LEN); in read_symbol() 357 char buf[KSYM_NAME_LEN]; in write_src()
|
/linux-6.12.1/kernel/module/ |
D | kallsyms.c | 351 ret = strscpy(namebuf, sym, KSYM_NAME_LEN); in module_address_lookup() 373 strscpy(symname, sym, KSYM_NAME_LEN); in lookup_module_symbol_name() 400 strscpy(name, kallsyms_symbol_name(kallsyms, symnum), KSYM_NAME_LEN); in module_get_kallsym()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | kprobes.c | 77 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.12.1/kernel/livepatch/ |
D | core.c | 198 char sym_name[KSYM_NAME_LEN]; in klp_resolve_symbols() 215 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 512); in klp_resolve_symbols() 781 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
|
/linux-6.12.1/kernel/kcsan/ |
D | debugfs.c | 226 char kbuf[KSYM_NAME_LEN]; in debugfs_write()
|
/linux-6.12.1/drivers/misc/ |
D | kgdbts.c | 219 static char cached_arg[KSYM_NAME_LEN]; in lookup_addr() 223 strscpy(cached_arg, arg, KSYM_NAME_LEN); in lookup_addr()
|
/linux-6.12.1/kernel/locking/ |
D | lockdep_proc.c | 62 char str[KSYM_NAME_LEN]; in print_name() 485 char str[KSYM_NAME_LEN]; in seq_stats()
|
/linux-6.12.1/lib/ |
D | codetag.c | 130 DECLARE_SEQ_BUF(sb, KSYM_NAME_LEN); in get_symbol()
|
/linux-6.12.1/kernel/bpf/ |
D | core.c | 586 const char *end = sym + KSYM_NAME_LEN; in bpf_prog_ksym_set_name() 599 sizeof(prog->aux->name) > KSYM_NAME_LEN); in bpf_prog_ksym_set_name() 601 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_"); in bpf_prog_ksym_set_name() 708 snprintf(fp->aux->ksym_prefix.name, KSYM_NAME_LEN, in bpf_prog_kallsyms_add() 751 ret = strscpy(sym, ksym->name, KSYM_NAME_LEN); in __bpf_address_lookup() 816 strscpy(sym, ksym->name, KSYM_NAME_LEN); in bpf_get_kallsym()
|
/linux-6.12.1/kernel/trace/ |
D | trace_event_perf.c | 255 KSYM_NAME_LEN); in perf_kprobe_init()
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_hook.c | 32 .len = KSYM_NAME_LEN, },
|