函数逻辑报告

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

函数名称:Return number of callbacks in segmented callback list.

函数原型:static inline long rcu_segcblist_n_cbs(struct rcu_segcblist *rsclp)

返回类型:long

参数:

类型参数名称
struct rcu_segcblist *rsclp
58  返回:READ_ONCE(len)
调用者
名称描述
cleanup_srcu_structleanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory.
rcu_get_n_cbs_cpuReturn the number of callbacks queued on the specified CPU.* Handles both the nocbs and normal cases.
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
__call_rcu_coreHandle any core-RCU processing required by a call_rcu() invocation.
__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.
rcu_barrier_barrier - Wait until all in-flight call_rcu() callbacks complete
rcu_segcblist_disableDisable the specified rcu_segcblist structure, so that callbacks can* no longer be posted to it. This structure must be empty.
rcu_segcblist_entrainEntrain the specified callback onto the specified rcu_segcblist at* the end of the last non-empty segment. If the entire rcu_segcblist* is empty, make no change, but return false.* This is intended for use by rcu_barrier()-like primitives, -not-
rcu_segcblist_n_nonlazy_cbsReturn number of lazy callbacks in segmented callback list.