| /Linux-v5.4/net/sched/ | 
| D | cls_bpf.c | 85 	struct cls_bpf_prog *prog;  in cls_bpf_classify()  local139 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog)  in cls_bpf_is_ebpf()
 144 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog,  in cls_bpf_offload_cmd()
 196 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog,  in cls_bpf_offload()
 216 				 struct cls_bpf_prog *prog,  in cls_bpf_stop_offload()
 227 					 struct cls_bpf_prog *prog)  in cls_bpf_offload_update_stats()
 257 static void cls_bpf_free_parms(struct cls_bpf_prog *prog)  in cls_bpf_free_parms()
 268 static void __cls_bpf_delete_prog(struct cls_bpf_prog *prog)  in __cls_bpf_delete_prog()
 279 	struct cls_bpf_prog *prog = container_of(to_rcu_work(work),  in cls_bpf_delete_prog_work()  local
 287 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog,  in __cls_bpf_delete()
 [all …]
 
 | 
| D | act_bpf.c | 38 	struct tcf_bpf *prog = to_bpf(act);  in tcf_bpf_act()  local90 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog)  in tcf_bpf_is_ebpf()
 95 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog,  in tcf_bpf_dump_bpf_info()
 113 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog,  in tcf_bpf_dump_ebpf_info()
 138 	struct tcf_bpf *prog = to_bpf(act);  in tcf_bpf_dump()  local
 262 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog,  in tcf_bpf_prog_fill_cfg()
 285 	struct tcf_bpf *prog;  in tcf_bpf_init()  local
 
 | 
| /Linux-v5.4/arch/x86/net/ | 
| D | bpf_jit_comp32.c | 208 	u8 *prog = *pprog;  in emit_ia32_mov_i()  local236 	u8 *prog = *pprog;  in emit_ia32_mov_r()  local
 287 	u8 *prog = *pprog;  in emit_ia32_mul_r()  local
 320 	u8 *prog = *pprog;  in emit_ia32_to_le_r64()  local
 368 	u8 *prog = *pprog;  in emit_ia32_to_be_r64()  local
 437 	u8 *prog = *pprog;  in emit_ia32_div_mod_r()  local
 484 	u8 *prog = *pprog;  in emit_ia32_shift_r()  local
 526 	u8 *prog = *pprog;  in emit_ia32_alu_r()  local
 581 	u8 *prog = *pprog;  in emit_ia32_alu_r64()  local
 600 	u8 *prog = *pprog;  in emit_ia32_alu_i()  local
 [all …]
 
 | 
| D | bpf_jit_comp.c | 197 	u8 *prog = *pprog;  in emit_prologue()  local232 	u8 *prog = *pprog;  in emit_bpf_tail_call()  local
 300 	u8 *prog = *pprog;  in emit_mov_imm32()  local
 341 	u8 *prog = *pprog;  in emit_mov_imm64()  local
 364 	u8 *prog = *pprog;  in emit_mov_reg()  local
 389 	u8 *prog = temp;  in do_jit()  local
 1062 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)  in bpf_int_jit_compile()
 
 | 
| /Linux-v5.4/drivers/clk/at91/ | 
| D | clk-programmable.c | 33 	struct clk_programmable *prog = to_clk_programmable(hw);  in clk_programmable_recalc_rate()  local51 	struct clk_programmable *prog = to_clk_programmable(hw);  in clk_programmable_determine_rate()  local
 103 	struct clk_programmable *prog = to_clk_programmable(hw);  in clk_programmable_set_parent()  local
 125 	struct clk_programmable *prog = to_clk_programmable(hw);  in clk_programmable_get_parent()  local
 143 	struct clk_programmable *prog = to_clk_programmable(hw);  in clk_programmable_set_rate()  local
 187 	struct clk_programmable *prog;  in at91_clk_register_programmable()  local
 
 | 
