Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
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()
Dskb_ctx.c26 err = bpf_prog_load("./test_skb_ctx.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_skb_ctx()
Dtask_fd_query_tp.c16 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
Dmap_lock.c42 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_map_lock()
Dperf_buffer.c38 err = bpf_prog_load(file, BPF_PROG_TYPE_KPROBE, &obj, &prog_fd); in test_perf_buffer()
Dtask_fd_query_rawtp.c14 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_rawtp()
Dl4lb_all.c32 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_l4lb()
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()
/Linux-v5.4/samples/bpf/
Dsockex1_user.c21 if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER, in main()
Dsockex2_user.c29 if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER, in main()
/Linux-v5.4/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()
Dtest_tcpnotify_user.c99 if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()
Dtest_tcpbpf_user.c112 if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()

12