Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/tools/lib/bpf/
Dbpf.c45 #ifndef __NR_bpf
47 # define __NR_bpf 357 macro
49 # define __NR_bpf 321 macro
51 # define __NR_bpf 280 macro
53 # define __NR_bpf 349 macro
55 # define __NR_bpf 351 macro
57 # error __NR_bpf not defined. libbpf does not support your arch.
73 return syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_verifier_log.c61 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
Dtest_progs.c718 fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in test_obj_name()
739 fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in test_obj_name()
/Linux-v4.19/arch/ia64/include/uapi/asm/
Dunistd.h334 #define __NR_bpf 1341 macro
/Linux-v4.19/arch/m68k/include/uapi/asm/
Dunistd.h363 #define __NR_bpf 354 macro
/Linux-v4.19/arch/sh/include/uapi/asm/
Dunistd_32.h390 #define __NR_bpf 375 macro
Dunistd_64.h410 #define __NR_bpf 386 macro
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dunistd.h418 #define __NR_bpf 349 macro
/Linux-v4.19/tools/arch/powerpc/include/uapi/asm/
Dunistd.h387 #define __NR_bpf 361 macro
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dunistd.h387 #define __NR_bpf 361 macro
/Linux-v4.19/arch/microblaze/include/uapi/asm/
Dunistd.h406 #define __NR_bpf 387 macro
/Linux-v4.19/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.c172 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/Linux-v4.19/arch/alpha/include/uapi/asm/
Dunistd.h475 #define __NR_bpf 515 macro
/Linux-v4.19/tools/include/uapi/asm-generic/
Dunistd.h711 #define __NR_bpf 280 macro
712 __SYSCALL(__NR_bpf, sys_bpf)
/Linux-v4.19/include/uapi/asm-generic/
Dunistd.h711 #define __NR_bpf 280 macro
712 __SYSCALL(__NR_bpf, sys_bpf)
/Linux-v4.19/arch/mips/include/uapi/asm/
Dunistd.h379 #define __NR_bpf (__NR_Linux + 355) macro
726 #define __NR_bpf (__NR_Linux + 315) macro
1076 #define __NR_bpf (__NR_Linux + 319) macro
/Linux-v4.19/arch/arm64/include/asm/
Dunistd32.h796 #define __NR_bpf 386 macro
797 __SYSCALL(__NR_bpf, sys_bpf)
/Linux-v4.19/arch/parisc/include/uapi/asm/
Dunistd.h358 #define __NR_bpf (__NR_Linux + 341) macro
/Linux-v4.19/arch/xtensa/include/uapi/asm/
Dunistd.h753 #define __NR_bpf 340 macro