Searched refs:throtl_grp (Results 1 – 2 of 2) sorted by relevance
32 #define rb_entry_tg(node) rb_entry((node), struct throtl_grp, rb_node)54 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg()66 static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq) in sq_to_tg()69 return container_of(sq, struct throtl_grp, service_queue); in sq_to_tg()83 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td()91 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()101 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()121 struct throtl_grp *__tg = sq_to_tg((sq)); \143 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()203 struct throtl_grp **tg_to_put) in throtl_pop_queued()[all …]
32 struct throtl_grp *tg; /* tg this qnode belongs to */61 struct throtl_grp { struct133 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg() argument135 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()162 struct throtl_grp *tg; in blk_should_throtl()