/linux-6.6.21/tools/bpf/bpftool/ |
D | feature.c | 517 probe_prog_load_ifindex(enum bpf_prog_type prog_type, in probe_prog_load_ifindex() 538 static bool probe_prog_type_ifindex(enum bpf_prog_type prog_type, __u32 ifindex) in probe_prog_type_ifindex() 551 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str, in probe_prog_type() 659 probe_helper_ifindex(enum bpf_func_id id, enum bpf_prog_type prog_type, in probe_helper_ifindex() 686 probe_helper_for_progtype(enum bpf_prog_type prog_type, bool supported_type, in probe_helper_for_progtype() 723 probe_helpers_for_progtype(enum bpf_prog_type prog_type, in probe_helpers_for_progtype() 938 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; in section_program_types() local 986 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 | 1443 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in get_prog_type_by_name() 1693 enum bpf_prog_type prog_type = common_prog_type; in load_with_options() local
|
/linux-6.6.21/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() 403 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 | 230 int bpf_prog_load(enum bpf_prog_type prog_type, in bpf_prog_load()
|
D | libbpf.c | 376 enum bpf_prog_type prog_type; member 8866 enum bpf_prog_type prog_type, in libbpf_register_prog_handler() 9042 int libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in libbpf_prog_type_by_name()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | section_names.c | 11 enum bpf_prog_type prog_type; member 166 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 95 enum bpf_prog_type prog_type; in test_libbpf_probe_helpers() member
|
D | align.c | 20 enum bpf_prog_type prog_type; member 605 int prog_type = test->prog_type; in do_test_single() 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 | libbpf_str.c | 180 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_bpf_prog_type_str() local
|
D | ctx_rewrite.c | 33 enum bpf_prog_type prog_type; member 732 enum bpf_prog_type prog_type; member
|
D | btf.c | 5607 __u32 prog_type; member
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_verifier.c | 145 enum bpf_prog_type prog_type; member 577 static int create_prog_dummy_simple(enum bpf_prog_type prog_type, int ret) in create_prog_dummy_simple() 587 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, in create_prog_dummy_loop() 602 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array() 1009 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup() 1558 int prog_len, prog_type = test->prog_type; in do_test_single() local
|
D | veristat.c | 823 enum bpf_prog_type *prog_type, in guess_prog_type_by_ctx_name() 837 enum bpf_prog_type prog_type; in guess_prog_type_by_ctx_name() member 906 enum bpf_prog_type prog_type; in fixup_obj() local
|
D | test_sockmap.c | 1800 int prog_type[] = { variable
|
D | test_offload.py | 210 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
|
/linux-6.6.21/include/linux/ |
D | btf.h | 528 static inline int register_btf_kfunc_id_set(enum bpf_prog_type prog_type, in register_btf_kfunc_id_set() 548 const struct btf_type *t, enum bpf_prog_type prog_type, in btf_get_prog_ctx_type() 554 enum bpf_prog_type prog_type) { in get_kern_ctx_btf_id()
|
/linux-6.6.21/drivers/hid/bpf/ |
D | hid_bpf_jmp_table.c | 352 int prog_type = HID_BPF_PROG_TYPE_UNDEF; in hid_bpf_get_prog_attach_type() local 397 __hid_bpf_attach_prog(struct hid_device *hdev, enum hid_bpf_prog_type prog_type, in __hid_bpf_attach_prog()
|
D | hid_bpf_dispatch.c | 247 int fd, err, prog_type; in do_hid_bpf_attach_prog() local
|
/linux-6.6.21/kernel/bpf/ |
D | btf.c | 5613 const struct btf_type *t, enum bpf_prog_type prog_type, in btf_get_prog_ctx_type() 5685 enum bpf_prog_type prog_type, in btf_translate_to_vmlinux() 5697 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type) in get_kern_ctx_btf_id() 6767 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in btf_check_func_arg_match() local 6956 enum bpf_prog_type prog_type = prog->type; in btf_prepare_func_args() local 7818 static int bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type) in bpf_prog_type_to_kfunc_hook() 7866 enum bpf_prog_type prog_type = resolve_prog_type(prog); in btf_kfunc_id_set_contains() local 7918 int register_btf_kfunc_id_set(enum bpf_prog_type prog_type, in register_btf_kfunc_id_set()
|
D | syscall.c | 2430 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, in bpf_prog_load_check_attach() 2531 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type) in is_net_admin_prog_type() 2562 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type) in is_perfmon_prog_type()
|
D | core.c | 2253 enum bpf_prog_type prog_type = resolve_prog_type(fp); in bpf_prog_map_compatible() local
|
D | verifier.c | 5461 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in may_access_direct_pkt_data() local 9935 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_helper_call() local 14912 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_return_code() local 17484 enum bpf_prog_type prog_type = resolve_prog_type(prog); in check_map_prog_compatibility() local 18855 enum bpf_prog_type prog_type = resolve_prog_type(prog); in do_misc_fixups() local
|