函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xfeature_uncompacted_offset

函数原型:static int xfeature_uncompacted_offset(int xfeature_nr)

返回类型:int

参数:

类型参数名称
intxfeature_nr
445  如果Supervisor features 按位与BIT_ULL(xfeature_nr)则
446  WARN_ONCE(1, "No fixed offset for xstate %d\n", xfeature_nr)
447  返回:负1
450  This check is important because it is easy to get XSTATE_** confused with XSTATE_BIT_*.(xfeature_nr)
451  cpuid_count(XSTATE_CPUID, xfeature_nr, & eax, & ebx, & ecx, & edx)
452  返回:ebx
调用者
名称描述
do_extra_xstate_size_checksThis essentially double-checks what the cpu told us about* how large the XSAVE buffer needs to be. We are recalculating* it to be safe.