Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/build/feature/
A 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 # define __NR_bpf 4355 macro
20 # define __NR_bpf 6319 macro
22 # define __NR_bpf 5315 macro
24 # error __NR_bpf not defined. libbpf does not support your arch.
[all …]
/linux-6.3-rc2/tools/lib/bpf/
A Dskel_internal.h20 #ifndef __NR_bpf
22 # define __NR_bpf 4355 macro
24 # define __NR_bpf 6319 macro
26 # define __NR_bpf 5315 macro
77 return syscall(__NR_bpf, cmd, attr, size); in skel_sys_bpf()
A Dbpf.c43 #ifndef __NR_bpf
45 # define __NR_bpf 357 macro
47 # define __NR_bpf 321 macro
49 # define __NR_bpf 280 macro
51 # define __NR_bpf 349 macro
53 # define __NR_bpf 351 macro
55 # define __NR_bpf 280 macro
57 # define __NR_bpf 4355 macro
59 # define __NR_bpf 6319 macro
61 # define __NR_bpf 5315 macro
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dbtf.c6782 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_verifier_log.c59 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in load()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dreuseport_bpf.c120 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_ebpf()
365 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); in test_filter_no_reuseport()
A Dreuseport_bpf_numa.c96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf()
A Dpsock_fanout.c172 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/linux-6.3-rc2/include/uapi/asm-generic/
A Dunistd.h749 #define __NR_bpf 280 macro
750 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.3-rc2/tools/include/uapi/asm-generic/
A Dunistd.h749 #define __NR_bpf 280 macro
750 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.3-rc2/arch/arm64/include/asm/
A Dunistd32.h785 #define __NR_bpf 386 macro
786 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.3-rc2/tools/bpf/bpftool/
A Dcommon.c129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()

Completed in 35 milliseconds