Home
last modified time | relevance | path

Searched refs:bpf_prog_type (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_stub.c10 int bpf_prog_test_load(const char *file, enum bpf_prog_type type, in bpf_prog_test_load()
25 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program()
Dtest_verifier.c112 enum bpf_prog_type prog_type;
497 static int create_prog_dummy_simple(enum bpf_prog_type prog_type, int ret) in create_prog_dummy_simple()
508 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, in create_prog_dummy_loop()
524 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array()
704 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup()
/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c10 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
45 void test_signal_pending(enum bpf_prog_type prog_type) in test_signal_pending()
Dbpf_verif_scale.c20 static int check_load(const char *file, enum bpf_prog_type type) in check_load()
38 enum bpf_prog_type attach_type;
Dsection_names.c11 enum bpf_prog_type prog_type;
166 enum bpf_prog_type prog_type; in test_prog_type_by_name()
Dsockopt_multi.c8 enum bpf_prog_type prog_type; in prog_attach()
37 enum bpf_prog_type prog_type; in prog_detach()
Dsockopt_inherit.c142 enum bpf_prog_type prog_type; in prog_attach()
Dalign.c20 enum bpf_prog_type prog_type;
Dflow_dissector_reattach.c42 static int load_prog(enum bpf_prog_type type) in load_prog()
/tools/lib/bpf/
Dlibbpf.h66 enum bpf_prog_type prog_type;
180 libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type,
439 LIBBPF_API enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog);
441 enum bpf_prog_type type);
565 enum bpf_prog_type prog_type;
574 LIBBPF_API int bpf_prog_load(const char *file, enum bpf_prog_type type,
755 LIBBPF_API bool bpf_probe_prog_type(enum bpf_prog_type prog_type,
759 enum bpf_prog_type prog_type, __u32 ifindex);
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()
Dbpf.h75 enum bpf_prog_type prog_type;
108 LIBBPF_API int bpf_load_program(enum bpf_prog_type type,
112 LIBBPF_API int bpf_verify_program(enum bpf_prog_type type,
Dlibbpf_internal.h254 enum bpf_prog_type prog_type;
Dbpf.c378 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_load_program()
397 int bpf_verify_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_verify_program()
Dlibbpf.c227 enum bpf_prog_type prog_type;
297 enum bpf_prog_type type;
7840 enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog) in bpf_program__get_type()
7845 void bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type) in bpf_program__set_type()
7851 enum bpf_prog_type type) in bpf_program__is_type()
8143 int libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in libbpf_prog_type_by_name()
8790 int bpf_prog_load(const char *file, enum bpf_prog_type type, in bpf_prog_load()
/tools/bpf/bpftool/
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()
Dprog.c1359 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in get_prog_type_by_name()
1379 enum bpf_prog_type common_prog_type = BPF_PROG_TYPE_UNSPEC; in load_with_options()
1521 enum bpf_prog_type prog_type = common_prog_type; in load_with_options()
/tools/include/uapi/linux/
Dbpf.h919 enum bpf_prog_type { enum