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:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Will the runtime-enumerated 'xstate_size' fit in the init* task's statically-allocated buffer?

Proto:static bool is_supported_xstate_size(unsigned int test_xstate_size)

Type:bool

Parameter:

TypeParameterName
unsigned inttest_xstate_size
662  If test_xstate_size <= sizeof(unionfpregs_state) Then Return true
665  pr_warn("x86/fpu: xstate buffer too small (%zu < %d), disabling xsave\n", sizeof(unionfpregs_state), test_xstate_size)
667  Return false
Caller
NameDescribe
init_xstate_size