Home
last modified time | relevance | path

Searched refs:attach_func_name (Results 1 – 10 of 10) 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.c1846 if (strcmp(prog->aux->attach_func_name, "test_prologue") && in st_ops_gen_prologue()
1847 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_prologue()
1872 if (strcmp(prog->aux->attach_func_name, "test_epilogue") && in st_ops_gen_epilogue()
1873 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_epilogue()
/linux/kernel/bpf/
H A Dbpf_lsm.c123 const char *func_name = prog->aux->attach_func_name; in bpf_lsm_verify_prog()
H A Dbpf_iter.c339 const char *attach_fname = prog->aux->attach_func_name; in bpf_iter_prog_supported()
H A Dsyscall.c4319 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
H A Dbtf.c6853 const char *tname = prog->aux->attach_func_name; in btf_ctx_access()
H A Dverifier.c19669 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
20349 prog->aux->attach_func_name = tgt_info.tgt_name; in check_attach_btf_id()
/linux/net/core/
H A Dbpf_sk_storage.c374 return !!strncmp(prog->aux->attach_func_name, "bpf_sk_storage", in bpf_sk_storage_tracing_allowed()
/linux/tools/lib/bpf/
H A Dlibbpf.c13937 const char *attach_func_name) in bpf_program__attach_freplace() argument
13941 if (!!target_fd != !!attach_func_name) { in bpf_program__attach_freplace()
13956 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd, prog->obj->token_fd); in bpf_program__attach_freplace()
14756 const char *attach_func_name) in bpf_program__set_attach_target() argument
14766 if (attach_prog_fd && !attach_func_name) { in bpf_program__set_attach_target()
14775 btf_id = libbpf_find_prog_btf_id(attach_func_name, in bpf_program__set_attach_target()
14780 if (!attach_func_name) in bpf_program__set_attach_target()
14787 err = find_kernel_btf_id(prog->obj, attach_func_name, in bpf_program__set_attach_target()
/linux/include/linux/
H A Dbpf.h1794 const char *attach_func_name; member