函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Record a quiescent state for all tasks that were previously queued* on the specified rcu_node structure and that were blocking the current* RCU grace period

函数原型:static void __maybe_unused rcu_report_unblock_qs_rnp(struct rcu_node *rnp, unsigned long flags)__releases(rnp->lock)

返回类型:void

参数:

类型参数名称
struct rcu_node *rnp
unsigned longflags
1937  raw_lockdep_assert_held_rcu_node(rnp)
1938  如果WARN_ON_ONCE(!IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION))或WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp))或CPUs or groups that need to switch in 不等于0则
1941  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
1942  返回
1945  All QSes done for this node. 等于Track rsp->rcu_gp_seq.
1946  rnp_p等于cu_node tree?
1947  如果(rnp_p == NULL)则
1952  Report a full set of quiescent states to the rcu_state data structure
1953  返回
1957  gps等于Track rsp->rcu_gp_seq.
1958  mask等于Mask to apply to parent qsmask.
1959  raw_spin_unlock_rcu_node(rnp)
1960  Wrappers for the rcu_node::lock acquire and release(rnp_p)
1961  Similar to rcu_report_qs_rdp(), for which it is a helper function