Home
last modified time | relevance | path

Searched refs:throtl_grp (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/block/
H A Dblk-throttle.c44 #define rb_entry_tg(node) rb_entry((node), struct throtl_grp, rb_node)
92 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg()
101 * Return the throtl_grp @sq belongs to. If @sq is the top-level one
104 static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq) in sq_to_tg()
107 return container_of(sq, struct throtl_grp, service_queue); in sq_to_tg()
116 * A service_queue can be embedded in either a throtl_grp or throtl_data.
121 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td()
147 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()
177 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()
219 * throtl_grp; otherwis
[all...]
H A Dblk-throttle.h24 * belongs to a throtl_grp and gets queued on itself or the parent, so
25 * incrementing the reference of the associated throtl_grp when a qnode is
32 struct throtl_grp *tg; /* tg this qnode belongs to */
40 * children throtl_grp's.
46 * RB tree of active children throtl_grp's, which are sorted by
67 struct throtl_grp { struct
82 * throtl_grp so that local bios compete fairly with bios
84 * dispatched from this throtl_grp into its parent and will compete
157 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg()
159 return pd ? container_of(pd, struct throtl_grp, p in pd_to_tg()
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c64 * belongs to a throtl_grp and gets queued on itself or the parent, so
65 * incrementing the reference of the associated throtl_grp when a qnode is
72 struct throtl_grp *tg; /* tg this qnode belongs to */
80 * children throtl_grp's.
86 * RB tree of active children throtl_grp's, which are sorted by
100 #define rb_entry_tg(node) rb_entry((node), struct throtl_grp, rb_node)
108 struct throtl_grp { struct
123 * throtl_grp so that local bios compete fairly with bios
125 * dispatched from this throtl_grp into its parent and will compete
235 static inline struct throtl_grp *pd_to_t
[all...]

Completed in 5 milliseconds