/linux/tools/build/feature/ |
H A D | test-bpf.c | 6 #ifndef __NR_bpf 8 # define __NR_bpf 357 macro 10 # define __NR_bpf 321 macro 12 # define __NR_bpf 280 macro 14 # define __NR_bpf 349 macro 16 # define __NR_bpf 351 macro 18 # define __NR_bpf 4355 macro 20 # define __NR_bpf 6319 macro 22 # define __NR_bpf 5315 macro 24 # error __NR_bpf not defined. libbpf does not support your arch. [all …]
|
/linux/tools/lib/bpf/ |
H A D | skel_internal.h | 20 #ifndef __NR_bpf 22 # define __NR_bpf 4355 macro 24 # define __NR_bpf 6319 macro 26 # define __NR_bpf 5315 macro 77 return syscall(__NR_bpf, cmd, attr, size); in skel_sys_bpf()
|
H A D | bpf.c | 43 #ifndef __NR_bpf 45 # define __NR_bpf 357 macro 47 # define __NR_bpf 321 macro 49 # define __NR_bpf 280 macro 51 # define __NR_bpf 349 macro 53 # define __NR_bpf 351 macro 55 # define __NR_bpf 280 macro 57 # define __NR_bpf 4355 macro 59 # define __NR_bpf 6319 macro 61 # define __NR_bpf 5315 macro [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | obj_name.c | 39 fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in test_obj_name() 60 fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in test_obj_name()
|
H A D | tc_opts.c | 2560 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2578 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2607 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2636 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2664 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2692 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2716 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2723 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
|
H A D | btf.c | 6881 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
|
/linux/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 120 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_ebpf() 365 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); in test_filter_no_reuseport()
|
H A D | reuseport_bpf_numa.c | 96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf()
|
H A D | psock_fanout.c | 172 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
|
/linux/include/uapi/asm-generic/ |
H A D | unistd.h | 677 #define __NR_bpf 280 macro 678 __SYSCALL(__NR_bpf, sys_bpf)
|
/linux/tools/include/uapi/asm-generic/ |
H A D | unistd.h | 677 #define __NR_bpf 280 macro 678 __SYSCALL(__NR_bpf, sys_bpf)
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()
|