Home
last modified time | relevance | path

Searched refs:BPF_PROG_LOAD (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/tools/build/feature/
Dtest-bpf.c47 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in main()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dobj_name.c39 fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in test_obj_name()
Dbtf.c6822 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dsyscall.c116 ret = bpf_sys_bpf(BPF_PROG_LOAD, &prog_load_attr, sizeof(prog_load_attr)); in bpf_prog()
/Linux-v6.6/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-v6.6/tools/lib/bpf/
Dskel_internal.h341 err = prog_fd = skel_sys_bpf(BPF_PROG_LOAD, &attr, prog_load_attr_sz); in bpf_load_and_run()
Dbpf.c92 fd = sys_bpf_fd(BPF_PROG_LOAD, attr, size); in sys_bpf_prog_load()
124 prog_fd = sys_bpf_fd(BPF_PROG_LOAD, &attr, attr_sz); in probe_memcg_account()
Dgen_loader.c1018 emit_sys_bpf(gen, BPF_PROG_LOAD, prog_load_attr, attr_size); in bpf_gen__prog_load()
/Linux-v6.6/Documentation/bpf/
Dprog_lsm.rst99 ``BPF_PROG_LOAD`` operation:
Dbtf.rst560 * BPF_PROG_LOAD: prog load with btf function and line info.
572 BPF_MAP_CREATE and BPF_PROG_LOAD
628 3.3 BPF_PROG_LOAD
/Linux-v6.6/tools/bpf/bpftool/
Dcommon.c129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h872 BPF_PROG_LOAD, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h872 BPF_PROG_LOAD, enumerator
/Linux-v6.6/kernel/bpf/
Dsyscall.c2559 if (CHECK_ATTR(BPF_PROG_LOAD)) in bpf_prog_load()
5343 case BPF_PROG_LOAD: in __sys_bpf()
5471 case BPF_PROG_LOAD: in BPF_CALL_3()
/Linux-v6.6/security/selinux/
Dhooks.c6710 case BPF_PROG_LOAD: in selinux_bpf()