Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:'XSAVES' implies two different things:* 1. saving of supervisor/system state* 2. using the compacted format* Use this function when dealing with the compacted format so* that it is obvious which aspect of 'XSAVES' is being handled* by the calling code.

Proto:int using_compacted_format(void)

Type:int

Parameter:Nothing

475  Return boot_cpu_has(XSAVES/XRSTORS instructions )
Caller
NameDescribe
xstateregs_set
__fpu__restore_sig
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.