Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-28 13:25:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_prog_offload_replace_insn

Proto:void bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, struct bpf_insn *insn)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_env *env
u32off
struct bpf_insn *insn
183  ret = -EOPNOTSUPP
185  lock for reading
186  offload = offload
187  If offload Then
188  ops = ops
189  If Not opt_failed && replace_insn Then ret = replace_insn(env, off, insn)
191  opt_failed |= ret
193  lease a read lock
Caller
NameDescribe
opt_hard_wire_dead_code_branches