Home
last modified time | relevance | path

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

/linux-6.6.21/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 # 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.6.21/tools/lib/bpf/
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()
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.6.21/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()
Dtc_opts.c2560 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2578 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
Dbtf.c6818 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/linux-6.6.21/tools/testing/selftests/net/
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()
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()
/linux-6.6.21/tools/include/uapi/asm-generic/
Dunistd.h677 #define __NR_bpf 280 macro
678 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.6.21/include/uapi/asm-generic/
Dunistd.h677 #define __NR_bpf 280 macro
678 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.6.21/arch/arm64/include/asm/
Dunistd32.h785 #define __NR_bpf 386 macro
786 __SYSCALL(__NR_bpf, sys_bpf)
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()