/linux-6.12.1/tools/bpf/bpftool/ |
D | feature.c | 513 probe_prog_load_ifindex(enum bpf_prog_type prog_type, in probe_prog_load_ifindex() 534 static bool probe_prog_type_ifindex(enum bpf_prog_type prog_type, __u32 ifindex) in probe_prog_type_ifindex() 547 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str, in probe_prog_type() 655 probe_helper_ifindex(enum bpf_func_id id, enum bpf_prog_type prog_type, in probe_helper_ifindex() 683 probe_helper_for_progtype(enum bpf_prog_type prog_type, bool supported_type, in probe_helper_for_progtype() 720 probe_helpers_for_progtype(enum bpf_prog_type prog_type, in probe_helpers_for_progtype() 935 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; in section_program_types() local 983 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; in section_helpers() local
|
D | map.c | 495 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_json() local 584 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_plain() local
|
D | prog.c | 1447 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in get_prog_type_by_name() 1697 enum bpf_prog_type prog_type = common_prog_type; in load_with_options() local
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf_probes.c | 103 static int probe_prog_load(enum bpf_prog_type prog_type, in probe_prog_load() 205 int libbpf_probe_bpf_prog_type(enum bpf_prog_type prog_type, const void *opts) in libbpf_probe_bpf_prog_type() 416 int libbpf_probe_bpf_helper(enum bpf_prog_type prog_type, enum bpf_func_id helper_id, in libbpf_probe_bpf_helper()
|
D | gen_loader.c | 935 enum bpf_prog_type prog_type, const char *prog_name, in bpf_gen__prog_load()
|
D | bpf.c | 236 int bpf_prog_load(enum bpf_prog_type prog_type, in bpf_prog_load()
|
D | libbpf.c | 414 enum bpf_prog_type prog_type; member 6685 enum bpf_prog_type prog_type; member 9463 enum bpf_prog_type prog_type, in libbpf_register_prog_handler() 9639 int libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in libbpf_prog_type_by_name()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | section_names.c | 11 enum bpf_prog_type prog_type; member 211 enum bpf_prog_type prog_type; in test_prog_type_by_name() local
|
D | libbpf_probes.c | 28 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_probe_prog_types() local 99 enum bpf_prog_type prog_type; in test_libbpf_probe_helpers() member
|
D | align.c | 21 enum bpf_prog_type prog_type; member 605 int prog_type = test->prog_type; in do_test_single() local
|
D | sockopt.c | 27 enum bpf_prog_type prog_type; member 965 enum bpf_prog_type prog_type, in load_prog() 1074 int prog_type = BPF_PROG_TYPE_CGROUP_SOCKOPT; in run_test() local
|
D | signal_pending.c | 10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
|
D | ctx_rewrite.c | 34 enum bpf_prog_type prog_type; member 634 enum bpf_prog_type prog_type; member
|
D | libbpf_str.c | 187 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_bpf_prog_type_str() local
|
D | btf.c | 5670 __u32 prog_type; member
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_verifier.c | 147 enum bpf_prog_type prog_type; member 579 static int create_prog_dummy_simple(enum bpf_prog_type prog_type, int ret) in create_prog_dummy_simple() 589 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, in create_prog_dummy_loop() 604 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array() 1011 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup() 1512 int prog_len, prog_type = test->prog_type; in do_test_single() local
|
D | veristat.c | 858 enum bpf_prog_type *prog_type, in guess_prog_type_by_ctx_name() 872 enum bpf_prog_type prog_type; in guess_prog_type_by_ctx_name() member 941 enum bpf_prog_type prog_type; in fixup_obj() local
|
/linux-6.12.1/include/linux/ |
D | btf.h | 624 static inline int register_btf_kfunc_id_set(enum bpf_prog_type prog_type, in register_btf_kfunc_id_set() 644 const struct btf_type *t, enum bpf_prog_type prog_type, in btf_is_prog_ctx_type() 650 enum bpf_prog_type prog_type) { in get_kern_ctx_btf_id()
|
/linux-6.12.1/kernel/bpf/ |
D | token.c | 248 enum bpf_prog_type prog_type, in bpf_token_allow_prog_type()
|
D | btf.c | 5852 static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type) in find_canonical_prog_ctx_type() 5868 static int find_kern_ctx_type_id(enum bpf_prog_type prog_type) in find_kern_ctx_type_id() 5894 const struct btf_type *t, enum bpf_prog_type prog_type, in btf_is_prog_ctx_type() 5981 enum bpf_prog_type prog_type, in btf_validate_prog_ctx_type() 6116 enum bpf_prog_type prog_type, in btf_translate_to_vmlinux() 6124 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type) in get_kern_ctx_btf_id() 7368 enum bpf_prog_type prog_type = prog->type; in btf_prepare_func_args() local 8356 static int bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type) in bpf_prog_type_to_kfunc_hook() 8412 enum bpf_prog_type prog_type = resolve_prog_type(prog); in btf_kfunc_id_set_contains() local 8457 int register_btf_kfunc_id_set(enum bpf_prog_type prog_type, in register_btf_kfunc_id_set()
|
D | syscall.c | 2476 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, in bpf_prog_load_check_attach() 2582 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type) in is_net_admin_prog_type() 2613 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type) in is_perfmon_prog_type()
|
D | verifier.c | 5616 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in may_access_direct_pkt_data() local 10428 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_helper_call() local 11904 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_css_task_iter_allowlist() local 15808 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_return_code() local 18843 enum bpf_prog_type prog_type = resolve_prog_type(prog); in check_map_prog_compatibility() local 20444 enum bpf_prog_type prog_type = resolve_prog_type(prog); in do_misc_fixups() local
|
D | core.c | 2303 enum bpf_prog_type prog_type = resolve_prog_type(fp); in bpf_prog_map_compatible() local
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | bpf_offload.py | 217 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
|
/linux-6.12.1/include/uapi/linux/ |
D | bpf.h | 1532 __u32 prog_type; /* one of enum bpf_prog_type */ member
|