Home
last modified time | relevance | path

Searched refs:__NR_bpf (Results 1 – 9 of 9) sorted by relevance

/tools/build/feature/
Dtest-bpf.c6 #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 # error __NR_bpf not defined. libbpf does not support your arch.
41 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in main()
/tools/testing/selftests/bpf/prog_tests/
Dobj_name.c39 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()
Dbtf.c6177 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/tools/lib/bpf/
Dbpf.c39 #ifndef __NR_bpf
41 # define __NR_bpf 357 macro
43 # define __NR_bpf 321 macro
45 # define __NR_bpf 280 macro
47 # define __NR_bpf 349 macro
49 # define __NR_bpf 351 macro
51 # define __NR_bpf 280 macro
53 # error __NR_bpf not defined. libbpf does not support your arch.
65 return syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
/tools/testing/selftests/bpf/
Dtest_verifier_log.c61 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
/tools/testing/selftests/net/
Dreuseport_bpf_numa.c96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf()
Dreuseport_bpf.c122 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_ebpf()
367 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); in test_filter_no_reuseport()
Dpsock_fanout.c158 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/tools/include/uapi/asm-generic/
Dunistd.h749 #define __NR_bpf 280 macro
750 __SYSCALL(__NR_bpf, sys_bpf)