函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\paravirt.c Create Date:2022-07-27 09:44:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:paravirt_patch_default

函数原型:unsigned paravirt_patch_default(u8 type, void *insn_buff, unsigned long addr, unsigned len)

返回类型:unsigned

参数:

类型参数名称
u8type
void *insn_buff
unsigned longaddr
unsignedlen
124  void * opfunc = * ((void * * ) & pv_ops + type)
127  如果(opfunc == NULL)则ret等于paravirt_patch_insns(insn_buff, len, Undefined instruction for dealing with missing ops pointers. , Undefined instruction for dealing with missing ops pointers. + Undefined instruction for dealing with missing ops pointers. 的长度)
130  否则如果opfunc恒等于p stub, which must not clobber anything *including the stack* to* avoid confusing the entry prologues.ret等于0
143  否则ret等于paravirt_patch_call(insn_buff, opfunc, addr, len)
147  返回:ret
调用者
名称描述
native_patch