Lines Matching defs:tg

97 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg)  in tg_to_blkg()
126 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
152 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()
182 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()
249 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()
347 struct throtl_grp *tg; in throtl_pd_alloc() local
394 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_init() local
423 static void tg_update_has_rules(struct throtl_grp *tg) in tg_update_has_rules()
438 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_online() local
455 struct throtl_grp *tg = blkg_to_tg(blkg); in blk_throtl_update_limit_valid() local
476 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_offline() local
491 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_free() local
521 struct throtl_grp *tg; in update_min_dispatch_time() local
530 static void tg_service_queue_add(struct throtl_grp *tg) in tg_service_queue_add()
556 static void throtl_enqueue_tg(struct throtl_grp *tg) in throtl_enqueue_tg()
565 static void throtl_dequeue_tg(struct throtl_grp *tg) in throtl_dequeue_tg()
630 static inline void throtl_start_new_slice_with_credit(struct throtl_grp *tg, in throtl_start_new_slice_with_credit()
654 static inline void throtl_start_new_slice(struct throtl_grp *tg, bool rw) in throtl_start_new_slice()
669 static inline void throtl_set_slice_end(struct throtl_grp *tg, bool rw, in throtl_set_slice_end()
675 static inline void throtl_extend_slice(struct throtl_grp *tg, bool rw, in throtl_extend_slice()
686 static bool throtl_slice_used(struct throtl_grp *tg, bool rw) in throtl_slice_used()
695 static inline void throtl_trim_slice(struct throtl_grp *tg, bool rw) in throtl_trim_slice()
754 static bool tg_with_in_iops_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_iops_limit()
802 static bool tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_bps_limit()
855 static bool tg_may_dispatch(struct throtl_grp *tg, struct bio *bio, in tg_may_dispatch()
916 static void throtl_charge_bio(struct throtl_grp *tg, struct bio *bio) in throtl_charge_bio()
947 struct throtl_grp *tg) in throtl_add_bio_tg()
970 static void tg_update_disptime(struct throtl_grp *tg) in tg_update_disptime()
1006 static void tg_dispatch_one_bio(struct throtl_grp *tg, bool rw) in tg_dispatch_one_bio()
1048 static int throtl_dispatch_tg(struct throtl_grp *tg) in throtl_dispatch_tg()
1086 struct throtl_grp *tg; in throtl_select_dispatch() local
1134 struct throtl_grp *tg = sq_to_tg(sq); in throtl_pending_timer_fn() local
1229 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_u64() local
1240 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_uint() local
1262 static void tg_conf_updated(struct throtl_grp *tg, bool global) in tg_conf_updated()
1323 struct throtl_grp *tg; in tg_set_conf() local
1440 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_limit() local
1512 struct throtl_grp *tg; in tg_set_limit() local
1661 static unsigned long __tg_last_low_overflow_time(struct throtl_grp *tg) in __tg_last_low_overflow_time()
1673 static unsigned long tg_last_low_overflow_time(struct throtl_grp *tg) in tg_last_low_overflow_time()
1700 static bool throtl_tg_is_idle(struct throtl_grp *tg) in throtl_tg_is_idle()
1726 static bool throtl_tg_can_upgrade(struct throtl_grp *tg) in throtl_tg_can_upgrade()
1753 static bool throtl_hierarchy_can_upgrade(struct throtl_grp *tg) in throtl_hierarchy_can_upgrade()
1779 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_can_upgrade() local
1794 static void throtl_upgrade_check(struct throtl_grp *tg) in throtl_upgrade_check()
1825 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_upgrade_state() local
1852 static bool throtl_tg_can_downgrade(struct throtl_grp *tg) in throtl_tg_can_downgrade()
1870 static bool throtl_hierarchy_can_downgrade(struct throtl_grp *tg) in throtl_hierarchy_can_downgrade()
1882 static void throtl_downgrade_check(struct throtl_grp *tg) in throtl_downgrade_check()
1945 static void blk_throtl_update_idletime(struct throtl_grp *tg) in blk_throtl_update_idletime()
2069 struct throtl_grp *tg = blkg_to_tg(blkg); in __blk_throtl_bio() local
2208 struct throtl_grp *tg; in blk_throtl_bio_endio() local