/tools/testing/selftests/bpf/prog_tests/ |
A D | custom_sec_handlers.c | 13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog() 21 static int custom_prepare_load_prog(struct bpf_program *prog, in custom_prepare_load_prog() 32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
|
A D | recursive_attach.c | 40 struct bpf_program *prog; in test_recursive_fentry_chain() local 117 struct bpf_program *prog; in test_fentry_attach_btf_presence() local 174 struct bpf_program *prog; in test_fentry_attach_stress() local
|
A D | tailcalls.c | 20 struct bpf_program *prog; in test_tailcall_1() local 156 struct bpf_program *prog; in test_tailcall_2() local 235 struct bpf_program *prog; in test_tailcall_count() local 416 struct bpf_program *prog; in test_tailcall_4() local 506 struct bpf_program *prog; in test_tailcall_5() local 596 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() local 680 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() local 760 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() local 855 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() local 1019 struct bpf_program *prog; in test_tailcall_bpf2bpf_fentry_entry() local [all …]
|
A D | check_mtu.c | 44 struct bpf_program *prog; in test_check_mtu_xdp_attach() local 79 struct bpf_program *prog, in test_check_mtu_run_xdp() 132 struct bpf_program *prog, in test_check_mtu_run_tc()
|
A D | parse_tcp_hdr_opt.c | 31 struct bpf_program *prog; in test_parse_opt() local 61 struct bpf_program *prog; in test_parse_opt_dynptr() local
|
A D | trampoline_count.c | 13 struct bpf_program *prog; in load_prog() local 39 struct bpf_program *prog; in serial_test_trampoline_count() local
|
A D | xdp_adjust_tail.c | 153 struct bpf_program *prog; in test_xdp_adjust_frags_tail_shrink() local 220 struct bpf_program *prog; in test_xdp_adjust_frags_tail_grow_4k() local 291 struct bpf_program *prog; in test_xdp_adjust_frags_tail_grow_64k() local
|
A D | rcu_read_lock.c | 92 struct bpf_program *prog; in test_inproper_region() local 119 struct bpf_program *prog; in test_rcuptr_misuse() local
|
A D | task_kfunc.c | 39 struct bpf_program *prog; in run_success_test() local 74 struct bpf_program *prog; in run_vpid_test() local
|
A D | test_overhead.c | 18 static int test_task_rename(const char *prog) in test_task_rename() 42 static void test_run(const char *prog) in test_run()
|
A D | fexit_bpf2bpf.c | 66 struct bpf_program **prog = NULL, *p; in test_fexit_bpf2bpf_common() local 233 struct bpf_program *prog = NULL; in test_second_attach() local 291 struct bpf_program *prog; in test_fmod_ret_freplace() local 359 struct bpf_program *prog; in test_obj_load_failure_common() local
|
A D | sockmap_helpers.h | 37 #define xbpf_prog_attach(prog, target, type, flags) \ argument 46 #define xbpf_prog_detach2(prog, target, type) \ argument
|
A D | flow_dissector_load_bytes.c | 8 struct bpf_insn prog[] = { in serial_test_flow_dissector_load_bytes() local
|
A D | helper_restricted.c | 21 struct bpf_program *prog = *test->skeleton->progs[j].prog; in test_helper_restricted() local
|
A D | test_skb_pkt_end.c | 7 static int sanity_run(struct bpf_program *prog) in sanity_run()
|
A D | kfunc_module_order.c | 7 static int test_run_prog(const struct bpf_program *prog, in test_run_prog()
|
A D | string_kfuncs.c | 28 struct bpf_program *prog; in run_too_long_tests() local
|
A D | cb_refs.c | 25 struct bpf_program *prog; in test_cb_refs() local
|
A D | link_pinning.c | 11 void test_link_pinning_subtest(struct bpf_program *prog, in test_link_pinning_subtest()
|
/tools/lib/bpf/ |
A D | libbpf.c | 1181 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local 3465 struct bpf_program *prog; in obj_needs_vmlinux_btf() local 4440 struct bpf_program *prog; in bpf_object__find_program_by_name() local 4670 struct bpf_program *prog; in find_prog_by_sec_insn() local 4699 struct bpf_program *prog; in bpf_object__collect_prog_relos() local 5930 struct bpf_program *prog; in bpf_object__relocate_core() local 6631 struct bpf_program *prog; in bpf_object__free_relocs() local 7074 struct bpf_program *prog; in bpf_object__relocate() local 7906 struct bpf_program *prog; in bpf_object__load_progs() local 7937 struct bpf_program *prog; in bpf_object_prepare_progs() local [all …]
|
/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 407 struct sock_fprog prog = { in TEST() local 515 struct sock_fprog prog = { in TEST() local 538 struct sock_fprog prog = { in TEST() local 563 struct sock_fprog prog = { in TEST() local 580 struct sock_fprog prog = { in TEST() local 599 struct sock_fprog prog = { in TEST() local 621 struct sock_fprog prog = { in TEST_SIGNAL() local 1060 struct sock_fprog prog; in FIXTURE() local 1665 struct sock_fprog prog; in FIXTURE() local 2042 struct sock_fprog prog; in FIXTURE() local [all …]
|
/tools/testing/selftests/bpf/progs/ |
A D | metadata_unused.c | 10 int prog(struct xdp_md *ctx) in prog() function
|
A D | metadata_used.c | 10 int prog(struct xdp_md *ctx) in prog() function
|
A D | arena_spin_lock.c | 33 int prog(void *ctx) in prog() function
|
/tools/rcu/ |
A D | rcu-cbs.py | 20 def get_rdp0(prog): argument
|