Home
last modified time | relevance | path

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

/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
206 int ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
210 ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
221 ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
236 return syscall(__NR_bpf, BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr)); in bpf_update_elem()
247 return syscall(__NR_bpf, BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr)); in bpf_lookup_elem()
[all …]
/external/linux-kselftest/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()
/external/iptables/extensions/
Dlibxt_bpf.c66 #if defined HAVE_LINUX_BPF_H && defined __NR_bpf && defined BPF_FS_MAGIC in bpf_obj_get_readonly()
79 int fd = syscall(__NR_bpf, BPF_OBJ_GET, &attr, sizeof(attr)); in bpf_obj_get_readonly()
84 return syscall(__NR_bpf, BPF_OBJ_GET, &attr, sizeof(attr)); in bpf_obj_get_readonly()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier_log.c61 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
Dtest_btf.c6202 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/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.c158 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h751 #define __NR_bpf 280 macro
752 __SYSCALL(__NR_bpf, sys_bpf)
/external/strace/tests-mx32/
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-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/ltp/include/lapi/
Dbpf.h563 return tst_syscall(__NR_bpf, cmd, attr, size); in bpf()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h345 #define __NR_bpf (__NR_SYSCALL_BASE + 386) macro
/external/iproute2/lib/
Dbpf.c134 #ifdef __NR_bpf in bpf()
135 return syscall(__NR_bpf, cmd, attr, size); in bpf()