Home
last modified time | relevance | path

Searched defs:prog_type (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/tools/bpf/bpftool/
Dfeature.c513 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
Dmap.c495 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
Dprog.c1447 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/
Dlibbpf_probes.c103 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()
Dgen_loader.c935 enum bpf_prog_type prog_type, const char *prog_name, in bpf_gen__prog_load()
Dbpf.c236 int bpf_prog_load(enum bpf_prog_type prog_type, in bpf_prog_load()
Dlibbpf.c414 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/
Dsection_names.c11 enum bpf_prog_type prog_type; member
211 enum bpf_prog_type prog_type; in test_prog_type_by_name() local
Dlibbpf_probes.c28 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
Dalign.c21 enum bpf_prog_type prog_type; member
605 int prog_type = test->prog_type; in do_test_single() local
Dsockopt.c27 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
Dsignal_pending.c10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
Dctx_rewrite.c34 enum bpf_prog_type prog_type; member
634 enum bpf_prog_type prog_type; member
Dlibbpf_str.c187 enum bpf_prog_type prog_type = (enum bpf_prog_type)e->val; in test_libbpf_bpf_prog_type_str() local
Dbtf.c5670 __u32 prog_type; member
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_verifier.c147 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
Dveristat.c858 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/
Dbtf.h624 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/
Dtoken.c248 enum bpf_prog_type prog_type, in bpf_token_allow_prog_type()
Dbtf.c5852 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()
Dsyscall.c2476 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()
Dverifier.c5616 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
Dcore.c2303 enum bpf_prog_type prog_type = resolve_prog_type(fp); in bpf_prog_map_compatible() local
/linux-6.12.1/tools/testing/selftests/net/
Dbpf_offload.py217 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
/linux-6.12.1/include/uapi/linux/
Dbpf.h1532 __u32 prog_type; /* one of enum bpf_prog_type */ member

12