Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-throttle.c Create Date:2022-07-28 17:42:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_throtl_update_limit_valid

Proto:static void blk_throtl_update_limit_valid(struct throtl_data *td)

Type:void

Parameter:

TypeParameterName
struct throtl_data *td
592  bool low_valid = false
594  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
595  lkg_for_each_descendant_post - post-order walk of a blkg's descendants*@d_blkg: loop cursor pointing to the current descendant*@pos_css: used for iteration*@p_blkg: target blkg to walk descendants of* Similar to blkg_for_each_descendant_pre() but performs (blkg, pos_css, root_blkg)
596  tg = blkg_to_tg(blkg)
600  low_valid = true
601  Break
604  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
606  limit_valid[LIMIT_LOW] = low_valid
Caller
NameDescribe
throtl_pd_offline
tg_set_limit