Lines Matching refs:env
143 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, in bpf_prog_offload_verify_insn() argument
150 offload = env->prog->aux->offload; in bpf_prog_offload_verify_insn()
152 ret = offload->offdev->ops->insn_hook(env, insn_idx, in bpf_prog_offload_verify_insn()
159 int bpf_prog_offload_finalize(struct bpf_verifier_env *env) in bpf_prog_offload_finalize() argument
165 offload = env->prog->aux->offload; in bpf_prog_offload_finalize()
168 ret = offload->offdev->ops->finalize(env); in bpf_prog_offload_finalize()
178 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, in bpf_prog_offload_replace_insn() argument
186 offload = env->prog->aux->offload; in bpf_prog_offload_replace_insn()
190 ret = ops->replace_insn(env, off, insn); in bpf_prog_offload_replace_insn()
197 bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) in bpf_prog_offload_remove_insns() argument
203 offload = env->prog->aux->offload; in bpf_prog_offload_remove_insns()
206 ret = offload->offdev->ops->remove_insns(env, off, cnt); in bpf_prog_offload_remove_insns()