Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/linux-6.3-rc2/net/sched/
A Dcls_bpf.c87 struct cls_bpf_prog *prog; in cls_bpf_classify() local
217 struct cls_bpf_prog *prog, in cls_bpf_stop_offload()
228 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats()
317 struct cls_bpf_prog *prog, *tmp; in cls_bpf_destroy() local
329 struct cls_bpf_prog *prog; in cls_bpf_get() local
410 struct cls_bpf_prog *prog, unsigned long base, in cls_bpf_set_parms()
468 struct cls_bpf_prog *prog; in cls_bpf_change() local
585 struct cls_bpf_prog *prog = fh; in cls_bpf_dump() local
638 struct cls_bpf_prog *prog = fh; in cls_bpf_bind_class() local
647 struct cls_bpf_prog *prog; in cls_bpf_walk() local
[all …]
A Dact_bpf.c40 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local
94 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf()
99 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info()
117 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_ebpf_info()
142 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() local
266 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, in tcf_bpf_prog_fill_cfg()
290 struct tcf_bpf *prog; in tcf_bpf_init() local
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c260 u8 *prog = *pprog; in push_callee_regs() local
275 u8 *prog = *pprog; in pop_callee_regs() local
296 u8 *prog = *pprog; in emit_prologue() local
326 u8 *prog = *pprog; in emit_patch() local
362 u8 *prog; in __bpf_arch_text_poke() local
421 u8 *prog = *pprog; in emit_indirect_jump() local
443 u8 *prog = *pprog; in emit_return() local
627 u8 *prog = *pprog; in emit_mov_imm32() local
978 u8 *prog = temp; in do_jit() local
2145 u8 *prog; in arch_prepare_bpf_trampoline() local
[all …]
A Dbpf_jit_comp32.c209 u8 *prog = *pprog; in emit_ia32_mov_i() local
237 u8 *prog = *pprog; in emit_ia32_mov_r() local
288 u8 *prog = *pprog; in emit_ia32_mul_r() local
321 u8 *prog = *pprog; in emit_ia32_to_le_r64() local
369 u8 *prog = *pprog; in emit_ia32_to_be_r64() local
438 u8 *prog = *pprog; in emit_ia32_div_mod_r() local
485 u8 *prog = *pprog; in emit_ia32_shift_r() local
527 u8 *prog = *pprog; in emit_ia32_alu_r() local
582 u8 *prog = *pprog; in emit_ia32_alu_r64() local
601 u8 *prog = *pprog; in emit_ia32_alu_i() local
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dtrampoline.c108 bool bpf_prog_has_trampoline(const struct bpf_prog *prog) in bpf_prog_has_trampoline()
701 int bpf_trampoline_link_cgroup_shim(struct bpf_prog *prog, in bpf_trampoline_link_cgroup_shim()
767 void bpf_trampoline_unlink_cgroup_shim(struct bpf_prog *prog) in bpf_trampoline_unlink_cgroup_shim()
885 static void notrace update_prog_stats(struct bpf_prog *prog, in update_prog_stats()
919 static u64 notrace __bpf_prog_enter_lsm_cgroup(struct bpf_prog *prog, in __bpf_prog_enter_lsm_cgroup()
944 u64 notrace __bpf_prog_enter_sleepable_recur(struct bpf_prog *prog, in __bpf_prog_enter_sleepable_recur()
972 static u64 notrace __bpf_prog_enter_sleepable(struct bpf_prog *prog, in __bpf_prog_enter_sleepable()
994 static u64 notrace __bpf_prog_enter(struct bpf_prog *prog, in __bpf_prog_enter()
1006 static void notrace __bpf_prog_exit(struct bpf_prog *prog, u64 start, in __bpf_prog_exit()
1027 bpf_trampoline_enter_t bpf_trampoline_enter(const struct bpf_prog *prog) in bpf_trampoline_enter()
[all …]
A Doffload.c107 static void __bpf_prog_offload_destroy(struct bpf_prog *prog) in __bpf_prog_offload_destroy()
225 int bpf_prog_dev_bound_init(struct bpf_prog *prog, union bpf_attr *attr) in bpf_prog_dev_bound_init()
286 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog) in bpf_prog_offload_verifier_prep()
371 void bpf_prog_dev_bound_destroy(struct bpf_prog *prog) in bpf_prog_dev_bound_destroy()
392 static int bpf_prog_offload_translate(struct bpf_prog *prog) in bpf_prog_offload_translate()
413 int bpf_prog_offload_compile(struct bpf_prog *prog) in bpf_prog_offload_compile()
421 struct bpf_prog *prog; member
452 struct bpf_prog *prog) in bpf_prog_offload_info_fill()
678 static bool __bpf_offload_dev_match(struct bpf_prog *prog, in __bpf_offload_dev_match()
727 bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map) in bpf_offload_prog_map_match()
[all …]
A Dcgroup.c37 const struct bpf_prog *prog; in bpf_prog_run_array_cg() local
209 struct bpf_prog *prog, in bpf_cgroup_storages_alloc()
557 struct bpf_prog *prog, in find_attach_entry()
851 struct bpf_prog *prog, in find_detach_entry()
1086 struct bpf_prog *prog; in __cgroup_bpf_query() local
1160 struct bpf_prog *prog; in cgroup_bpf_prog_detach() local
1624 const struct bpf_prog *prog, in cgroup_dev_is_valid_access()
2163 const struct bpf_prog *prog, in sysctl_is_valid_access()
2319 const struct bpf_prog *prog, in cg_sockopt_is_valid_access()
2387 struct bpf_prog *prog, in cg_sockopt_convert_ctx_access()
[all …]
A Dsyscall.c2071 struct bpf_prog *prog; in bpf_prog_put_deferred() local
2273 struct bpf_prog *prog; in __bpf_prog_get() local
3381 struct bpf_prog *prog; in bpf_raw_tracepoint_open() local
3491 struct bpf_prog *prog; in bpf_prog_attach() local
3638 struct bpf_prog *prog; in bpf_prog_test_run() local
3712 struct bpf_prog *prog; in bpf_prog_get_curr_or_next() local
3733 struct bpf_prog *prog; in bpf_prog_by_id() local
3750 struct bpf_prog *prog; in bpf_prog_get_fd_by_id() local
3921 struct bpf_prog *prog, in bpf_prog_get_info_by_fd()
4548 struct bpf_prog *prog; in link_create() local
[all …]
A Dbpf_lsm.c98 const struct bpf_prog *prog) in bpf_lsm_verify_prog()
143 static bool bpf_ima_inode_hash_allowed(const struct bpf_prog *prog) in bpf_ima_inode_hash_allowed()
197 bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_lsm_func_proto()
365 bool bpf_lsm_is_trusted(const struct bpf_prog *prog) in bpf_lsm_is_trusted()
A Dprog_iter.c16 struct bpf_prog *prog; in bpf_prog_seq_start() local
42 DEFINE_BPF_ITER_FUNC(bpf_prog, struct bpf_iter_meta *meta, struct bpf_prog *prog) in DEFINE_BPF_ITER_FUNC()
48 struct bpf_prog *prog; in DEFINE_BPF_ITER_FUNC() local
A Dbpf_iter.c25 struct bpf_prog *prog; member
334 struct bpf_prog *prog) in cache_btf_id()
339 bool bpf_iter_prog_supported(struct bpf_prog *prog) in bpf_iter_prog_supported()
373 bpf_iter_get_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_iter_get_func_proto()
508 struct bpf_prog *prog) in bpf_iter_link_attach()
581 struct bpf_prog *prog) in init_seq_meta()
596 struct bpf_prog *prog; in prepare_seq_file() local
695 int bpf_iter_run_prog(struct bpf_prog *prog, void *ctx) in bpf_iter_run_prog()
A Ddispatcher.c26 struct bpf_dispatcher *d, struct bpf_prog *prog) in bpf_dispatcher_find_prog()
44 struct bpf_prog *prog) in bpf_dispatcher_add_prog()
69 struct bpf_prog *prog) in bpf_dispatcher_remove_prog()
A Dcore.c132 struct bpf_prog *prog; in bpf_prog_alloc() local
157 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
171 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done()
207 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
551 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
560 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
738 struct bpf_prog *prog; in search_bpf_extables() local
1836 struct bpf_prog *prog; in ___bpf_prog_run() local
2231 struct bpf_prog prog; member
2397 struct bpf_prog *prog) in bpf_prog_array_update_at()
[all …]
/linux-6.3-rc2/drivers/clk/at91/
A Dclk-programmable.c35 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_recalc_rate() local
53 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_determine_rate() local
105 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local
130 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local
151 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_rate() local
183 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_save_context() local
195 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_restore_context() local
222 struct clk_programmable *prog; in at91_clk_register_programmable() local
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dtailcalls.c13 struct bpf_program *prog; in test_tailcall_1() local
149 struct bpf_program *prog; in test_tailcall_2() local
225 struct bpf_program *prog; in test_tailcall_count() local
321 struct bpf_program *prog; in test_tailcall_4() local
411 struct bpf_program *prog; in test_tailcall_5() local
501 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() local
585 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() local
665 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() local
760 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() local
A Dcustom_sec_handlers.c13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog()
21 static int custom_prepare_load_prog(struct bpf_program *prog, in custom_prepare_load_prog()
32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
A Dcheck_mtu.c44 struct bpf_program *prog; in test_check_mtu_xdp_attach() local
79 struct bpf_program *prog, in test_check_mtu_run_xdp()
132 struct bpf_program *prog, in test_check_mtu_run_tc()
/linux-6.3-rc2/drivers/media/rc/
A Dbpf-lirc.c83 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in lirc_mode2_func_proto()
123 const struct bpf_prog *prog, in lirc_mode2_is_valid_access()
137 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_attach()
175 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_detach()
248 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in lirc_prog_attach()
269 struct bpf_prog *prog; in lirc_prog_detach() local
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c112 struct bpf_prog *prog) in nfp_map_ptrs_record()
151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare()
191 static int nfp_bpf_verifier_prep(struct bpf_prog *prog) in nfp_bpf_verifier_prep()
219 static int nfp_bpf_translate(struct bpf_prog *prog) in nfp_bpf_translate()
247 static void nfp_bpf_destroy(struct bpf_prog *prog) in nfp_bpf_destroy()
484 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu()
496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load()
575 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_offload()
/linux-6.3-rc2/drivers/net/netdevsim/
A Dbpf.c31 struct bpf_prog *prog; member
92 static void nsim_prog_set_loaded(struct bpf_prog *prog, bool loaded) in nsim_prog_set_loaded()
104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload()
122 struct bpf_prog *prog = cls_bpf->prog; in nsim_bpf_setup_tc_block_cb() local
219 struct bpf_prog *prog) in nsim_bpf_create_prog()
254 static int nsim_bpf_verifier_prep(struct bpf_prog *prog) in nsim_bpf_verifier_prep()
265 static int nsim_bpf_translate(struct bpf_prog *prog) in nsim_bpf_translate()
273 static void nsim_bpf_destroy_prog(struct bpf_prog *prog) in nsim_bpf_destroy_prog()
/linux-6.3-rc2/include/linux/
A Dbpf_lsm.h55 static inline bool bpf_lsm_is_trusted(const struct bpf_prog *prog) in bpf_lsm_is_trusted()
61 const struct bpf_prog *prog) in bpf_lsm_verify_prog()
76 static inline void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, in bpf_lsm_find_cgroup_shim()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.c1050 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local
2987 struct bpf_program *prog; in obj_needs_vmlinux_btf() local
3927 struct bpf_program *prog; in bpf_object__find_program_by_name() local
4138 struct bpf_program *prog; in find_prog_by_sec_insn() local
4167 struct bpf_program *prog; in bpf_object__collect_prog_relos() local
5674 struct bpf_program *prog; in bpf_object__relocate_core() local
6333 struct bpf_program *prog; in bpf_object__free_relocs() local
6376 struct bpf_program *prog; in bpf_object__relocate() local
7108 struct bpf_program *prog; in bpf_object__load_progs() local
7148 struct bpf_program *prog; in bpf_object_init_progs() local
[all …]
/linux-6.3-rc2/net/ipv4/
A Dbpf_tcp_ca.c58 const struct bpf_prog *prog, in bpf_tcp_ca_is_valid_access()
148 static u32 prog_ops_moff(const struct bpf_prog *prog) in prog_ops_moff()
163 const struct bpf_prog *prog) in bpf_tcp_ca_get_func_proto()
252 const struct bpf_prog *prog) in bpf_tcp_ca_check_member()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_loader.c46 struct bpf_program *prog, in parse_test_spec()
102 struct bpf_program *prog) in prepare_case()
135 struct bpf_program *prog, in validate_case()
162 struct bpf_program *prog, *tprog; in run_subtest() local
/linux-6.3-rc2/samples/hid/
A Dhid_surface_dial.c49 static void usage(const char *prog) in usage()
89 static int attach_prog(struct hid_surface_dial *skel, struct bpf_program *prog, int hid_id) in attach_prog()
147 struct bpf_program *prog; in main() local

Completed in 83 milliseconds

12345678910>>...14