Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/samples/bpf/
Dxdp_sample_user.h64 if (bpf_program__type(skel->progs.name) != BPF_PROG_TYPE_TRACING)\
Dxdp_redirect_cpu_user.c72 if (bpf_program__type(pos) == BPF_PROG_TYPE_XDP) { in print_avail_progs()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map324 bpf_program__type;
Dlibbpf.h666 LIBBPF_API enum bpf_prog_type bpf_program__type(const struct bpf_program *prog);
Dlibbpf.c8370 __alias(bpf_program__type)
8373 enum bpf_prog_type bpf_program__type(const struct bpf_program *prog) in bpf_program__type() function
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c549 switch (bpf_program__type(prog)) { in codegen_attach_detach()