Lines Matching refs:bpf_prog
97 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats()
101 struct bpf_prog *fp; in bpf_prog_alloc_no_stats()
140 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc()
143 struct bpf_prog *prog; in bpf_prog_alloc()
168 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
182 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done()
218 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
247 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc()
251 struct bpf_prog *fp; in bpf_prog_realloc()
277 void __bpf_prog_free(struct bpf_prog *fp) in __bpf_prog_free()
290 int bpf_prog_calc_tag(struct bpf_prog *fp) in bpf_prog_calc_tag()
412 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches()
459 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo()
479 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
484 struct bpf_prog *prog_adj; in bpf_patch_insn_single()
540 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns()
556 static void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp) in bpf_prog_kallsyms_del_subprogs()
564 void bpf_prog_kallsyms_del_all(struct bpf_prog *fp) in bpf_prog_kallsyms_del_all()
579 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
588 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
688 static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp) in bpf_prog_kallsyms_candidate()
693 void bpf_prog_kallsyms_add(struct bpf_prog *fp) in bpf_prog_kallsyms_add()
723 void bpf_prog_kallsyms_del(struct bpf_prog *fp) in bpf_prog_kallsyms_del()
779 struct bpf_prog *bpf_prog_ksym_find(unsigned long addr) in bpf_prog_ksym_find()
791 struct bpf_prog *prog; in search_bpf_extables()
834 int bpf_jit_add_poke_descriptor(struct bpf_prog *prog, in bpf_jit_add_poke_descriptor()
1218 bpf_jit_binary_pack_hdr(const struct bpf_prog *fp) in bpf_jit_binary_pack_hdr()
1228 bpf_jit_binary_hdr(const struct bpf_prog *fp) in bpf_jit_binary_hdr()
1241 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
1253 int bpf_jit_get_func_addr(const struct bpf_prog *prog, in bpf_jit_get_func_addr()
1429 static struct bpf_prog *bpf_prog_clone_create(struct bpf_prog *fp_other, in bpf_prog_clone_create()
1433 struct bpf_prog *fp; in bpf_prog_clone_create()
1447 static void bpf_prog_clone_free(struct bpf_prog *fp) in bpf_prog_clone_free()
1462 void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) in bpf_jit_prog_release_other()
1471 struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *prog) in bpf_jit_blind_constants()
1474 struct bpf_prog *clone, *tmp; in bpf_jit_blind_constants()
2029 struct bpf_prog *prog; in ___bpf_prog_run()
2307 const struct bpf_prog *fp) in bpf_prog_map_compatible()
2357 static int bpf_check_tail_call(const struct bpf_prog *fp) in bpf_check_tail_call()
2380 static void bpf_prog_select_func(struct bpf_prog *fp) in bpf_prog_select_func()
2412 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err) in bpf_prog_select_runtime()
2474 struct bpf_prog prog;
2594 struct bpf_prog *old_prog) in bpf_prog_array_delete_safe()
2641 struct bpf_prog *prog) in bpf_prog_array_update_at()
2661 struct bpf_prog *exclude_prog, in bpf_prog_array_copy()
2662 struct bpf_prog *include_prog, in bpf_prog_array_copy()
2835 void bpf_prog_free(struct bpf_prog *fp) in bpf_prog_free()
2942 struct bpf_prog * __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
2950 void __weak bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile()