Home
last modified time | relevance | path

Searched refs:bpf_load_program (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_load_bytes.c33 fd = bpf_load_program(BPF_PROG_TYPE_FLOW_DISSECTOR, prog, in test_flow_dissector_load_bytes()
Dsignal_pending.c25 prog_fd = bpf_load_program(prog_type, prog, ARRAY_SIZE(prog), in test_signal_pending_by_type()
Dcgroup_attach_autodetach.c19 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
Dcgroup_attach_override.c21 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
Dcgroup_attach_multi.c69 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load_cnt()
Dflow_dissector_reattach.c50 fd = bpf_load_program(type, prog, ARRAY_SIZE(prog), "GPL", 0, NULL, 0); in load_prog()
/Linux-v5.10/samples/bpf/
Dsock_example.c63 prog_fd = bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, insns_cnt, in test_sock()
Dtest_cgrp2_attach.c74 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
Dfds_example.c70 return bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, in bpf_prog_create()
Dtest_cgrp2_sock.c118 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SOCK, prog, insns_cnt, in prog_load()
Dcookie_uid_helper_example.c160 prog_fd = bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, in prog_load()
Dbpf_load.c131 fd = bpf_load_program(prog_type, prog, insns_cnt, license, kern_version, in load_and_attach()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c69 prog_fd = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in main()
Dtest_tag.c60 fd_prog = bpf_load_program(BPF_PROG_TYPE_SCHED_CLS, prog, insns, "", 0, in bpf_try_load_prog()
Dtest_verifier.c420 return bpf_load_program(prog_type, prog, in create_prog_dummy_simple()
436 return bpf_load_program(prog_type, prog, in create_prog_dummy_loop()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map11 bpf_load_program;
Dbpf.h108 LIBBPF_API int bpf_load_program(enum bpf_prog_type type,
Dxsk.c419 prog_fd = bpf_load_program(BPF_PROG_TYPE_XDP, prog, insns_cnt, in xsk_load_xdp_prog()
Dbpf.c329 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_load_program() function
/Linux-v5.10/tools/perf/tests/
Dbpf.c319 err = bpf_load_program(BPF_PROG_TYPE_KPROBE, insns, in check_env()
/Linux-v5.10/tools/bpf/bpftool/
Dfeature.c466 bpf_load_program(BPF_PROG_TYPE_UNSPEC, NULL, 0, NULL, 0, NULL, 0); in probe_bpf_syscall()