Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dsock_example.c63 prog_fd = bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, insns_cnt, in test_sock()
Dtest_cgrp2_attach2.c51 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
249 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load_cnt()
Dtest_cgrp2_attach.c74 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
Dfds_example.c65 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.c113 fd = bpf_load_program(prog_type, prog, insns_cnt, license, kern_version, in load_and_attach()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c43 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.c12546 return bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, in create_prog_dummy1()
12561 return bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, in create_prog_dummy2()
/Linux-v4.19/tools/lib/bpf/
Dbpf.h76 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns,
Dbpf.c222 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_load_program() function
/Linux-v4.19/tools/perf/tests/
Dbpf.c313 err = bpf_load_program(BPF_PROG_TYPE_KPROBE, insns, in check_env()