Home
last modified time | relevance | path

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

12

/external/bcc/src/cc/
Dlibbpf.c56 #ifndef __NR_bpf
58 #define __NR_bpf 361 macro
60 #define __NR_bpf 351 macro
62 #define __NR_bpf 280 macro
64 #define __NR_bpf 321 macro
204 int ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
208 ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
219 ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
234 return syscall(__NR_bpf, BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr)); in bpf_update_elem()
245 return syscall(__NR_bpf, BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr)); in bpf_lookup_elem()
[all …]
/external/iptables/extensions/
Dlibxt_bpf.c65 #if defined HAVE_LINUX_BPF_H && defined __NR_bpf in bpf_obj_get()
71 return syscall(__NR_bpf, BPF_OBJ_GET, &attr, sizeof(attr)); in bpf_obj_get()
/external/syzkaller/sys/linux/
Dbpf_arm64.const139 __NR_bpf = 280
Dbpf_arm.const139 __NR_bpf = 386
Dbpf_ppc64le.const139 __NR_bpf = 361
Dbpf_amd64.const139 __NR_bpf = 321
Dbpf_386.const139 __NR_bpf = 357
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier_log.c61 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h325 #define __NR_bpf 321 macro
Dunistd_32.h357 #define __NR_bpf 357 macro
Dunistd_x32.h281 #define __NR_bpf (__X32_SYSCALL_BIT + 321) macro
/external/strace/
Dscno.h971 #ifndef __NR_bpf
972 # define __NR_bpf (SYSCALL_BIT | 321) macro
/external/linux-kselftest/tools/testing/selftests/net/
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()
Dreuseport_bpf_numa.c96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf()
Dpsock_fanout.c172 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h713 #define __NR_bpf 280 macro
714 __SYSCALL(__NR_bpf, sys_bpf)
/external/strace/tests-m32/
Dbpf-obj_get_info_by_fd.c86 long rc = syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
Dbpf.c122 long rc = syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
/external/strace/tests/
Dbpf-obj_get_info_by_fd.c86 long rc = syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
Dbpf.c122 long rc = syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dunistd_n64.h318 #define __NR_bpf (__NR_Linux + 315) macro
Dunistd_n32.h322 #define __NR_bpf (__NR_Linux + 319) macro
Dunistd_o32.h358 #define __NR_bpf (__NR_Linux + 355) macro
/external/strace/tests-mx32/
Dbpf-obj_get_info_by_fd.c86 long rc = syscall(__NR_bpf, cmd, attr, size); in sys_bpf()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h345 #define __NR_bpf (__NR_SYSCALL_BASE + 386) macro

12