Lines Matching refs:bpf_prog
80 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats()
84 struct bpf_prog *fp; in bpf_prog_alloc_no_stats()
115 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc()
118 struct bpf_prog *prog; in bpf_prog_alloc()
143 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
157 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done()
193 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
222 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc()
226 struct bpf_prog *fp; in bpf_prog_realloc()
252 void __bpf_prog_free(struct bpf_prog *fp) in __bpf_prog_free()
265 int bpf_prog_calc_tag(struct bpf_prog *fp) in bpf_prog_calc_tag()
374 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches()
414 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo()
434 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
439 struct bpf_prog *prog_adj; in bpf_patch_insn_single()
495 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns()
507 static void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp) in bpf_prog_kallsyms_del_subprogs()
515 void bpf_prog_kallsyms_del_all(struct bpf_prog *fp) in bpf_prog_kallsyms_del_all()
530 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
542 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
638 static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp) in bpf_prog_kallsyms_candidate()
643 static bool bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp) in bpf_prog_kallsyms_verify_off()
649 void bpf_prog_kallsyms_add(struct bpf_prog *fp) in bpf_prog_kallsyms_add()
662 void bpf_prog_kallsyms_del(struct bpf_prog *fp) in bpf_prog_kallsyms_del()
714 static struct bpf_prog *bpf_prog_ksym_find(unsigned long addr) in bpf_prog_ksym_find()
726 struct bpf_prog *prog; in search_bpf_extables()
769 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()
1124 void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) in bpf_jit_prog_release_other()
1133 struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *prog) in bpf_jit_blind_constants()
1136 struct bpf_prog *clone, *tmp; in bpf_jit_blind_constants()
1564 struct bpf_prog *prog; in ___bpf_prog_run()
1824 const struct bpf_prog *fp) in bpf_prog_array_compatible()
1848 static int bpf_check_tail_call(const struct bpf_prog *fp) in bpf_check_tail_call()
1873 static void bpf_prog_select_func(struct bpf_prog *fp) in bpf_prog_select_func()
1895 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err) in bpf_prog_select_runtime()
1955 struct bpf_prog prog;
1970 struct bpf_prog *null_prog;
2061 struct bpf_prog *old_prog) in bpf_prog_array_delete_safe()
2108 struct bpf_prog *prog) in bpf_prog_array_update_at()
2128 struct bpf_prog *exclude_prog, in bpf_prog_array_copy()
2129 struct bpf_prog *include_prog, in bpf_prog_array_copy()
2293 void bpf_prog_free(struct bpf_prog *fp) in bpf_prog_free()
2390 struct bpf_prog * __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
2398 void __weak bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile()