Lines Matching defs:tg

55 	struct throtl_grp	*tg;		/* tg this qnode belongs to */  member
190 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg()
224 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
293 struct throtl_grp *tg = list_first_entry(&tg_stats_alloc_list, in tg_stats_alloc_fn() local
306 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()
408 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_pd_init() local
463 static void tg_update_has_rules(struct throtl_grp *tg) in tg_update_has_rules()
484 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_pd_exit() local
498 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_pd_reset_stats() local
529 struct throtl_grp *tg = NULL; in throtl_lookup_create_tg() local
585 struct throtl_grp *tg; in update_min_dispatch_time() local
594 static void tg_service_queue_add(struct throtl_grp *tg) in tg_service_queue_add()
622 static void __throtl_enqueue_tg(struct throtl_grp *tg) in __throtl_enqueue_tg()
629 static void throtl_enqueue_tg(struct throtl_grp *tg) in throtl_enqueue_tg()
635 static void __throtl_dequeue_tg(struct throtl_grp *tg) in __throtl_dequeue_tg()
641 static void throtl_dequeue_tg(struct throtl_grp *tg) in throtl_dequeue_tg()
693 static inline void throtl_start_new_slice_with_credit(struct throtl_grp *tg, in throtl_start_new_slice_with_credit()
715 static inline void throtl_start_new_slice(struct throtl_grp *tg, bool rw) in throtl_start_new_slice()
727 static inline void throtl_set_slice_end(struct throtl_grp *tg, bool rw, in throtl_set_slice_end()
733 static inline void throtl_extend_slice(struct throtl_grp *tg, bool rw, in throtl_extend_slice()
744 static bool throtl_slice_used(struct throtl_grp *tg, bool rw) in throtl_slice_used()
753 static inline void throtl_trim_slice(struct throtl_grp *tg, bool rw) in throtl_trim_slice()
811 static bool tg_with_in_iops_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_iops_limit()
861 static bool tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_bps_limit()
907 static bool tg_may_dispatch(struct throtl_grp *tg, struct bio *bio, in tg_may_dispatch()
962 struct throtl_grp *tg = blkg_to_tg(blkg); in throtl_update_dispatch_stats() local
985 static void throtl_charge_bio(struct throtl_grp *tg, struct bio *bio) in throtl_charge_bio()
1021 struct throtl_grp *tg) in throtl_add_bio_tg()
1044 static void tg_update_disptime(struct throtl_grp *tg) in tg_update_disptime()
1078 static void tg_dispatch_one_bio(struct throtl_grp *tg, bool rw) in tg_dispatch_one_bio()
1120 static int throtl_dispatch_tg(struct throtl_grp *tg) in throtl_dispatch_tg()
1158 struct throtl_grp *tg = throtl_rb_first(parent_sq); in throtl_select_dispatch() local
1199 struct throtl_grp *tg = sq_to_tg(sq); in throtl_pending_timer_fn() local
1291 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_cpu_rwstat() local
1319 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_u64() local
1330 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_uint() local
1357 struct throtl_grp *tg; in tg_set_conf() local
1484 struct throtl_grp *tg; in blk_throtl_bio() local
1603 struct throtl_grp *tg; in tg_drain_bios() local