函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kernel_fpu_begin

函数原型:void kernel_fpu_begin(void)

返回类型:void

参数:

87  禁止抢占()
89  WARN_ON_FPU(!Can we use the FPU in kernel mode with the* whole "kernel_fpu_begin/end()" sequence?* It's always ok in process context (ie "not interrupt")* but it is sometimes ok even from an irq.)
90  WARN_ON_FPU(Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(Track whether the kernel is using the FPU state* currently.* This flag is used:* - by IRQ context code to potentially use the FPU* if it's unused.* - to debug kernel_fpu_begin()/end() correctness))
92  抢占保护下的写CPU(Track whether the kernel is using the FPU state* currently.* This flag is used:* - by IRQ context code to potentially use the FPU* if it's unused.* - to debug kernel_fpu_begin()/end() correctness, true)
94  如果非flags按位与I am a kernel thread 的值且非test_thread_flag(load FPU on return to userspace )则
96  set_thread_flag(load FPU on return to userspace )
101  These must be called with preempt disabled
103  The in-register FPU state for an FPU context on a CPU is assumed to be* valid if the fpu->last_cpu matches the CPU, and the fpu_fpregs_owner_ctx* matches the FPU.* If the FPU register state is valid, the kernel can skip restoring the
调用者
名称描述
raid6_mmx2_gen_syndromeUnrolled-by-2 MMX implementation
raid6_sse11_gen_syndromePlain SSE1 implementation
raid6_sse12_gen_syndromeUnrolled-by-2 SSE1 implementation
raid6_sse21_gen_syndromePlain SSE2 implementation
raid6_sse21_xor_syndrome
raid6_sse22_gen_syndromeUnrolled-by-2 SSE2 implementation
raid6_sse22_xor_syndrome
raid6_sse24_gen_syndromeUnrolled-by-4 SSE2 implementation
raid6_sse24_xor_syndrome
fast_clear_pageGeneric MMX implementation without K7 specific streaming
fast_copy_page
raid6_mmx1_gen_syndromePlain MMX implementation
_mmx_memcpy
fpu__init_check_bugsThis used to check for exceptions