Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\paravirt.c Create Date:2022-07-28 08:45:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:paravirt_patch_default

Proto:unsigned paravirt_patch_default(u8 type, void *insn_buff, unsigned long addr, unsigned len)

Type:unsigned

Parameter:

TypeParameterName
u8type
void *insn_buff
unsigned longaddr
unsignedlen
124  void * opfunc = * ((void * * ) & pv_ops + type)
127  If (opfunc == NULL) Then ret = paravirt_patch_insns(insn_buff, len, Undefined instruction for dealing with missing ops pointers. , Undefined instruction for dealing with missing ops pointers. + size of Undefined instruction for dealing with missing ops pointers. )
130  Else if opfunc == p stub, which must not clobber anything *including the stack* to* avoid confusing the entry prologues. Then ret = 0
143  Else ret = paravirt_patch_call(insn_buff, opfunc, addr, len)
147  Return ret
Caller
NameDescribe
native_patch