Symbol: throtl_grp
block/blk-throttle.c
1000
struct throtl_grp *parent_tg = sq_to_tg(parent_sq);
block/blk-throttle.c
1001
struct throtl_grp *tg_to_put = NULL;
block/blk-throttle.c
1038
static int throtl_dispatch_tg(struct throtl_grp *tg)
block/blk-throttle.c
1076
struct throtl_grp *tg;
block/blk-throttle.c
1123
struct throtl_grp *tg = sq_to_tg(sq);
block/blk-throttle.c
114
struct throtl_grp *__tg = sq_to_tg((sq)); \
block/blk-throttle.c
1228
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
1239
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
1261
static void tg_conf_updated(struct throtl_grp *tg, bool global)
block/blk-throttle.c
1282
struct throtl_grp *this_tg = blkg_to_tg(blkg);
block/blk-throttle.c
1348
struct throtl_grp *tg;
block/blk-throttle.c
136
static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg)
block/blk-throttle.c
1430
.private = offsetof(struct throtl_grp, bps[READ]),
block/blk-throttle.c
1436
.private = offsetof(struct throtl_grp, bps[WRITE]),
block/blk-throttle.c
1442
.private = offsetof(struct throtl_grp, iops[READ]),
block/blk-throttle.c
1448
.private = offsetof(struct throtl_grp, iops[WRITE]),
block/blk-throttle.c
1454
.private = offsetof(struct throtl_grp, stat_bytes),
block/blk-throttle.c
1459
.private = offsetof(struct throtl_grp, stat_bytes),
block/blk-throttle.c
1464
.private = offsetof(struct throtl_grp, stat_ios),
block/blk-throttle.c
1469
.private = offsetof(struct throtl_grp, stat_ios),
block/blk-throttle.c
1478
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
1532
struct throtl_grp *tg;
block/blk-throttle.c
1624
static void tg_flush_bios(struct throtl_grp *tg)
block/blk-throttle.c
1702
static bool tg_within_limit(struct throtl_grp *tg, struct bio *bio, bool rw)
block/blk-throttle.c
1735
struct throtl_grp *tg = blkg_to_tg(blkg);
block/blk-throttle.c
219
struct throtl_grp **tg_to_put, bool rw)
block/blk-throttle.c
264
struct throtl_grp *tg;
block/blk-throttle.c
29
#define rb_entry_tg(node) rb_entry((node), struct throtl_grp, rb_node)
block/blk-throttle.c
301
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
331
static void tg_update_has_rules(struct throtl_grp *tg)
block/blk-throttle.c
333
struct throtl_grp *parent_tg = sq_to_tg(tg->service_queue.parent_sq);
block/blk-throttle.c
348
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
358
struct throtl_grp *tg = pd_to_tg(pd);
block/blk-throttle.c
366
static struct throtl_grp *
block/blk-throttle.c
387
struct throtl_grp *tg;
block/blk-throttle.c
396
static void tg_service_queue_add(struct throtl_grp *tg)
block/blk-throttle.c
401
struct throtl_grp *__tg;
block/blk-throttle.c
422
static void throtl_enqueue_tg(struct throtl_grp *tg)
block/blk-throttle.c
431
static void throtl_dequeue_tg(struct throtl_grp *tg)
block/blk-throttle.c
47
static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg)
block/blk-throttle.c
500
static inline void throtl_start_new_slice_with_credit(struct throtl_grp *tg,
block/blk-throttle.c
522
static inline void throtl_start_new_slice(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
538
static inline void throtl_set_slice_end(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
544
static inline void throtl_extend_slice(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
558
static bool throtl_slice_used(struct throtl_grp *tg, bool rw)
block/blk-throttle.c
59
static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq)
block/blk-throttle.c
606
static long long throtl_trim_bps(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
62
return container_of(sq, struct throtl_grp, service_queue);
block/blk-throttle.c
627
static int throtl_trim_iops(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
649
static inline void throtl_trim_slice(struct throtl_grp *tg, bool rw)
block/blk-throttle.c
703
static void __tg_update_carryover(struct throtl_grp *tg, bool rw,
block/blk-throttle.c
746
static void tg_update_carryover(struct throtl_grp *tg)
block/blk-throttle.c
759
static unsigned long tg_within_iops_limit(struct throtl_grp *tg, struct bio *bio,
block/blk-throttle.c
76
struct throtl_grp *tg = sq_to_tg(sq);
block/blk-throttle.c
782
static unsigned long tg_within_bps_limit(struct throtl_grp *tg, struct bio *bio,
block/blk-throttle.c
819
static void throtl_charge_bps_bio(struct throtl_grp *tg, struct bio *bio)
block/blk-throttle.c
831
static void throtl_charge_iops_bio(struct throtl_grp *tg, struct bio *bio)
block/blk-throttle.c
84
static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw)
block/blk-throttle.c
843
static void tg_update_slice(struct throtl_grp *tg, bool rw)
block/blk-throttle.c
852
static unsigned long tg_dispatch_bps_time(struct throtl_grp *tg, struct bio *bio)
block/blk-throttle.c
871
static unsigned long tg_dispatch_iops_time(struct throtl_grp *tg, struct bio *bio)
block/blk-throttle.c
891
static unsigned long tg_dispatch_time(struct throtl_grp *tg, struct bio *bio)
block/blk-throttle.c
928
struct throtl_grp *tg)
block/blk-throttle.c
94
static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw)
block/blk-throttle.c
959
static void tg_update_disptime(struct throtl_grp *tg)
block/blk-throttle.c
986
static void start_parent_slice_with_credit(struct throtl_grp *child_tg,
block/blk-throttle.c
987
struct throtl_grp *parent_tg, bool rw)
block/blk-throttle.c
996
static void tg_dispatch_one_bio(struct throtl_grp *tg, bool rw)
block/blk-throttle.h
135
static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd)
block/blk-throttle.h
137
return pd ? container_of(pd, struct throtl_grp, pd) : NULL;
block/blk-throttle.h
140
static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg)
block/blk-throttle.h
170
struct throtl_grp *tg;
block/blk-throttle.h
34
struct throtl_grp *tg; /* tg this qnode belongs to */