Searched refs:bpf_program__type (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/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.1.9/samples/bpf/ |
D | xdp_sample_user.h | 64 if (bpf_program__type(skel->progs.name) != BPF_PROG_TYPE_TRACING)\
|
D | xdp_redirect_cpu_user.c | 72 if (bpf_program__type(pos) == BPF_PROG_TYPE_XDP) { in print_avail_progs()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.map | 324 bpf_program__type;
|
D | libbpf.h | 666 LIBBPF_API enum bpf_prog_type bpf_program__type(const struct bpf_program *prog);
|
D | libbpf.c | 8370 __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/ |
D | gen.c | 549 switch (bpf_program__type(prog)) { in codegen_attach_detach()
|