| /Linux-v5.15/tools/lib/bpf/ | 
| D | libbpf.h | 160 LIBBPF_API struct bpf_program * 163 LIBBPF_API struct bpf_program * 188 struct bpf_program; 189 LIBBPF_API struct bpf_program *bpf_program__next(struct bpf_program *prog, 197 LIBBPF_API struct bpf_program *bpf_program__prev(struct bpf_program *prog, 200 typedef void (*bpf_program_clear_priv_t)(struct bpf_program *, void *); 202 LIBBPF_API int bpf_program__set_priv(struct bpf_program *prog, void *priv, 205 LIBBPF_API void *bpf_program__priv(const struct bpf_program *prog); 206 LIBBPF_API void bpf_program__set_ifindex(struct bpf_program *prog, 209 LIBBPF_API const char *bpf_program__name(const struct bpf_program *prog); [all …] 
 | 
| D | libbpf.c | 73 static bool prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog); 222 					struct bpf_program *prog); 240 struct bpf_program {  struct 316 	struct bpf_program **progs;  argument 440 	struct bpf_program *programs; 530 void bpf_program__unload(struct bpf_program *prog)  in bpf_program__unload() 556 static void bpf_program__exit(struct bpf_program *prog)  in bpf_program__exit() 579 static char *__bpf_program__pin_name(struct bpf_program *prog)  in __bpf_program__pin_name() 611 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog,  in bpf_object__init_prog() 665 	struct bpf_program *prog, *progs;  in bpf_object__add_programs() [all …] 
 | 
| /Linux-v5.15/include/uapi/linux/netfilter/ | 
| D | xt_bpf.h | 16 	struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];  member 34 		struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];  member
  | 
| /Linux-v5.15/samples/bpf/ | 
| D | test_cgrp2_sock2.c | 38 	struct bpf_program *progs[2];  in main() 39 	struct bpf_program *prog;  in main()
  | 
| D | sampleip_user.c | 36 static int sampling_start(int freq, struct bpf_program *prog,  in sampling_start() 143 	struct bpf_program *prog;  in main()
  | 
| D | tracex1_user.c | 10 	struct bpf_program *prog;  in main()
  | 
| D | tracex7_user.c | 10 	struct bpf_program *prog;  in main()
  | 
| D | xdp_redirect_cpu_user.c | 69 	struct bpf_program *pos;  in print_avail_progs() 181 		struct bpf_program *prog;  in set_cpumap_prog() 318 	struct bpf_program *prog;  in main()
  | 
| D | tracex5_user.c | 38 	struct bpf_program *prog;  in main()
  | 
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ | 
| D | tailcalls.c | 13 	struct bpf_program *prog;  in test_tailcall_1() 151 	struct bpf_program *prog;  in test_tailcall_2() 229 	struct bpf_program *prog;  in test_tailcall_3() 307 	struct bpf_program *prog;  in test_tailcall_4() 395 	struct bpf_program *prog;  in test_tailcall_5() 483 	struct bpf_program *prog;  in test_tailcall_bpf2bpf_1() 567 	struct bpf_program *prog;  in test_tailcall_bpf2bpf_2() 645 	struct bpf_program *prog;  in test_tailcall_bpf2bpf_3() 742 	struct bpf_program *prog;  in test_tailcall_bpf2bpf_4()
  | 
| D | check_mtu.c | 44 	struct bpf_program *prog;  in test_check_mtu_xdp_attach() 79 				   struct bpf_program *prog,  in test_check_mtu_run_xdp() 139 				  struct bpf_program *prog,  in test_check_mtu_run_tc()
  | 
| D | fexit_bpf2bpf.c | 63 	struct bpf_program **prog = NULL;  in test_fexit_bpf2bpf_common() 88 	prog = calloc(sizeof(struct bpf_program *), prog_cnt);  in test_fexit_bpf2bpf_common() 215 	struct bpf_program *prog = NULL;  in test_second_attach() 271 	struct bpf_program *prog;  in test_fmod_ret_freplace()
  | 
| D | test_overhead.c | 65 	struct bpf_program *kprobe_prog, *kretprobe_prog, *raw_tp_prog;  in test_test_overhead() 66 	struct bpf_program *fentry_prog, *fexit_prog;  in test_test_overhead()
  | 
| D | sk_lookup.c | 71 	struct bpf_program *lookup_prog; 72 	struct bpf_program *reuseport_prog; 88 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog)  in attach_reuseport() 147 		       struct bpf_program *reuseport_prog)  in make_server() 471 static struct bpf_link *attach_lookup_prog(struct bpf_program *prog)  in attach_lookup_prog() 1053 			  struct bpf_program *lookup_prog,  in run_sk_assign() 1106 			     struct bpf_program *lookup_prog)  in run_sk_assign_v4() 1112 			     struct bpf_program *lookup_prog)  in run_sk_assign_v6() 1180 	struct bpf_program *prog1; 1181 	struct bpf_program *prog2;
  | 
| D | test_skb_pkt_end.c | 7 static int sanity_run(struct bpf_program *prog)  in sanity_run()
  | 
| D | reference_tracking.c | 13 	struct bpf_program *prog;  in test_reference_tracking()
  | 
| D | sockopt_multi.c | 9 	struct bpf_program *prog;  in prog_attach() 38 	struct bpf_program *prog;  in prog_detach()
  | 
| D | stacktrace_map_raw_tp.c | 11 	struct bpf_program *prog;  in test_stacktrace_map_raw_tp()
  | 
| D | load_bytes_relative.c | 15 	struct bpf_program *prog;  in test_load_bytes_relative()
  | 
| D | pe_preserve_elems.c | 9 static void test_one_map(struct bpf_map *map, struct bpf_program *prog,  in test_one_map()
  | 
| D | test_profiler.c | 9 static int sanity_run(struct bpf_program *prog)  in sanity_run()
  | 
| /Linux-v5.15/kernel/bpf/preload/iterators/ | 
| D | iterators.skel.h | 17 		struct bpf_program *dump_bpf_map; 18 		struct bpf_program *dump_bpf_prog;
  | 
| /Linux-v5.15/net/netfilter/ | 
| D | xt_bpf.c | 68 	return __bpf_mt_check_bytecode(info->bpf_program,  in bpf_mt_check() 78 		return __bpf_mt_check_bytecode(info->bpf_program,  in bpf_mt_check_v1()
  | 
| /Linux-v5.15/arch/um/drivers/ | 
| D | pcap_user.c | 51 		pri->compiled = uml_kmalloc(sizeof(struct bpf_program),  in pcap_user_open() 59 				   (struct bpf_program *) pri->compiled,  in pcap_user_open()
  | 
| /Linux-v5.15/tools/testing/selftests/bpf/ | 
| D | flow_dissector_load.h | 16 	struct bpf_program *prog, *main_prog;  in bpf_flow_load()
  |