Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu_segcblist.h Create Date:2022-07-28 10:18:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return number of callbacks in segmented callback list.

Proto:static inline long rcu_segcblist_n_cbs(struct rcu_segcblist *rsclp)

Type:long

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
58  Return READ_ONCE(len)
Caller
NameDescribe
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-