函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:context_tracking_recursion_enter

函数原型:static bool context_tracking_recursion_enter(void)

返回类型:bool

参数:

38  recursion等于__this_cpu_inc_return(recursion)
39  如果recursion恒等于1则返回:true
42  WARN_ONCE((recursion < 1), "Invalid context tracking recursion value %d\n", recursion)
43  __this_cpu_dec(recursion)
45  返回:false
调用者
名称描述
__context_tracking_enterext_tracking_enter - Inform the context tracking that the CPU is going* enter user or guest space mode
__context_tracking_exitext_tracking_exit - Inform the context tracking that the CPU is* exiting user or guest mode and entering the kernel