Home
last modified time | relevance | path

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

/openbmc/linux/tools/build/feature/
H A Dtest-bpf.c47 return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in main()
/openbmc/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()
H A Dbtf.c6818 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in do_test_info_raw()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c116 ret = bpf_sys_bpf(BPF_PROG_LOAD, &prog_load_attr, sizeof(prog_load_attr)); in bpf_prog()
/openbmc/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()
/openbmc/linux/tools/lib/bpf/
H A Dskel_internal.h341 err = prog_fd = skel_sys_bpf(BPF_PROG_LOAD, &attr, prog_load_attr_sz); in bpf_load_and_run()
H A 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()
H A Dgen_loader.c1018 emit_sys_bpf(gen, BPF_PROG_LOAD, prog_load_attr, attr_size); in bpf_gen__prog_load()
/openbmc/linux/Documentation/bpf/
H A Dprog_lsm.rst99 ``BPF_PROG_LOAD`` operation:
H A 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
/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c129 prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); in known_to_need_rlimit()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h889 BPF_PROG_LOAD, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h889 BPF_PROG_LOAD, enumerator
/openbmc/linux/kernel/bpf/
H A Dsyscall.c2594 if (CHECK_ATTR(BPF_PROG_LOAD)) in bpf_prog_load()
5452 case BPF_PROG_LOAD: in __sys_bpf()
5580 case BPF_PROG_LOAD: in BPF_CALL_3()
/openbmc/linux/security/selinux/
H A Dhooks.c6748 case BPF_PROG_LOAD: in selinux_bpf()