Lines Matching refs:bpf_prog
81 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats()
85 struct bpf_prog *fp; in bpf_prog_alloc_no_stats()
116 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc()
119 struct bpf_prog *prog; in bpf_prog_alloc()
144 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
158 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done()
194 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
223 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc()
227 struct bpf_prog *fp; in bpf_prog_realloc()
253 void __bpf_prog_free(struct bpf_prog *fp) in __bpf_prog_free()
266 int bpf_prog_calc_tag(struct bpf_prog *fp) in bpf_prog_calc_tag()
375 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches()
422 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo()
442 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
447 struct bpf_prog *prog_adj; in bpf_patch_insn_single()
503 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns()
515 static void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp) in bpf_prog_kallsyms_del_subprogs()
523 void bpf_prog_kallsyms_del_all(struct bpf_prog *fp) in bpf_prog_kallsyms_del_all()
538 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
550 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
646 static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp) in bpf_prog_kallsyms_candidate()
651 static bool bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp) in bpf_prog_kallsyms_verify_off()
657 void bpf_prog_kallsyms_add(struct bpf_prog *fp) in bpf_prog_kallsyms_add()
670 void bpf_prog_kallsyms_del(struct bpf_prog *fp) in bpf_prog_kallsyms_del()
722 static struct bpf_prog *bpf_prog_ksym_find(unsigned long addr) in bpf_prog_ksym_find()
734 struct bpf_prog *prog; in search_bpf_extables()
777 int bpf_jit_add_poke_descriptor(struct bpf_prog *prog, in bpf_jit_add_poke_descriptor()
916 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
929 int bpf_jit_get_func_addr(const struct bpf_prog *prog, in bpf_jit_get_func_addr()
1099 static struct bpf_prog *bpf_prog_clone_create(struct bpf_prog *fp_other, in bpf_prog_clone_create()
1103 struct bpf_prog *fp; in bpf_prog_clone_create()
1117 static void bpf_prog_clone_free(struct bpf_prog *fp) in bpf_prog_clone_free()
1132 void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) in bpf_jit_prog_release_other()
1141 struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *prog) in bpf_jit_blind_constants()
1144 struct bpf_prog *clone, *tmp; in bpf_jit_blind_constants()
1572 struct bpf_prog *prog; in ___bpf_prog_run()
1832 const struct bpf_prog *fp) in bpf_prog_array_compatible()
1856 static int bpf_check_tail_call(const struct bpf_prog *fp) in bpf_check_tail_call()
1881 static void bpf_prog_select_func(struct bpf_prog *fp) in bpf_prog_select_func()
1903 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err) in bpf_prog_select_runtime()
1963 struct bpf_prog prog;
1978 struct bpf_prog *null_prog;
2069 struct bpf_prog *old_prog) in bpf_prog_array_delete_safe()
2116 struct bpf_prog *prog) in bpf_prog_array_update_at()
2136 struct bpf_prog *exclude_prog, in bpf_prog_array_copy()
2137 struct bpf_prog *include_prog, in bpf_prog_array_copy()
2304 void bpf_prog_free(struct bpf_prog *fp) in bpf_prog_free()
2406 struct bpf_prog * __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
2414 void __weak bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile()