Searched refs:bpf_load_program (Results 1 – 21 of 21) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector_load_bytes.c | 33 fd = bpf_load_program(BPF_PROG_TYPE_FLOW_DISSECTOR, prog, in test_flow_dissector_load_bytes()
|
D | signal_pending.c | 25 prog_fd = bpf_load_program(prog_type, prog, ARRAY_SIZE(prog), in test_signal_pending_by_type()
|
D | cgroup_attach_autodetach.c | 19 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
|
D | cgroup_attach_override.c | 21 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
|
D | cgroup_attach_multi.c | 69 ret = bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load_cnt()
|
D | flow_dissector_reattach.c | 50 fd = bpf_load_program(type, prog, ARRAY_SIZE(prog), "GPL", 0, NULL, 0); in load_prog()
|
/Linux-v5.10/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_attach.c | 74 return bpf_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
|
D | fds_example.c | 70 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 | 131 fd = bpf_load_program(prog_type, prog, insns_cnt, license, kern_version, in load_and_attach()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_cgroup_storage.c | 69 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 | 420 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/ |
D | libbpf.map | 11 bpf_load_program;
|
D | bpf.h | 108 LIBBPF_API int bpf_load_program(enum bpf_prog_type type,
|
D | xsk.c | 419 prog_fd = bpf_load_program(BPF_PROG_TYPE_XDP, prog, insns_cnt, in xsk_load_xdp_prog()
|
D | bpf.c | 329 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/ |
D | bpf.c | 319 err = bpf_load_program(BPF_PROG_TYPE_KPROBE, insns, in check_env()
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | feature.c | 466 bpf_load_program(BPF_PROG_TYPE_UNSPEC, NULL, 0, NULL, 0, NULL, 0); in probe_bpf_syscall()
|