函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\fpu\api.h Create Date:2022-07-27 06:58:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Use fpregs_lock() while editing CPU's FPU registers or fpu->state.* A context switch will (and softirq might) save CPU's FPU registers to* fpu->state and set TIF_NEED_FPU_LOAD leaving CPU's FPU registers in* a random state.

函数原型:static inline void fpregs_lock(void)

返回类型:void

参数:

35  禁止抢占()
36  local_bh_disable()
调用者
名称描述
fpu__saveSave the FPU state (mark it for reload if necessary):* This only ever gets called for the current task.
fpu__copy
copy_init_fpstate_to_fpregsClear FPU registers by setting them up from* the init fpstate:
save_fsave_headerSignal frame handlers.
copy_fpstate_to_sigframeSave the fpu, extended register state to the user signal frame.* 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save* state is copied.* 'buf' points to the 'buf_fx' or to the fsave header followed by 'buf_fx'.
__fpu__restore_sig
write_pkru