Lines Matching defs: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;
1460 struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait);
1462 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse);
1469 iocg_commit_bio(ctx->iocg, wait->bio, wait->abs_cost, cost);
1470 wait->committed = true;
1473 * autoremove_wake_function() removes the wait entry only when it
1474 * actually changed the task state. We want the wait always removed.
2174 /* flush wait and indebt stat deltas */
2407 * If there are IOs spanning multiple periods, wait
2601 struct iocg_wait wait;
2699 * or too long. Each wait entry records the absolute cost it's
2700 * waiting for to allow re-evaluation using a custom wait entry.
2705 * All waiters are on iocg->waitq and the wait states are
2708 init_waitqueue_func_entry(&wait.wait, iocg_wake_fn);
2709 wait.wait.private = current;
2710 wait.bio = bio;
2711 wait.abs_cost = abs_cost;
2712 wait.committed = false; /* will be set true by waker */
2714 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait);
2721 if (wait.committed)
2727 finish_wait(&iocg->waitq, &wait.wait);
3055 seq_printf(s, " cost.wait=%llu cost.indebt=%llu cost.indelay=%llu",