函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Enter an RCU extended quiescent state, which can be either the* idle loop or adaptive-tickless usermode execution.* We crowbar the ->dynticks_nmi_nesting field to zero to allow for* the possibility of usermode upcalls having messed up our count
函数原型:static void rcu_eqs_enter(bool user)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
bool | user |
568 | rdp等于this_cpu_ptr( & rcu_data) |
570 | WARN_ON_ONCE(Track irq/NMI nesting level. != Offset to allow distinguishing irq vs. task-based idle entry/exit. ) |
571 | WRITE_ONCE(Track irq/NMI nesting level. , 0) |
572 | WARN_ON_ONCE(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_EQS_DEBUG) && Track process nesting level. == 0) |
574 | 如果Track process nesting level. 不等于1则 |
575 | Track process nesting level. 自减 |
576 | 返回 |
581 | WARN_ON_ONCE(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_EQS_DEBUG) && !user && !是空闲任务) |
582 | rdp等于this_cpu_ptr( & rcu_data) |
584 | rcu_prepare_for_idle() |
586 | WRITE_ONCE(Track process nesting level. , 0) |
588 | rcu_dynticks_task_enter() |
名称 | 描述 |
---|---|
rcu_idle_enter | _idle_enter - inform RCU that current CPU is entering idle* Enter idle mode, in other words, -leave- the mode in which RCU* read-side critical sections can occur. (Though RCU read-side* critical sections can occur in irq handlers in idle, a possibility |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |