/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_attach.c | 18 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj1, &fd1); in test_xdp_attach() 26 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj2, &fd2); in test_xdp_attach() 36 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj3, &fd3); in test_xdp_attach() 128 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &fd_xdp); in test_xdp_attach_fail()
|
H A D | tailcalls.c | 23 err = bpf_prog_test_load("tailcall1.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_1() 159 err = bpf_prog_test_load("tailcall2.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_2() 234 err = bpf_prog_test_load(which, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_count() 332 err = bpf_prog_test_load("tailcall4.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_4() 422 err = bpf_prog_test_load("tailcall5.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_5() 510 err = bpf_prog_test_load("tailcall_bpf2bpf1.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_1() 594 err = bpf_prog_test_load("tailcall_bpf2bpf2.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_2() 674 err = bpf_prog_test_load("tailcall_bpf2bpf3.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_3() 769 err = bpf_prog_test_load("tailcall_bpf2bpf4.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_4()
|
H A D | get_stack_raw_tp.c | 99 err = bpf_prog_test_load(file_err, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_get_stack_raw_tp() 103 err = bpf_prog_test_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_get_stack_raw_tp()
|
H A D | tcp_estats.c | 10 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
|
H A D | xdp_adjust_tail.c | 20 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail_shrink() 55 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail_grow() 97 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail_grow2()
|
H A D | pkt_md_access.c | 16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
|
H A D | skb_helpers.c | 23 err = bpf_prog_test_load("./test_skb_helpers.bpf.o", in test_skb_helpers()
|
H A D | xdp_perf.c | 18 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_perf()
|
H A D | pkt_access.c | 16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
|
H A D | fexit_bpf2bpf.c | 76 err = bpf_prog_test_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_fexit_bpf2bpf_common() 247 err = bpf_prog_test_load(tgt_obj_file, BPF_PROG_TYPE_UNSPEC, in test_second_attach() 295 err = bpf_prog_test_load(tgt_name, BPF_PROG_TYPE_UNSPEC, in test_fmod_ret_freplace() 362 err = bpf_prog_test_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_obj_load_failure_common()
|
H A D | global_func_args.c | 51 err = bpf_prog_test_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_global_func_args()
|
H A D | stacktrace_map_raw_tp.c | 15 err = bpf_prog_test_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map_raw_tp()
|
H A D | load_bytes_relative.c | 30 err = bpf_prog_test_load("./load_bytes_relative.bpf.o", BPF_PROG_TYPE_CGROUP_SKB, in test_load_bytes_relative()
|
H A D | stacktrace_map.c | 15 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
|
H A D | xdp.c | 25 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
|
H A D | xdp_info.c | 33 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in serial_test_xdp_info()
|
H A D | task_fd_query_rawtp.c | 14 err = bpf_prog_test_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_rawtp()
|
H A D | skb_ctx.c | 34 err = bpf_prog_test_load("./test_skb_ctx.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_skb_ctx()
|
H A D | task_fd_query_tp.c | 16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
|
H A D | map_lock.c | 59 err = bpf_prog_test_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_map_lock()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.h | 14 int bpf_prog_test_load(const char *file, enum bpf_prog_type type,
|
H A D | test_dev_cgroup.c | 33 if (bpf_prog_test_load(DEV_CGROUP_PROG, BPF_PROG_TYPE_CGROUP_DEVICE, in main()
|
H A D | flow_dissector_load.h | 22 ret = bpf_prog_test_load(path, BPF_PROG_TYPE_FLOW_DISSECTOR, obj, in bpf_flow_load()
|
H A D | test_lirc_mode2_user.c | 62 ret = bpf_prog_test_load("test_lirc_mode2_kern.bpf.o", in main()
|
H A D | test_tcpnotify_user.c | 94 if (bpf_prog_test_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()
|