Searched refs:service_queue (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/block/
H A Dblk-throttle.c53 struct list_head node; /* service_queue->queued[] */
59 struct throtl_service_queue *parent_sq; /* the parent service_queue */
62 * Bios queued directly to this service_queue or dispatched from
98 /* active throtl group service_queue member */
105 struct throtl_service_queue service_queue; member in struct:throtl_grp
155 struct throtl_service_queue service_queue; member in struct:throtl_data
210 return container_of(sq, struct throtl_grp, service_queue); sq_to_tg()
219 * A service_queue can be embeded in either a throtl_grp or throtl_data.
229 return container_of(sq, struct throtl_data, service_queue); sq_to_td()
234 * @sq: the service_queue being reported
317 * @queued: the service_queue->queued[] list @qn belongs to
389 /* init a service_queue, assumes the caller zeroed it */ throtl_service_queue_init()
427 parent_sq = &td->service_queue; throtl_pd_init()
430 parent_sq = &blkg_to_tg(blkg->parent)->service_queue; throtl_pd_init()
432 throtl_service_queue_init(&tg->service_queue, parent_sq); throtl_pd_init()
465 struct throtl_grp *parent_tg = sq_to_tg(tg->service_queue.parent_sq); tg_update_has_rules()
493 throtl_service_queue_exit(&tg->service_queue); throtl_pd_exit()
596 struct throtl_service_queue *parent_sq = tg->service_queue.parent_sq; tg_service_queue_add()
626 tg->service_queue.parent_sq->nr_pending++; __throtl_enqueue_tg()
637 throtl_rb_erase(&tg->rb_node, tg->service_queue.parent_sq); __throtl_dequeue_tg()
658 * @sq: the service_queue to schedule dispatch for
709 throtl_log(&tg->service_queue, throtl_start_new_slice_with_credit()
721 throtl_log(&tg->service_queue, throtl_start_new_slice()
737 throtl_log(&tg->service_queue, throtl_extend_slice()
805 throtl_log(&tg->service_queue, throtl_trim_slice()
919 BUG_ON(tg->service_queue.nr_queued[rw] && tg_may_dispatch()
920 bio != throtl_peek_queued(&tg->service_queue.queued[rw])); tg_may_dispatch()
1017 * Add @bio to @tg's service_queue using @qn. If @qn is not specified,
1023 struct throtl_service_queue *sq = &tg->service_queue; throtl_add_bio_tg()
1046 struct throtl_service_queue *sq = &tg->service_queue; tg_update_disptime()
1080 struct throtl_service_queue *sq = &tg->service_queue; tg_dispatch_one_bio()
1100 * @td->service_queue, @bio is ready to be issued. Put it on its tg_dispatch_one_bio()
1122 struct throtl_service_queue *sq = &tg->service_queue; throtl_dispatch_tg()
1159 struct throtl_service_queue *sq = &tg->service_queue; throtl_select_dispatch()
1182 * throtl_pending_timer_fn - timer function for service_queue->pending_timer
1186 * pending and queued on the service_queue's pending_tree and expires when
1189 * service_queue.
1258 * of throtl_data->service_queue. Those bio's are ready and issued by this
1265 struct throtl_service_queue *td_sq = &td->service_queue; blk_throtl_dispatch_work_fn()
1368 sq = &tg->service_queue; tg_set_conf()
1378 throtl_log(&tg->service_queue, tg_set_conf()
1519 sq = &tg->service_queue; blk_throtl_bio()
1578 throtl_schedule_next_dispatch(tg->service_queue.parent_sq, true); blk_throtl_bio()
1606 struct throtl_service_queue *sq = &tg->service_queue; tg_drain_bios()
1638 * that all bios are propagated to td->service_queue. It'd be
1639 * better to walk service_queue tree directly but blkg walk is
1643 tg_drain_bios(&blkg_to_tg(blkg)->service_queue);
1646 tg_drain_bios(&td->service_queue);
1651 /* all bios now should be in td->service_queue, issue them */
1653 while ((bio = throtl_pop_queued(&td->service_queue.queued[rw],
1670 throtl_service_queue_init(&td->service_queue, NULL); blk_throtl_init()

Completed in 62 milliseconds