Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_stub.c8 int bpf_prog_test_load(const char *file, enum bpf_prog_type type, in bpf_prog_test_load()
22 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program()
Dtest_section_names.c13 enum bpf_prog_type prog_type;
152 enum bpf_prog_type prog_type; in test_prog_type_by_name()
Dtest_verifier.c99 enum bpf_prog_type prog_type;
411 static int create_prog_dummy1(enum bpf_prog_type prog_type) in create_prog_dummy1()
422 static int create_prog_dummy2(enum bpf_prog_type prog_type, int mfd, int idx) in create_prog_dummy2()
437 static int create_prog_array(enum bpf_prog_type prog_type, uint32_t max_elem, in create_prog_array()
617 static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type, in do_test_fixup()
Dtest_align.c39 enum bpf_prog_type prog_type;
/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c9 static void test_signal_pending_by_type(enum bpf_prog_type prog_type) in test_signal_pending_by_type()
44 void test_signal_pending(enum bpf_prog_type prog_type) in test_signal_pending()
Dbpf_verif_scale.c18 static int check_load(const char *file, enum bpf_prog_type type) in check_load()
36 enum bpf_prog_type attach_type;
Dsockopt_multi.c8 enum bpf_prog_type prog_type; in prog_attach()
37 enum bpf_prog_type prog_type; in prog_detach()
Dsockopt_sk.c137 enum bpf_prog_type prog_type; in prog_attach()
Dsockopt_inherit.c142 enum bpf_prog_type prog_type; in prog_attach()
/tools/lib/bpf/
Dlibbpf.h67 enum bpf_prog_type prog_type;
126 libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type,
266 enum bpf_prog_type type);
347 enum bpf_prog_type prog_type;
356 LIBBPF_API int bpf_prog_load(const char *file, enum bpf_prog_type type,
459 LIBBPF_API bool bpf_probe_prog_type(enum bpf_prog_type prog_type,
463 enum bpf_prog_type prog_type, __u32 ifindex);
Dbpf.h74 enum bpf_prog_type prog_type;
101 LIBBPF_API int bpf_load_program(enum bpf_prog_type type,
105 LIBBPF_API int bpf_verify_program(enum bpf_prog_type type,
Dlibbpf_probes.c68 probe_load(enum bpf_prog_type prog_type, const struct bpf_insn *insns, in probe_load()
120 bool bpf_probe_prog_type(enum bpf_prog_type prog_type, __u32 ifindex) in bpf_probe_prog_type()
296 bool bpf_probe_helper(enum bpf_func_id id, enum bpf_prog_type prog_type, in bpf_probe_helper()
Dbpf.c316 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_load_program()
335 int bpf_verify_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_verify_program()
Dlibbpf.c162 enum bpf_prog_type type;
3567 static bool bpf_prog_type__needs_kver(enum bpf_prog_type type) in bpf_prog_type__needs_kver()
4429 void bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type) in bpf_program__set_type()
4435 enum bpf_prog_type type) in bpf_program__is_type()
4491 enum bpf_prog_type prog_type;
4593 int libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type, in libbpf_prog_type_by_name()
4648 enum bpf_prog_type *prog_type, in bpf_program__identify_section()
4804 int bpf_prog_load(const char *file, enum bpf_prog_type type, in bpf_prog_load()
4823 enum bpf_prog_type prog_type; in bpf_prog_load_xattr()
/tools/bpf/bpftool/
Dfeature.c461 probe_prog_type(enum bpf_prog_type prog_type, bool *supported_types, in probe_prog_type()
523 probe_helpers_for_progtype(enum bpf_prog_type prog_type, bool supported_type, in probe_helpers_for_progtype()
Dprog.c1234 enum bpf_prog_type prog_type = open_attr.prog_type; in load_with_options()
/tools/include/uapi/linux/
Dbpf.h149 enum bpf_prog_type { enum