Home
last modified time | relevance | path

Searched refs:bpf_prog_load (Results 1 – 25 of 52) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c18 err = bpf_prog_load("tailcall1.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_1()
156 err = bpf_prog_load("tailcall2.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_2()
233 err = bpf_prog_load("tailcall3.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_3()
313 err = bpf_prog_load("tailcall4.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_4()
401 err = bpf_prog_load("tailcall5.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_5()
Dtcp_estats.c11 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
Dpkt_md_access.c11 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
Dspinlock.c13 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_spinlock()
Dpkt_access.c11 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
Dxdp_adjust_tail.c12 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail()
Dprog_run_xattr.c18 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_prog_run_xattr()
Dstacktrace_map_raw_tp.c15 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map_raw_tp()
Dxdp.c18 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
Dstacktrace_map.c15 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
Dfexit_test.c21 err = bpf_prog_load("./test_pkt_access.o", BPF_PROG_TYPE_SCHED_CLS, in test_fexit_test()
Dfentry_test.c21 err = bpf_prog_load("./test_pkt_access.o", BPF_PROG_TYPE_SCHED_CLS, in test_fentry_test()
Dtask_fd_query_tp.c16 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
Dperf_buffer.c38 err = bpf_prog_load(file, BPF_PROG_TYPE_KPROBE, &obj, &prog_fd); in test_perf_buffer()
Dmap_lock.c42 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_map_lock()
Dtask_fd_query_rawtp.c14 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_rawtp()
Dskb_ctx.c27 err = bpf_prog_load("./test_skb_ctx.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_skb_ctx()
Dqueue_stack_map.c29 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_queue_stack_map_by_type()
Dxdp_noinline.c33 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_noinline()
Dl4lb_all.c32 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_l4lb()
Dfexit_bpf2bpf.c19 err = bpf_prog_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_fexit_bpf2bpf_common()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_dev_cgroup.c30 if (bpf_prog_load(DEV_CGROUP_PROG, BPF_PROG_TYPE_CGROUP_DEVICE, in main()
Dflow_dissector_load.h21 ret = bpf_prog_load(path, BPF_PROG_TYPE_FLOW_DISSECTOR, obj, in bpf_flow_load()
Dtest_lirc_mode2_user.c61 ret = bpf_prog_load("test_lirc_mode2_kern.o", in main()
Dtest_netcnt.c55 if (bpf_prog_load(BPF_PROG, BPF_PROG_TYPE_CGROUP_SKB, in main()

123