Lines Matching refs:bpf_prog
78 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats()
82 struct bpf_prog *fp; in bpf_prog_alloc_no_stats()
107 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc()
110 struct bpf_prog *prog; in bpf_prog_alloc()
134 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
148 void bpf_prog_free_jited_linfo(struct bpf_prog *prog) in bpf_prog_free_jited_linfo()
154 void bpf_prog_free_unused_jited_linfo(struct bpf_prog *prog) in bpf_prog_free_unused_jited_linfo()
184 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
213 void bpf_prog_free_linfo(struct bpf_prog *prog) in bpf_prog_free_linfo()
219 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc()
223 struct bpf_prog *fp; in bpf_prog_realloc()
255 void __bpf_prog_free(struct bpf_prog *fp) in __bpf_prog_free()
267 int bpf_prog_calc_tag(struct bpf_prog *fp) in bpf_prog_calc_tag()
376 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches()
416 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo()
436 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
441 struct bpf_prog *prog_adj; in bpf_patch_insn_single()
497 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns()
509 static void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp) in bpf_prog_kallsyms_del_subprogs()
517 void bpf_prog_kallsyms_del_all(struct bpf_prog *fp) in bpf_prog_kallsyms_del_all()
531 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
543 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
639 static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp) in bpf_prog_kallsyms_candidate()
644 static bool bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp) in bpf_prog_kallsyms_verify_off()
650 void bpf_prog_kallsyms_add(struct bpf_prog *fp) in bpf_prog_kallsyms_add()
663 void bpf_prog_kallsyms_del(struct bpf_prog *fp) in bpf_prog_kallsyms_del()
715 static struct bpf_prog *bpf_prog_ksym_find(unsigned long addr) in bpf_prog_ksym_find()
727 struct bpf_prog *prog; in search_bpf_extables()
770 int bpf_jit_add_poke_descriptor(struct bpf_prog *prog, in bpf_jit_add_poke_descriptor()
908 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
921 int bpf_jit_get_func_addr(const struct bpf_prog *prog, in bpf_jit_get_func_addr()
1091 static struct bpf_prog *bpf_prog_clone_create(struct bpf_prog *fp_other, in bpf_prog_clone_create()
1095 struct bpf_prog *fp; in bpf_prog_clone_create()
1109 static void bpf_prog_clone_free(struct bpf_prog *fp) in bpf_prog_clone_free()
1122 void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) in bpf_jit_prog_release_other()
1131 struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *prog) in bpf_jit_blind_constants()
1134 struct bpf_prog *clone, *tmp; in bpf_jit_blind_constants()
1535 struct bpf_prog *prog; in ___bpf_prog_run()
1734 const struct bpf_prog *fp) in bpf_prog_array_compatible()
1752 static int bpf_check_tail_call(const struct bpf_prog *fp) in bpf_check_tail_call()
1777 static void bpf_prog_select_func(struct bpf_prog *fp) in bpf_prog_select_func()
1796 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err) in bpf_prog_select_runtime()
1854 struct bpf_prog prog;
1869 struct bpf_prog *null_prog;
1960 struct bpf_prog *old_prog) in bpf_prog_array_delete_safe()
2007 struct bpf_prog *prog) in bpf_prog_array_update_at()
2027 struct bpf_prog *exclude_prog, in bpf_prog_array_copy()
2028 struct bpf_prog *include_prog, in bpf_prog_array_copy()
2156 void bpf_prog_free(struct bpf_prog *fp) in bpf_prog_free()
2252 struct bpf_prog * __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
2260 void __weak bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile()