mm/huge_memory: streamline COW logic in do_huge_pmd_wp_page()
[linux-2.6-microblaze.git] / include / linux / bpf_verifier.h
index 7a7be8c..c1fc4af 100644 (file)
@@ -521,6 +521,10 @@ bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt);
 
 int check_ptr_off_reg(struct bpf_verifier_env *env,
                      const struct bpf_reg_state *reg, int regno);
+int check_func_arg_reg_off(struct bpf_verifier_env *env,
+                          const struct bpf_reg_state *reg, int regno,
+                          enum bpf_arg_type arg_type,
+                          bool is_release_func);
 int check_kfunc_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
                             u32 regno);
 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,