函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Is the specified rcu_segcblist structure empty?* But careful! The fact that the ->head field is NULL does not* necessarily imply that there are no callbacks associated with* this structure. When callbacks are being invoked, they are* removed as a group

函数原型:static inline bool rcu_segcblist_empty(struct rcu_segcblist *rsclp)

返回类型:bool

参数:

类型参数名称
struct rcu_segcblist *rsclp
49  返回:非READ_ONCE(head)
调用者
名称描述
srcu_torture_stats_print
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
__call_rcuHelper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.
rcutree_prepare_cpuInvoked early in the CPU-online process, when pretty much all services* are available. The incoming CPU is not present.* Initializes a CPU's per-CPU RCU data. Note that only one online or* offline event can be happening at a given time
rcu_segcblist_disableDisable the specified rcu_segcblist structure, so that callbacks can* no longer be posted to it. This structure must be empty.
rcu_needs_cpuCheck to see if any future non-offloaded RCU-related work will need* to be done by the current CPU, even if none need be done immediately,* returning 1 if so