Home
last modified time | relevance | path

Searched refs:bpf_prog_test_load (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dxdp_attach.c18 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()
Dtailcalls.c23 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()
Dget_stack_raw_tp.c99 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()
Dxdp_adjust_tail.c20 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()
Dtcp_estats.c10 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
Dfexit_bpf2bpf.c76 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()
Dpkt_md_access.c16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
Dskb_helpers.c23 err = bpf_prog_test_load("./test_skb_helpers.bpf.o", in test_skb_helpers()
Dxdp_perf.c18 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_perf()
Dpkt_access.c16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
Dglobal_func_args.c51 err = bpf_prog_test_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_global_func_args()
Dload_bytes_relative.c30 err = bpf_prog_test_load("./load_bytes_relative.bpf.o", BPF_PROG_TYPE_CGROUP_SKB, in test_load_bytes_relative()
Dstacktrace_map_raw_tp.c15 err = bpf_prog_test_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map_raw_tp()
Dstacktrace_map.c15 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
Dxdp.c25 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
Dxdp_info.c33 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in serial_test_xdp_info()
Dtask_fd_query_rawtp.c14 err = bpf_prog_test_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_rawtp()
Dskb_ctx.c34 err = bpf_prog_test_load("./test_skb_ctx.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_skb_ctx()
Dtask_fd_query_tp.c16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
Dmap_lock.c59 err = bpf_prog_test_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_map_lock()
Dl4lb_all.c37 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_l4lb()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtesting_helpers.h14 int bpf_prog_test_load(const char *file, enum bpf_prog_type type,
Dtest_dev_cgroup.c33 if (bpf_prog_test_load(DEV_CGROUP_PROG, BPF_PROG_TYPE_CGROUP_DEVICE, in main()
Dflow_dissector_load.h22 ret = bpf_prog_test_load(path, BPF_PROG_TYPE_FLOW_DISSECTOR, obj, in bpf_flow_load()
Dtest_lirc_mode2_user.c62 ret = bpf_prog_test_load("test_lirc_mode2_kern.bpf.o", in main()

12