Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fpu__alloc_mathframe

Proto:unsigned long fpu__alloc_mathframe(unsigned long sp, int ia32_frame, unsigned long *buf_fx, unsigned long *size)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longsp
intia32_frame
unsigned long *buf_fx
unsigned long *size
443  frame_size = xstate_sigframe_size()
445  buf_fx = sp = und_down - round down to next specified power of 2*@x: the value to round*@y: multiple to round down to (must be a power of 2)* Rounds @x down to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding down, use rounddown() below.(sp - frame_size, 64)
446  If ia32_frame && use_fxsr() Then
447  frame_size += sizeof(structfregs_state)
448  sp -= sizeof(structfregs_state)
451  size = frame_size
453  Return sp
Caller
NameDescribe
get_sigframe