Home
last modified time | relevance | path

Searched refs:attach_func_name (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/kernel/bpf/preload/iterators/
H A Diterators.bpf.c43 const char *attach_func_name; member
115 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1396 if (strcmp(prog->aux->attach_func_name, "test_prologue") && in st_ops_gen_prologue()
1397 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_prologue()
1422 if (strcmp(prog->aux->attach_func_name, "test_epilogue") && in st_ops_gen_epilogue()
1423 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_epilogue()
/linux-6.15/tools/lib/bpf/
H A Dlibbpf.h833 int target_fd, const char *attach_func_name);
956 const char *attach_func_name);
H A Dlibbpf.c12907 const char *attach_func_name) in bpf_program__attach_freplace() argument
12911 if (!!target_fd != !!attach_func_name) { in bpf_program__attach_freplace()
12926 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd, prog->obj->token_fd); in bpf_program__attach_freplace()
13727 const char *attach_func_name) in bpf_program__set_attach_target() argument
13737 if (attach_prog_fd && !attach_func_name) { in bpf_program__set_attach_target()
13746 btf_id = libbpf_find_prog_btf_id(attach_func_name, in bpf_program__set_attach_target()
13751 if (!attach_func_name) in bpf_program__set_attach_target()
13758 err = find_kernel_btf_id(prog->obj, attach_func_name, in bpf_program__set_attach_target()
/linux-6.15/Documentation/bpf/
H A Ddrgn.rst149 .attach_func_name = (const char *)0x0,
/linux-6.15/kernel/bpf/
H A Dbpf_lsm.c118 const char *func_name = prog->aux->attach_func_name; in bpf_lsm_verify_prog()
H A Dbpf_iter.c340 const char *attach_fname = prog->aux->attach_func_name; in bpf_iter_prog_supported()
H A Dsyscall.c3969 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
H A Dbtf.c6661 const char *tname = prog->aux->attach_func_name; in btf_ctx_access()
H A Dverifier.c23010 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
23489 prog->aux->attach_func_name = tgt_info.tgt_name; in check_attach_btf_id()
/linux-6.15/net/core/
H A Dbpf_sk_storage.c372 return !!strncmp(prog->aux->attach_func_name, "bpf_sk_storage", in bpf_sk_storage_tracing_allowed()
/linux-6.15/include/linux/
H A Dbpf.h1568 const char *attach_func_name; member