Lines Matching refs:count
98 unsigned count; member
883 return cfqg->service_tree_idle.count; in cfq_group_busy_queues_wl()
885 return cfqg->service_trees[wl_class][ASYNC_WORKLOAD].count + in cfq_group_busy_queues_wl()
886 cfqg->service_trees[wl_class][SYNC_NOIDLE_WORKLOAD].count + in cfq_group_busy_queues_wl()
887 cfqg->service_trees[wl_class][SYNC_WORKLOAD].count; in cfq_group_busy_queues_wl()
893 return cfqg->service_trees[RT_WORKLOAD][ASYNC_WORKLOAD].count + in cfqg_busy_async_queues()
894 cfqg->service_trees[BE_WORKLOAD][ASYNC_WORKLOAD].count; in cfqg_busy_async_queues()
1185 if (!root->count) in cfq_rb_first()
1204 --root->count; in cfq_rb_erase()
1477 - cfqg->service_tree_idle.count; in cfq_group_served()
2332 st->count++; in cfq_service_tree_add()
2942 BUG_ON(!st->count); in cfq_should_idle()
2960 if (st->count == 1 && cfq_cfqq_sync(cfqq) && in cfq_should_idle()
2963 cfq_log_cfqq(cfqd, cfqq, "Not idling. st->count:%d", st->count); in cfq_should_idle()
3179 unsigned count; in choose_wl_class_and_type() local
3205 count = st->count; in choose_wl_class_and_type()
3210 if (count && !(now > cfqd->workload_expires)) in choose_wl_class_and_type()
3218 count = st->count; in choose_wl_class_and_type()
3227 slice = div_u64(group_slice * count, in choose_wl_class_and_type()
4804 static ssize_t __FUNC(struct elevator_queue *e, const char *page, size_t count) \
4818 return count; \
4839 static ssize_t __FUNC(struct elevator_queue *e, const char *page, size_t count) \
4850 return count; \