Home
last modified time | relevance | path

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

/linux/tools/build/feature/
H 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/tools/lib/bpf/
H 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()
H 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/tools/testing/selftests/bpf/prog_tests/
H 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()
H A 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()
2607 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2636 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2664 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2692 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2716 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
2723 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target()
H A Dbtf.c6881 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/linux/tools/testing/selftests/net/
H 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()
H A Dreuseport_bpf_numa.c96 bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in attach_bpf()
H A Dpsock_fanout.c172 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in sock_fanout_set_ebpf()
/linux/include/uapi/asm-generic/
H A Dunistd.h677 #define __NR_bpf 280 macro
678 __SYSCALL(__NR_bpf, sys_bpf)
/linux/tools/include/uapi/asm-generic/
H A Dunistd.h677 #define __NR_bpf 280 macro
678 __SYSCALL(__NR_bpf, sys_bpf)
/linux/tools/bpf/bpftool/
H A Dcommon.c129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()