| /Linux-v5.4/kernel/bpf/ | 
| D | syscall.c | 1202 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog)  in find_prog_type()1262 static int bpf_prog_charge_memlock(struct bpf_prog *prog)  in bpf_prog_charge_memlock()
 1277 static void bpf_prog_uncharge_memlock(struct bpf_prog *prog)  in bpf_prog_uncharge_memlock()
 1285 static int bpf_prog_alloc_id(struct bpf_prog *prog)  in bpf_prog_alloc_id()
 1304 void bpf_prog_free_id(struct bpf_prog *prog, bool do_idr_lock)  in bpf_prog_free_id()
 1339 static void __bpf_prog_put_noref(struct bpf_prog *prog, bool deferred)  in __bpf_prog_put_noref()
 1351 static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock)  in __bpf_prog_put()
 1361 void bpf_prog_put(struct bpf_prog *prog)  in bpf_prog_put()
 1369 	struct bpf_prog *prog = filp->private_data;  in bpf_prog_release()  local
 1375 static void bpf_prog_get_stats(const struct bpf_prog *prog,  in bpf_prog_get_stats()
 [all …]
 
 | 
| D | offload.c | 80 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr)  in bpf_prog_offload_init()127 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog)  in bpf_prog_offload_verifier_prep()
 212 static void __bpf_prog_offload_destroy(struct bpf_prog *prog)  in __bpf_prog_offload_destroy()
 227 void bpf_prog_offload_destroy(struct bpf_prog *prog)  in bpf_prog_offload_destroy()
 235 static int bpf_prog_offload_translate(struct bpf_prog *prog)  in bpf_prog_offload_translate()
 256 int bpf_prog_offload_compile(struct bpf_prog *prog)  in bpf_prog_offload_compile()
 264 	struct bpf_prog *prog;  member
 295 			       struct bpf_prog *prog)  in bpf_prog_offload_info_fill()
 546 static bool __bpf_offload_dev_match(struct bpf_prog *prog,  in __bpf_offload_dev_match()
 567 bool bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev)  in bpf_offload_dev_match()
 [all …]
 
 | 
| D | cgroup.c | 291 int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,  in __cgroup_bpf_attach()420 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,  in __cgroup_bpf_detach()
 540 			   enum bpf_prog_type ptype, struct bpf_prog *prog)  in cgroup_bpf_prog_attach()
 557 	struct bpf_prog *prog;  in cgroup_bpf_prog_detach()  local
 776 cgroup_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in cgroup_base_func_proto()
 807 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in cgroup_dev_func_proto()
 814 				       const struct bpf_prog *prog,  in cgroup_dev_is_valid_access()
 1284 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in sysctl_func_proto()
 1305 				   const struct bpf_prog *prog,  in sysctl_is_valid_access()
 1334 				     struct bpf_prog *prog, u32 *target_size)  in sysctl_convert_ctx_access()
 [all …]
 
 | 
| D | core.c | 107 	struct bpf_prog *prog;  in bpf_prog_alloc()  local131 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog)  in bpf_prog_alloc_jited_linfo()
 145 void bpf_prog_free_jited_linfo(struct bpf_prog *prog)  in bpf_prog_free_jited_linfo()
 151 void bpf_prog_free_unused_jited_linfo(struct bpf_prog *prog)  in bpf_prog_free_unused_jited_linfo()
 181 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog,  in bpf_prog_fill_jited_linfo()
 210 void bpf_prog_free_linfo(struct bpf_prog *prog)  in bpf_prog_free_linfo()
 372 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old,  in bpf_adj_branches()
 412 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta)  in bpf_adj_linfo()
 432 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off,  in bpf_patch_insn_single()
 493 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt)  in bpf_remove_insns()
 [all …]
 
 | 
| /Linux-v5.4/drivers/media/rc/ | 
| D | bpf-lirc.c | 88 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in lirc_mode2_func_proto()126 				       const struct bpf_prog *prog,  in lirc_mode2_is_valid_access()
 140 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog)  in lirc_bpf_attach()
 178 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog)  in lirc_bpf_detach()
 247 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog)  in lirc_prog_attach()
 268 	struct bpf_prog *prog;  in lirc_prog_detach()  local
 
 | 
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/ | 
| D | offload.c | 114 		    struct bpf_prog *prog)  in nfp_map_ptrs_record()147 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog,  in nfp_prog_prepare()
 187 static int nfp_bpf_verifier_prep(struct bpf_prog *prog)  in nfp_bpf_verifier_prep()
 215 static int nfp_bpf_translate(struct bpf_prog *prog)  in nfp_bpf_translate()
 243 static void nfp_bpf_destroy(struct bpf_prog *prog)  in nfp_bpf_destroy()
 481 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog,  in nfp_net_bpf_load()
 562 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog,  in nfp_net_bpf_offload()
 
 | 
