Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
A Dlibbpf_probes.c68 probe_load(enum bpf_prog_type prog_type, const struct bpf_insn *insns, in probe_load()
129 bool bpf_probe_prog_type(enum bpf_prog_type prog_type, __u32 ifindex) in bpf_probe_prog_type()
313 bool bpf_probe_helper(enum bpf_func_id id, enum bpf_prog_type prog_type, in bpf_probe_helper()
A Dlibbpf.h66 enum bpf_prog_type prog_type; member
670 enum bpf_prog_type prog_type; member
A Dbpf.h75 enum bpf_prog_type prog_type; member
A Dlibbpf_internal.h280 enum bpf_prog_type prog_type; member
A Dlibbpf.c251 enum bpf_prog_type prog_type; member
8460 int libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in libbpf_prog_type_by_name()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsection_names.c11 enum bpf_prog_type prog_type; member
166 enum bpf_prog_type prog_type; in test_prog_type_by_name() local
A Dsockopt_multi.c8 enum bpf_prog_type prog_type; in prog_attach() local
37 enum bpf_prog_type prog_type; in prog_detach() local
A Dalign.c20 enum bpf_prog_type prog_type; member
595 int prog_type = test->prog_type; in do_test_single() local
A Dsignal_pending.c10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
A Dsockopt_inherit.c142 enum bpf_prog_type prog_type; in prog_attach() local
A Dbtf.c5370 __u32 prog_type; member
/linux/tools/testing/selftests/bpf/
A Dtest_verifier.c110 enum bpf_prog_type prog_type; member
495 static int create_prog_dummy_simple(enum bpf_prog_type prog_type, int ret) in create_prog_dummy_simple()
506 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, in create_prog_dummy_loop()
522 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array()
737 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup()
1090 int prog_len, prog_type = test->prog_type; in do_test_single() local
A Dtest_sockmap.c1743 int prog_type[] = { variable
A Dtest_offload.py210 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
/linux/tools/bpf/bpftool/
A Dfeature.c482 probe_prog_type(enum bpf_prog_type prog_type, bool *supported_types, in probe_prog_type()
563 probe_helper_for_progtype(enum bpf_prog_type prog_type, bool supported_type, in probe_helper_for_progtype()
595 probe_helpers_for_progtype(enum bpf_prog_type prog_type, bool supported_type, in probe_helpers_for_progtype()
A Dmap.c514 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_json() local
598 unsigned int prog_type = atoi(owner_prog_type); in show_map_close_plain() local
A Dprog.c1366 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in get_prog_type_by_name()
1528 enum bpf_prog_type prog_type = common_prog_type; in load_with_options() local
/linux/kernel/bpf/
A Dsyscall.c2054 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, in bpf_prog_load_check_attach()
2151 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type) in is_net_admin_prog_type()
2182 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type) in is_perfmon_prog_type()
A Dbtf.c4557 const struct btf_type *t, enum bpf_prog_type prog_type, in btf_get_prog_ctx_type()
4651 enum bpf_prog_type prog_type, in btf_translate_to_vmlinux()
5756 enum bpf_prog_type prog_type = prog->type; in btf_prepare_func_args() local
A Dverifier.c3474 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in may_access_direct_pkt_data() local
9561 enum bpf_prog_type prog_type = resolve_prog_type(env->prog); in check_return_code() local
11621 enum bpf_prog_type prog_type = resolve_prog_type(prog); in check_map_prog_compatibility() local
12888 enum bpf_prog_type prog_type = resolve_prog_type(prog); in do_misc_fixups() local
/linux/tools/include/uapi/linux/
A Dbpf.h1315 __u32 prog_type; /* one of enum bpf_prog_type */ member
/linux/include/uapi/linux/
A Dbpf.h1315 __u32 prog_type; /* one of enum bpf_prog_type */ member

Completed in 120 milliseconds