/linux-5.19.10/kernel/ |
D | kallsyms.c | 212 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_name() 240 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() 321 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset() 338 namebuf[KSYM_NAME_LEN - 1] = 0; in kallsyms_lookup_buildid() 347 namebuf, KSYM_NAME_LEN); in kallsyms_lookup_buildid() 394 symname[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_name() 402 symname, KSYM_NAME_LEN); in lookup_symbol_name() 421 name[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_attrs() 429 name, KSYM_NAME_LEN); in lookup_symbol_attrs() 584 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 | kprobes.c | 324 strscpy(sym, c->sym, KSYM_NAME_LEN); in kprobe_cache_get_kallsym() 1402 char symname[KSYM_NAME_LEN], *p; in within_kprobe_blacklist() 2804 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr()
|
/linux-5.19.10/tools/lib/symbol/ |
D | kallsyms.h | 9 #ifndef KSYM_NAME_LEN 10 #define KSYM_NAME_LEN 256 macro
|
D | kallsyms.c | 52 char symbol_name[KSYM_NAME_LEN + 1]; in kallsyms__parse()
|
/linux-5.19.10/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-5.19.10/arch/powerpc/include/asm/ |
D | code-patching.h | 193 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-5.19.10/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-5.19.10/tools/perf/util/ |
D | bpf-event.c | 317 KSYM_NAME_LEN, info, btf, i); in perf_event__synthesize_one_bpf_prog() 395 len = scnprintf(ksymbol->name, KSYM_NAME_LEN, "%s", name); in process_bpf_image() 408 char disp[KSYM_NAME_LEN]; in kallsyms_process_symbol() 448 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events() 610 char name[KSYM_NAME_LEN]; in bpf_event__print_bpf_prog_info() 629 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, 0); in bpf_event__print_bpf_prog_info() 637 synthesize_bpf_prog_name(name, KSYM_NAME_LEN, info, btf, i); in bpf_event__print_bpf_prog_info()
|
/linux-5.19.10/include/linux/ |
D | kallsyms.h | 18 #define KSYM_NAME_LEN 128 macro 20 (KSYM_NAME_LEN - 1) + \
|
/linux-5.19.10/tools/lib/perf/include/perf/ |
D | event.h | 97 #ifndef KSYM_NAME_LEN 98 #define KSYM_NAME_LEN 256 macro 107 char name[KSYM_NAME_LEN];
|
/linux-5.19.10/tools/include/linux/ |
D | kallsyms.h | 9 #define KSYM_NAME_LEN 128 macro
|
/linux-5.19.10/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-5.19.10/scripts/ |
D | kallsyms.c | 30 #define KSYM_NAME_LEN 128 macro 213 if (strlen(name) >= KSYM_NAME_LEN) { in read_symbol() 216 name, strlen(name), KSYM_NAME_LEN); in read_symbol() 393 char buf[KSYM_NAME_LEN]; in write_src()
|
/linux-5.19.10/kernel/module/ |
D | kallsyms.c | 354 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-5.19.10/kernel/trace/ |
D | trace_event_perf.c | 254 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()
|
/linux-5.19.10/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-5.19.10/kernel/livepatch/ |
D | core.c | 199 char sym_name[KSYM_NAME_LEN]; in klp_resolve_symbols() 216 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 128); in klp_resolve_symbols() 730 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
|
/linux-5.19.10/kernel/kcsan/ |
D | debugfs.c | 226 char kbuf[KSYM_NAME_LEN]; in debugfs_write()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/net/netfilter/ |
D | nfnetlink_hook.c | 31 .len = KSYM_NAME_LEN, },
|
/linux-5.19.10/kernel/bpf/ |
D | core.c | 554 const char *end = sym + KSYM_NAME_LEN; in bpf_prog_ksym_set_name() 567 sizeof(prog->aux->name) > KSYM_NAME_LEN); in bpf_prog_ksym_set_name() 569 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_"); in bpf_prog_ksym_set_name() 693 strncpy(sym, ksym->name, KSYM_NAME_LEN); in __bpf_address_lookup() 759 strncpy(sym, ksym->name, KSYM_NAME_LEN); in bpf_get_kallsym()
|
D | trampoline.c | 319 snprintf(ksym->name, KSYM_NAME_LEN, "bpf_trampoline_%llu_%u", key, idx); in bpf_tramp_image_alloc()
|