Lines Matching refs:bpf_prog
78 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc()
82 struct bpf_prog *fp; in bpf_prog_alloc()
106 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc()
110 struct bpf_prog *fp; in bpf_prog_realloc()
144 void __bpf_prog_free(struct bpf_prog *fp) in __bpf_prog_free()
150 int bpf_prog_calc_tag(struct bpf_prog *fp) in bpf_prog_calc_tag()
256 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, u32 delta, in bpf_adj_branches()
295 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
300 struct bpf_prog *prog_adj; in bpf_patch_insn_single()
353 void bpf_prog_kallsyms_del_subprogs(struct bpf_prog *fp) in bpf_prog_kallsyms_del_subprogs()
361 void bpf_prog_kallsyms_del_all(struct bpf_prog *fp) in bpf_prog_kallsyms_del_all()
374 bpf_get_prog_addr_region(const struct bpf_prog *prog, in bpf_get_prog_addr_region()
387 static void bpf_get_prog_name(const struct bpf_prog *prog, char *sym) in bpf_get_prog_name()
470 static bool bpf_prog_kallsyms_candidate(const struct bpf_prog *fp) in bpf_prog_kallsyms_candidate()
475 static bool bpf_prog_kallsyms_verify_off(const struct bpf_prog *fp) in bpf_prog_kallsyms_verify_off()
481 void bpf_prog_kallsyms_add(struct bpf_prog *fp) in bpf_prog_kallsyms_add()
492 void bpf_prog_kallsyms_del(struct bpf_prog *fp) in bpf_prog_kallsyms_del()
502 static struct bpf_prog *bpf_prog_kallsyms_find(unsigned long addr) in bpf_prog_kallsyms_find()
519 struct bpf_prog *prog; in __bpf_address_lookup()
620 void __weak bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free()
726 static struct bpf_prog *bpf_prog_clone_create(struct bpf_prog *fp_other, in bpf_prog_clone_create()
730 struct bpf_prog *fp; in bpf_prog_clone_create()
744 static void bpf_prog_clone_free(struct bpf_prog *fp) in bpf_prog_clone_free()
757 void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) in bpf_jit_prog_release_other()
766 struct bpf_prog *bpf_jit_blind_constants(struct bpf_prog *prog) in bpf_jit_blind_constants()
769 struct bpf_prog *clone, *tmp; in bpf_jit_blind_constants()
1126 struct bpf_prog *prog; in ___bpf_prog_run()
1412 const struct bpf_prog *fp) in bpf_prog_array_compatible()
1431 static int bpf_check_tail_call(const struct bpf_prog *fp) in bpf_check_tail_call()
1451 static void bpf_prog_select_func(struct bpf_prog *fp) in bpf_prog_select_func()
1470 struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err) in bpf_prog_select_runtime()
1521 struct bpf_prog prog;
1536 struct bpf_prog *null_prog;
1629 struct bpf_prog *old_prog) in bpf_prog_array_delete_safe()
1641 struct bpf_prog *exclude_prog, in bpf_prog_array_copy()
1642 struct bpf_prog *include_prog, in bpf_prog_array_copy()
1747 void bpf_prog_free(struct bpf_prog *fp) in bpf_prog_free()
1827 struct bpf_prog * __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
1835 void __weak bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile()