Searched refs:bpf_load_program (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | sock_example.c | 63 prog_fd = bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, insns_cnt, in test_sock()
|
D | test_cgrp2_attach2.c | 51 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()
|
D | test_cgrp2_attach.c | 74 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
|
D | fds_example.c | 65 return bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, in bpf_prog_create()
|
D | test_cgrp2_sock.c | 118 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SOCK, prog, insns_cnt, in prog_load()
|
D | cookie_uid_helper_example.c | 160 prog_fd = bpf_load_program(BPF_PROG_TYPE_SOCKET_FILTER, prog, in prog_load()
|
D | bpf_load.c | 113 fd = bpf_load_program(prog_type, prog, insns_cnt, license, kern_version, in load_and_attach()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_cgroup_storage.c | 43 prog_fd = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in main()
|
D | test_tag.c | 60 fd_prog = bpf_load_program(BPF_PROG_TYPE_SCHED_CLS, prog, insns, "", 0, in bpf_try_load_prog()
|
D | test_verifier.c | 12546 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/ |
D | bpf.h | 76 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns,
|
D | bpf.c | 222 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/ |
D | bpf.c | 313 err = bpf_load_program(BPF_PROG_TYPE_KPROBE, insns, in check_env()
|