Home
last modified time | relevance | path

Searched refs:bpf_program__type (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dcustom_sec_handlers.c133 ASSERT_EQ(bpf_program__type(skel->progs.abc1), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc1_type"); in test_custom_sec_handlers()
136 ASSERT_EQ(bpf_program__type(skel->progs.abc2), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc2_type"); in test_custom_sec_handlers()
137 ASSERT_EQ(bpf_program__type(skel->progs.custom1), BPF_PROG_TYPE_TRACEPOINT, "custom1_type"); in test_custom_sec_handlers()
138 ASSERT_EQ(bpf_program__type(skel->progs.custom2), BPF_PROG_TYPE_TRACEPOINT, "custom2_type"); in test_custom_sec_handlers()
139 ASSERT_EQ(bpf_program__type(skel->progs.kprobe1), BPF_PROG_TYPE_TRACEPOINT, "kprobe1_type"); in test_custom_sec_handlers()
140 ASSERT_EQ(bpf_program__type(skel->progs.xyz), BPF_PROG_TYPE_SYSCALL, "xyz_type"); in test_custom_sec_handlers()
/linux-6.12.1/samples/bpf/
Dxdp_sample_user.h64 if (bpf_program__type(skel->progs.name) != BPF_PROG_TYPE_TRACING)\
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map323 bpf_program__type;
Dlibbpf.h879 LIBBPF_API enum bpf_prog_type bpf_program__type(const struct bpf_program *prog);
Dlibbpf.c9234 __alias(bpf_program__type)
9237 enum bpf_prog_type bpf_program__type(const struct bpf_program *prog) in bpf_program__type() function
/linux-6.12.1/tools/testing/selftests/bpf/
Dtesting_helpers.c305 if (type != BPF_PROG_TYPE_UNSPEC && bpf_program__type(prog) != type) in bpf_prog_test_load()
Dtest_loader.c1033 bpf_program__type(tprog) == BPF_PROG_TYPE_SYSCALL ? true : false); in run_subtest()
Dveristat.c938 if (bpf_program__type(prog) == BPF_PROG_TYPE_EXT) { in fixup_obj()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c578 switch (bpf_program__type(prog)) { in codegen_attach_detach()
Dprog.c1714 if (bpf_program__type(pos) != prog_type) in load_with_options()