Home
last modified time | relevance | path

Searched refs:throtl_grp (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/block/
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()
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()
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()
222 struct throtl_grp *__tg = sq_to_tg((sq)); \
244 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()
304 struct throtl_grp **tg_to_put) in throtl_pop_queued()
[all …]
Dblk-throttle.h32 struct throtl_grp *tg; /* tg this qnode belongs to */
67 struct throtl_grp { struct
157 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg() argument
159 return pd ? container_of(pd, struct throtl_grp, pd) : NULL; in pd_to_tg()
162 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg()
185 struct throtl_grp *tg = blkg_to_tg(bio->bi_blkg); in blk_should_throtl()