/linux-6.12.1/tools/lib/bpf/ |
D | features.c | 78 ret = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, &prog_opts); in probe_kern_global_data() 244 fd = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", insns, insn_cnt, &opts); in probe_kern_exp_attach_type() 264 fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, &opts); in probe_kern_probe_read_kernel() 294 prog = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, &prog_opts); in probe_prog_bind_map() 349 prog_fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", in probe_perf_link() 382 prog_fd = bpf_prog_load(BPF_PROG_TYPE_KPROBE, NULL, "GPL", in probe_uprobe_multi_link() 444 ret = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, &opts); in probe_kern_bpf_cookie() 507 prog_fd = bpf_prog_load(BPF_PROG_TYPE_KPROBE, "det_arg_ctx", in probe_kern_arg_ctx_tag()
|
D | libbpf.map | 296 bpf_prog_load;
|
D | libbpf_probes.c | 191 fd = bpf_prog_load(prog_type, NULL, "GPL", insns, insns_cnt, &opts); in probe_prog_load()
|
D | bpf.h | 114 LIBBPF_API int bpf_prog_load(enum bpf_prog_type prog_type,
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | raw_tp_writable_test_run.c | 27 int bpf_fd = bpf_prog_load(BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, NULL, "GPL v2", in serial_test_raw_tp_writable_test_run() 44 int filter_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL v2", in serial_test_raw_tp_writable_test_run()
|
D | log_buf.c | 166 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "good_prog", "GPL", in bpf_prog_load_log_buf() 177 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "good_prog", "GPL", in bpf_prog_load_log_buf() 188 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "bad_prog", "GPL", in bpf_prog_load_log_buf()
|
D | raw_tp_writable_reject_nbd_invalid.c | 28 bpf_fd = bpf_prog_load(BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, NULL, "GPL v2", in test_raw_tp_writable_reject_nbd_invalid()
|
D | xdp_dev_bound_only.c | 15 return bpf_prog_load(BPF_PROG_TYPE_XDP, name, "GPL", insns, ARRAY_SIZE(insns), &opts); in load_dummy_prog()
|
D | fexit_stress.c | 38 fexit_fd[i] = bpf_prog_load(BPF_PROG_TYPE_TRACING, NULL, "GPL", in serial_test_fexit_stress()
|
D | verifier_log.c | 40 prog_fd = bpf_prog_load(BPF_PROG_TYPE_RAW_TRACEPOINT, "log_prog", in load_prog() 104 prog_fd = bpf_prog_load(BPF_PROG_TYPE_RAW_TRACEPOINT, "log_fixed25", in verif_log_subtest() 136 prog_fd = bpf_prog_load(BPF_PROG_TYPE_RAW_TRACEPOINT, prog_name, in verif_log_subtest()
|
D | module_fentry_shadow.c | 102 prog_fd[i] = bpf_prog_load(BPF_PROG_TYPE_TRACING, NULL, "GPL", in test_module_fentry_shadow()
|
D | token.c | 666 prog_fd = bpf_prog_load(BPF_PROG_TYPE_XDP, "token_prog", "GPL", in userns_prog_load() 676 prog_fd = bpf_prog_load(BPF_PROG_TYPE_XDP, "token_prog", "GPL", in userns_prog_load() 690 prog_fd = bpf_prog_load(BPF_PROG_TYPE_XDP, "token_prog", "GPL", in userns_prog_load() 700 prog_fd = bpf_prog_load(BPF_PROG_TYPE_XDP, "token_prog", "GPL", in userns_prog_load()
|
D | unpriv_bpf_disabled.c | 171 ASSERT_EQ(bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "simple_prog", "GPL", in test_unpriv_bpf_disabled_negative()
|
D | align.c | 620 fd_prog = bpf_prog_load(prog_type ? : BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in do_test_single()
|
D | fexit_bpf2bpf.c | 471 return bpf_prog_load(BPF_PROG_TYPE_TRACING, in load_fentry()
|
/linux-6.12.1/samples/bpf/ |
D | sock_example.c | 68 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in test_sock()
|
D | test_cgrp2_attach.c | 80 return bpf_prog_load(BPF_PROG_TYPE_CGROUP_SKB, NULL, "GPL", in prog_load()
|
D | fds_example.c | 72 return bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in bpf_prog_create()
|
D | test_cgrp2_sock.c | 122 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", in prog_load()
|
D | cookie_uid_helper_example.c | 165 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in prog_load()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 272 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "flag-test", "GPL", in testing_prog_flags() 337 return bpf_prog_load(type, NULL, license, insns, insns_cnt, &opts); in bpf_test_load_program()
|
D | test_verifier.c | 586 return bpf_prog_load(prog_type, NULL, "GPL", prog, ARRAY_SIZE(prog), NULL); in create_prog_dummy_simple() 601 return bpf_prog_load(prog_type, NULL, "GPL", prog, ARRAY_SIZE(prog), NULL); in create_prog_dummy_loop() 1607 fd_prog = bpf_prog_load(prog_type, NULL, "GPL", prog, prog_len, &opts); in do_test_single()
|
D | test_sock.c | 400 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", prog, insn_cnt, &opts); in load_sock_prog()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | feature.c | 501 bpf_prog_load(BPF_PROG_TYPE_UNSPEC, NULL, NULL, NULL, 0, NULL); in probe_bpf_syscall() 527 fd = bpf_prog_load(prog_type, NULL, "GPL", insns, insns_cnt, &opts); in probe_prog_load_ifindex() 793 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in probe_misc_feature()
|
/linux-6.12.1/tools/build/ |
D | Makefile.feature | 106 libbpf-bpf_prog_load \
|