| /Linux-v5.4/drivers/net/netdevsim/ | 
| D | bpf.c | 31 	struct bpf_prog *prog;  member87 static void nsim_prog_set_loaded(struct bpf_prog *prog, bool loaded)  in nsim_prog_set_loaded()
 99 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog)  in nsim_bpf_offload()
 117 	struct bpf_prog *prog = cls_bpf->prog;  in nsim_bpf_setup_tc_block_cb()  local
 217 				struct bpf_prog *prog)  in nsim_bpf_create_prog()
 250 static int nsim_bpf_verifier_prep(struct bpf_prog *prog)  in nsim_bpf_verifier_prep()
 261 static int nsim_bpf_translate(struct bpf_prog *prog)  in nsim_bpf_translate()
 269 static void nsim_bpf_destroy_prog(struct bpf_prog *prog)  in nsim_bpf_destroy_prog()
 
 | 
| /Linux-v5.4/tools/testing/selftests/seccomp/ | 
| D | seccomp_bpf.c | 285 	struct sock_fprog prog = {  in TEST()  local317 	struct sock_fprog prog = { };  in TEST()  local
 354 	struct sock_fprog prog = { };  in TEST()  local
 391 	struct sock_fprog prog = {  in TEST()  local
 414 	struct sock_fprog prog = {  in TEST()  local
 439 	struct sock_fprog prog = {  in TEST()  local
 456 	struct sock_fprog prog = {  in TEST()  local
 475 	struct sock_fprog prog = {  in TEST()  local
 497 	struct sock_fprog prog = {  in TEST_SIGNAL()  local
 519 	struct sock_fprog prog = {  in TEST_SIGNAL()  local
 [all …]
 
 | 
| /Linux-v5.4/kernel/trace/ | 
| D | bpf_trace.c | 687 tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in tracing_func_proto()744 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in kprobe_prog_func_proto()
 766 					const struct bpf_prog *prog,  in kprobe_prog_is_valid_access()
 860 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in tp_prog_func_proto()
 875 				    const struct bpf_prog *prog,  in tp_prog_is_valid_access()
 924 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in pe_prog_func_proto()
 1051 raw_tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)  in raw_tp_prog_func_proto()
 1067 					const struct bpf_prog *prog,  in raw_tp_prog_is_valid_access()
 1090 						 const struct bpf_prog *prog,  in raw_tp_writable_prog_is_valid_access()
 1110 				    const struct bpf_prog *prog,  in pe_prog_is_valid_access()
 [all …]
 
 | 
| /Linux-v5.4/tools/lib/bpf/ | 
| D | libbpf.c | 298 void bpf_program__unload(struct bpf_program *prog)  in bpf_program__unload()324 static void bpf_program__exit(struct bpf_program *prog)  in bpf_program__exit()
 347 static char *__bpf_program__pin_name(struct bpf_program *prog)  in __bpf_program__pin_name()
 360 		  struct bpf_program *prog)  in bpf_program__init()
 409 	struct bpf_program prog, *progs;  in bpf_object__add_program()  local
 445 	struct bpf_program *prog;  in bpf_object__init_prog_names()  local
 1665 	struct bpf_program *prog;  in bpf_object__find_prog_by_idx()  local
 1726 bpf_program__collect_reloc(struct bpf_program *prog, GElf_Shdr *shdr,  in bpf_program__collect_reloc()
 2231 check_btf_ext_reloc_err(struct bpf_program *prog, int err,  in check_btf_ext_reloc_err()
 2259 bpf_program_reloc_btf_ext(struct bpf_program *prog, struct bpf_object *obj,  in bpf_program_reloc_btf_ext()
 [all …]
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | bpf.h | 343 	struct bpf_prog		*prog;  member386 	struct bpf_prog *prog;  member
 512 	struct bpf_prog *prog;  member
 763 static inline struct bpf_prog * __must_check bpf_prog_add(struct bpf_prog *prog,  in bpf_prog_add()
 769 static inline void bpf_prog_sub(struct bpf_prog *prog, int i)  in bpf_prog_sub()
 773 static inline void bpf_prog_put(struct bpf_prog *prog)  in bpf_prog_put()
 777 static inline struct bpf_prog * __must_check bpf_prog_inc(struct bpf_prog *prog)  in bpf_prog_inc()
 783 bpf_prog_inc_not_zero(struct bpf_prog *prog)  in bpf_prog_inc_not_zero()
 860 static inline int bpf_prog_test_run_xdp(struct bpf_prog *prog,  in bpf_prog_test_run_xdp()
 867 static inline int bpf_prog_test_run_skb(struct bpf_prog *prog,  in bpf_prog_test_run_skb()
 [all …]
 
 | 
| /Linux-v5.4/net/core/ | 
| D | filter.c | 536 static int bpf_convert_filter(struct sock_filter *prog, int len,  in bpf_convert_filter()1143 static void __bpf_prog_release(struct bpf_prog *prog)  in __bpf_prog_release()
 1432 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk)  in __sk_attach_prog()
 1462 	struct bpf_prog *prog;  in __get_filter()  local
 1507 	struct bpf_prog *prog = __get_filter(fprog, sk);  in sk_attach_filter()  local
 1525 	struct bpf_prog *prog = __get_filter(fprog, sk);  in sk_reuseport_attach_filter()  local
 1552 	struct bpf_prog *prog = __get_bpf(ufd, sk);  in sk_attach_bpf()  local
 1569 	struct bpf_prog *prog;  in sk_reuseport_attach_bpf()  local
 1612 void sk_reuseport_prog_free(struct bpf_prog *prog)  in sk_reuseport_prog_free()
 5573 				    struct bpf_prog *prog, u32 *target_size)  in bpf_tcp_sock_convert_ctx_access()
 [all …]
 
 | 
| D | sock_reuseport.c | 226 				   struct bpf_prog *prog, struct sk_buff *skb,  in run_bpf_filter()271 	struct bpf_prog *prog;  in reuseport_select_sock()  local
 319 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog)  in reuseport_attach_prog()
 
 | 
| /Linux-v5.4/samples/bpf/ | 
| D | xdp_fwd_user.c | 62 static void usage(const char *prog)  in usage()78 	struct bpf_program *prog;  in main()  local
 
 | 
| D | hbm.c | 122 static int prog_load(char *prog)  in prog_load()160 static int run_bpf_prog(char *prog, int cg_id)  in run_bpf_prog()
 437 	char *prog = "hbm_out_kern.o";  in main()  local
 
 | 
| D | xdp_redirect_map_user.c | 86 static void usage(const char *prog)  in usage()103 	struct bpf_program *prog, *dummy_prog;  in main()  local
 
 | 
| D | xdp_redirect_user.c | 86 static void usage(const char *prog)  in usage()104 	struct bpf_program *prog, *dummy_prog;  in main()  local
 
 | 
| /Linux-v5.4/net/bpf/ | 
| D | test_run.c | 17 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat,  in bpf_test_run()241 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,  in bpf_prog_test_run_skb()
 342 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,  in bpf_prog_test_run_xdp()
 396 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog,  in bpf_prog_test_run_flow_dissector()
 
 | 
| /Linux-v5.4/drivers/scsi/aic94xx/ | 
| D | aic94xx_seq.c | 178 	const u32 *prog = (u32 *) _prog;  in asd_verify_cseq()  local214 	const u32 *prog = (u32 *) _prog;  in asd_verify_lseq()  local
 249 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog,  in asd_verify_seq()
 271 			    const u8 * const prog, u32 size, u8 lseq_mask)  in asd_download_seq()
 346 	const u32 *prog = (u32 *) _prog;  in asd_download_seq()  local
 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ | 
| D | sockopt_multi.c | 9 	struct bpf_program *prog;  in prog_attach()  local38 	struct bpf_program *prog;  in prog_detach()  local
 
 |