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.c1638 if (strcmp(prog->aux->attach_func_name, "test_prologue") &&
1639 strcmp(prog->aux->attach_func_name, "test_pro_epilogue"))
1664 if (strcmp(prog->aux->attach_func_name, "test_epilogue") && in st_ops_reg()
1665 strcmp(prog->aux->attach_func_name, "test_pro_epilogue"))
/linux/kernel/bpf/
H A Dbpf_iter.c339 const char *attach_fname = prog->aux->attach_func_name; in bpf_iter_prog_supported()
H A Dsyscall.c4265 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
H A Dbtf.c6840 const char *tname = prog->aux->attach_func_name; in btf_ctx_access()
H A Dverifier.c19030 prog->aux->attach_func_name = mname; in check_struct_ops_btf_id()
19574 prog->aux->attach_func_name = tgt_info.tgt_name; in check_attach_btf_id()
/linux/net/core/
H A Dbpf_sk_storage.c376 return !!strncmp(prog->aux->attach_func_name, "bpf_sk_storage", in bpf_sk_storage_tracing_allowed()
/linux/tools/lib/bpf/
H A Dlibbpf.c13485 const char *attach_func_name) in bpf_map__attach_struct_ops()
13489 if (!!target_fd != !!attach_func_name) { in bpf_map__attach_struct_ops()
13490 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n", in bpf_map__attach_struct_ops()
13504 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd, prog->obj->token_fd); in bpf_map__attach_struct_ops()
14304 const char *attach_func_name) in populate_skeleton_maps()
14314 if (attach_prog_fd && !attach_func_name) { in populate_skeleton_maps()
14323 btf_id = libbpf_find_prog_btf_id(attach_func_name, in populate_skeleton_maps()
14328 if (!attach_func_name) in populate_skeleton_progs()
14335 err = find_kernel_btf_id(prog->obj, attach_func_name, in populate_skeleton_progs()
13306 bpf_program__attach_freplace(const struct bpf_program * prog,int target_fd,const char * attach_func_name) bpf_program__attach_freplace() argument
14125 bpf_program__set_attach_target(struct bpf_program * prog,int attach_prog_fd,const char * attach_func_name) bpf_program__set_attach_target() argument
/linux/include/linux/
H A Dbpf.h1708 const char *attach_func_name; member