Searched refs:bpf_program__type (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | custom_sec_handlers.c | 133 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/ |
D | xdp_sample_user.h | 64 if (bpf_program__type(skel->progs.name) != BPF_PROG_TYPE_TRACING)\
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 323 bpf_program__type;
|
D | libbpf.h | 879 LIBBPF_API enum bpf_prog_type bpf_program__type(const struct bpf_program *prog);
|
D | libbpf.c | 9234 __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/ |
D | testing_helpers.c | 305 if (type != BPF_PROG_TYPE_UNSPEC && bpf_program__type(prog) != type) in bpf_prog_test_load()
|
D | test_loader.c | 1033 bpf_program__type(tprog) == BPF_PROG_TYPE_SYSCALL ? true : false); in run_subtest()
|
D | veristat.c | 938 if (bpf_program__type(prog) == BPF_PROG_TYPE_EXT) { in fixup_obj()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | gen.c | 578 switch (bpf_program__type(prog)) { in codegen_attach_detach()
|
D | prog.c | 1714 if (bpf_program__type(pos) != prog_type) in load_with_options()
|