Searched refs:throtl_grp (Results 1 – 2 of 2) sorted by relevance
| /linux/block/ |
| H A D | blk-throttle.c | 29 #define rb_entry_tg(node) rb_entry((node), struct throtl_grp, rb_node) 47 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() 59 static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq) in sq_to_tg() 62 return container_of(sq, struct throtl_grp, service_queue); in sq_to_tg() 76 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() 84 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit() 94 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit() 114 struct throtl_grp *__tg = sq_to_tg((sq)); \ 136 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() 219 struct throtl_grp **tg_to_put, bool rw) in throtl_pop_queued() [all …]
|
| H A D | blk-throttle.h | 34 struct throtl_grp *tg; /* tg this qnode belongs to */ 69 struct throtl_grp { struct 133 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg() argument 135 return pd ? container_of(pd, struct throtl_grp, pd) : NULL; in pd_to_tg() 138 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() 168 struct throtl_grp *tg; in blk_should_throtl()
|