函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fpu__alloc_mathframe

函数原型:unsigned long fpu__alloc_mathframe(unsigned long sp, int ia32_frame, unsigned long *buf_fx, unsigned long *size)

返回类型:unsigned long

参数:

类型参数名称
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  如果ia32_frameuse_fxsr()则
447  frame_size加等于sizeof(structfregs_state)
448  sp减等于sizeof(structfregs_state)
451  size等于frame_size
453  返回:sp
调用者
名称描述
get_sigframe