函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:These must be called with preempt disabled

函数原型:static inline int copy_fpregs_to_fpstate(struct fpu *fpu)

返回类型:int

参数:

类型参数名称
struct fpu *fpu
419  如果此条件成立可能性大(为编译器优化)(use_xsave())则
420  Save processor xstate to xsave area.
426  如果xfeatures按位与XFEATURE_MASK_AVX512@avx512_timestamp:* Records the timestamp of AVX512 use during last context switch.等于jiffies
428  返回:1
431  如果此条件成立可能性大(为编译器优化)(use_fxsr())则
432  copy_fxregs_to_kernel(fpu)
433  返回:1
440  asm volatile
442  返回:0
调用者
名称描述
kernel_fpu_begin
fpu__saveSave the FPU state (mark it for reload if necessary):* This only ever gets called for the current task.
fpu__copy
switch_fpu_prepareFPU state switching for scheduling.* This is a two-stage process:* - switch_fpu_prepare() saves the old state.* This is done within the context of the old process.* - switch_fpu_finish() sets TIF_NEED_FPU_LOAD; the floating point state