Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\fpu\internal.h Create Date:2022-07-28 07:29:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Restore xstate from user space xsave area.

Proto:static inline int copy_user_to_xregs(struct xregs_state __user *buf, u64 mask)

Type:int

Parameter:

TypeParameterName
struct xregs_state __user *buf
u64mask
380  xstate = buf
381  lmask = mask
382  hmask = mask >> 32
385  stac()
386  XSTATE_OP(XRSTOR, xstate, lmask, hmask, err)
387  clac()
389  Return err
Caller
NameDescribe
copy_user_to_fpregs_zeroingRestore the extended state if present. Otherwise, restore the FP/SSE state.