Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c6148 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier_log.c61 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dunistd_64.h342 #define __NR_bpf 321 macro
Dunistd_32.h374 #define __NR_bpf 357 macro
Dunistd_x32.h298 #define __NR_bpf (__X32_SYSCALL_BIT + 321) macro
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dunistd.h346 #define __NR_bpf 280 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dunistd.h581 #define __NR_bpf 280 macro
582 __SYSCALL(__NR_bpf, sys_bpf)
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Dunistd.h749 #define __NR_bpf 280 macro
750 __SYSCALL(__NR_bpf, sys_bpf)
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dunistd.h749 #define __NR_bpf 280 macro
750 __SYSCALL(__NR_bpf, sys_bpf)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dunistd_n64.h335 #define __NR_bpf (__NR_Linux + 315) macro
Dunistd_n32.h339 #define __NR_bpf (__NR_Linux + 319) macro
Dunistd_o32.h375 #define __NR_bpf (__NR_Linux + 355) macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dunistd-common.h349 #define __NR_bpf (__NR_SYSCALL_BASE + 386) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dunistd32.h785 #define __NR_bpf 386 macro
786 __SYSCALL(__NR_bpf, sys_bpf)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm/asm/
Dunistd-common.h362 #define __NR_bpf (__NR_SYSCALL_BASE + 386) macro