Lines Matching refs:wait
102 * Device business is determined using two criteria - rq wait and
106 * fill up and a bio which is ready to be issued has to wait for a request
114 * are executed, solely depending on rq wait may not result in satisfactory
566 struct wait_queue_entry wait;
1464 struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait);
1466 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse);
1473 iocg_commit_bio(ctx->iocg, wait->bio, wait->abs_cost, cost);
1474 wait->committed = true;
1477 * autoremove_wake_function() removes the wait entry only when it
1478 * actually changed the task state. We want the wait always removed.
2178 /* flush wait and indebt stat deltas */
2411 * If there are IOs spanning multiple periods, wait
2605 struct iocg_wait wait;
2703 * or too long. Each wait entry records the absolute cost it's
2704 * waiting for to allow re-evaluation using a custom wait entry.
2709 * All waiters are on iocg->waitq and the wait states are
2712 init_waitqueue_func_entry(&wait.wait, iocg_wake_fn);
2713 wait.wait.private = current;
2714 wait.bio = bio;
2715 wait.abs_cost = abs_cost;
2716 wait.committed = false; /* will be set true by waker */
2718 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait);
2725 if (wait.committed)
2731 finish_wait(&iocg->waitq, &wait.wait);
3059 seq_printf(s, " cost.wait=%llu cost.indebt=%llu cost.indelay=%llu",