Home
last modified time | relevance | path

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

/linux/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/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1479 if (strcmp(prog->aux->attach_func_name, "test_prologue") && in st_ops_gen_prologue()
1480 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_prologue()
1505 if (strcmp(prog->aux->attach_func_name, "test_epilogue") && in st_ops_gen_epilogue()
1506 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_epilogue()
/linux/Documentation/bpf/
H A Ddrgn.rst149 .attach_func_name = (const char *)0x0,
/linux/kernel/bpf/
H A Dbpf_lsm.c119 const char *func_name = prog->aux->attach_func_name; in bpf_lsm_verify_prog()
H A Dsyscall.c4229 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
H A Dverifier.c24096 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
24576 prog->aux->attach_func_name = tgt_info.tgt_name; in check_attach_btf_id()
/linux/net/core/
H A Dbpf_sk_storage.c368 return !!strncmp(prog->aux->attach_func_name, "bpf_sk_storage", in bpf_sk_storage_tracing_allowed()
/linux/tools/lib/bpf/
H A Dlibbpf.c13274 const char *attach_func_name) in bpf_program__attach_freplace() argument
13278 if (!!target_fd != !!attach_func_name) { in bpf_program__attach_freplace()
13293 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd, prog->obj->token_fd); in bpf_program__attach_freplace()
14093 const char *attach_func_name) in bpf_program__set_attach_target() argument
14103 if (attach_prog_fd && !attach_func_name) { in bpf_program__set_attach_target()
14112 btf_id = libbpf_find_prog_btf_id(attach_func_name, in bpf_program__set_attach_target()
14117 if (!attach_func_name) in bpf_program__set_attach_target()
14124 err = find_kernel_btf_id(prog->obj, attach_func_name, in bpf_program__set_attach_target()
/linux/include/linux/
H A Dbpf.h1682 const char *attach_func_name; member