/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_attach.c | 19 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj1, &fd1); in test_xdp_attach() 27 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj2, &fd2); in test_xdp_attach() 37 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj3, &fd3); in test_xdp_attach()
|
D | xdp_adjust_tail.c | 13 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail_shrink() 41 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail_grow() 78 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &tattr.prog_fd); in test_xdp_adjust_tail_grow2()
|
D | fexit_bpf2bpf.c | 66 err = bpf_prog_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_fexit_bpf2bpf_common() 197 err = bpf_prog_load(tgt_obj_file, BPF_PROG_TYPE_UNSPEC, in test_second_attach() 247 err = bpf_prog_load(tgt_name, BPF_PROG_TYPE_UNSPEC, in test_fmod_ret_freplace() 312 err = bpf_prog_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_obj_load_failure_common()
|
D | tailcalls.c | 19 err = bpf_prog_load("tailcall1.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_1() 157 err = bpf_prog_load("tailcall2.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_2() 234 err = bpf_prog_load("tailcall3.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_3() 314 err = bpf_prog_load("tailcall4.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_4() 402 err = bpf_prog_load("tailcall5.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_5() 488 err = bpf_prog_load("tailcall_bpf2bpf1.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_1() 572 err = bpf_prog_load("tailcall_bpf2bpf2.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_2() 650 err = bpf_prog_load("tailcall_bpf2bpf3.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_3() 740 err = bpf_prog_load("tailcall_bpf2bpf4.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_4()
|
D | get_stack_raw_tp.c | 97 err = bpf_prog_load(file_err, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_get_stack_raw_tp() 101 err = bpf_prog_load(file, BPF_PROG_TYPE_RAW_TRACEPOINT, &obj, &prog_fd); in test_get_stack_raw_tp()
|
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 | 12 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
|
D | xdp_perf.c | 12 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_perf()
|
D | skb_helpers.c | 23 err = bpf_prog_load("./test_skb_helpers.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_skb_helpers()
|
D | pkt_access.c | 12 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
|
D | spinlock.c | 27 err = bpf_prog_load(file, BPF_PROG_TYPE_CGROUP_SKB, &obj, &prog_fd); in test_spinlock()
|
D | prog_run_xattr.c | 19 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_prog_run_xattr()
|
D | load_bytes_relative.c | 30 err = bpf_prog_load("./load_bytes_relative.o", BPF_PROG_TYPE_CGROUP_SKB, in test_load_bytes_relative()
|
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 | 19 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
|
D | xdp_info.c | 32 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_info()
|
D | stacktrace_map.c | 15 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
|
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 | 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 | skb_ctx.c | 33 err = bpf_prog_load("./test_skb_ctx.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_skb_ctx()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|