Searched refs:bpf_prog_load (Results 1 – 25 of 41) sorted by relevance
12
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ |
D | tcp_estats.c | 11 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
|
D | pkt_md_access.c | 11 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
|
D | spinlock.c | 13 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_spinlock()
|
D | pkt_access.c | 11 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
|
D | xdp_adjust_tail.c | 12 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail()
|
D | prog_run_xattr.c | 18 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_prog_run_xattr()
|
D | stacktrace_map_raw_tp.c | 15 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map_raw_tp()
|
D | xdp.c | 18 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
|
D | stacktrace_map.c | 15 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
|
D | skb_ctx.c | 26 err = bpf_prog_load("./test_skb_ctx.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_skb_ctx()
|
D | task_fd_query_tp.c | 16 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
|
D | map_lock.c | 42 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_map_lock()
|
D | perf_buffer.c | 38 err = bpf_prog_load(file, BPF_PROG_TYPE_KPROBE, &obj, &prog_fd); in test_perf_buffer()
|
D | task_fd_query_rawtp.c | 14 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_rawtp()
|
D | l4lb_all.c | 32 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_l4lb()
|
D | queue_stack_map.c | 29 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_queue_stack_map_by_type()
|
D | xdp_noinline.c | 33 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_noinline()
|
/Linux-v5.4/samples/bpf/ |
D | sockex1_user.c | 21 if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER, in main()
|
D | sockex2_user.c | 29 if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER, in main()
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_dev_cgroup.c | 30 if (bpf_prog_load(DEV_CGROUP_PROG, BPF_PROG_TYPE_CGROUP_DEVICE, in main()
|
D | flow_dissector_load.h | 21 ret = bpf_prog_load(path, BPF_PROG_TYPE_FLOW_DISSECTOR, obj, in bpf_flow_load()
|
D | test_lirc_mode2_user.c | 61 ret = bpf_prog_load("test_lirc_mode2_kern.o", in main()
|
D | test_netcnt.c | 55 if (bpf_prog_load(BPF_PROG, BPF_PROG_TYPE_CGROUP_SKB, in main()
|
D | test_tcpnotify_user.c | 99 if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()
|
D | test_tcpbpf_user.c | 112 if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()
|
12