Searched refs:bpf_program__fd (Results 1 – 20 of 20) sorted by relevance
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | flow_dissector_load.h | 30 *prog_fd = bpf_program__fd(main_prog); in bpf_flow_load() 54 fd = bpf_program__fd(prog); in bpf_flow_load()
|
D | test_socket_cookie.c | 159 err = bpf_prog_attach(bpf_program__fd(prog), cgfd, attach_type, in run_test()
|
D | xdping.c | 185 prog_fd = bpf_program__fd(main_prog); in main()
|
D | test_sock_fields.c | 446 ingress_fd = bpf_program__fd(ingress_prog); in main()
|
D | test_select_reuseport.c | 111 select_by_skb_data_prog = bpf_program__fd(prog); in prepare_bpf_obj()
|
D | test_sockmap.c | 1644 prog_fd[i] = bpf_program__fd(prog); in populate_progs()
|
D | test_btf.c | 4165 prog_fd = bpf_program__fd(prog); in do_test_file()
|
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_multi.c | 24 err = bpf_prog_attach(bpf_program__fd(prog), cgroup_fd, in prog_attach() 49 err = bpf_prog_detach2(bpf_program__fd(prog), cgroup_fd, in prog_detach()
|
D | sockopt_sk.c | 153 err = bpf_prog_attach(bpf_program__fd(prog), cgroup_fd, in prog_attach()
|
D | sockopt_inherit.c | 158 err = bpf_prog_attach(bpf_program__fd(prog), cgroup_fd, in prog_attach()
|
/Linux-v5.4/samples/bpf/ |
D | xdp_fwd_user.c | 125 prog_fd = bpf_program__fd(prog); in main()
|
D | xdp_redirect_map_user.c | 165 dummy_prog_fd = bpf_program__fd(dummy_prog); in main()
|
D | xdp_redirect_user.c | 166 dummy_prog_fd = bpf_program__fd(dummy_prog); in main()
|
D | xdp_redirect_cpu_user.c | 755 prog_fd = bpf_program__fd(prog); in main()
|
/Linux-v5.4/tools/lib/bpf/ |
D | libbpf.map | 69 bpf_program__fd;
|
D | libbpf.h | 158 LIBBPF_API int bpf_program__fd(const struct bpf_program *prog);
|
D | libbpf.c | 4360 int bpf_program__fd(const struct bpf_program *prog) in bpf_program__fd() function 4872 *prog_fd = bpf_program__fd(first_prog); in bpf_prog_load_xattr() 4923 prog_fd = bpf_program__fd(prog); in bpf_program__attach_perf_event() 5217 prog_fd = bpf_program__fd(prog); in bpf_program__attach_raw_tracepoint()
|
/Linux-v5.4/tools/perf/util/ |
D | bpf-loader.c | 768 fd = bpf_program__fd(prog); in bpf__foreach_event() 786 fd = bpf_program__fd(prog); in bpf__foreach_event()
|
/Linux-v5.4/tools/perf/ |
D | builtin-trace.c | 2844 …return sc ? bpf_program__fd(sc->bpf_prog.sys_enter) : bpf_program__fd(trace->syscalls.unaugmented_… in trace__bpf_prog_sys_enter_fd() 2850 …return sc ? bpf_program__fd(sc->bpf_prog.sys_exit) : bpf_program__fd(trace->syscalls.unaugmented_p… in trace__bpf_prog_sys_exit_fd() 3097 prog_fd = bpf_program__fd(sc->bpf_prog.sys_enter); in trace__init_syscalls_bpf_prog_array_maps()
|
/Linux-v5.4/tools/bpf/bpftool/ |
D | prog.c | 1328 err = bpf_obj_pin(bpf_program__fd(prog), pinfile); in load_with_options()
|