Lines Matching refs:wait
568 struct wait_queue_entry wait; member
1449 struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait); in iocg_wake_fn() local
1451 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
1458 iocg_commit_bio(ctx->iocg, wait->bio, wait->abs_cost, cost); in iocg_wake_fn()
1459 wait->committed = true; in iocg_wake_fn()
2590 struct iocg_wait wait; in ioc_rqos_throttle() local
2697 init_waitqueue_func_entry(&wait.wait, iocg_wake_fn); in ioc_rqos_throttle()
2698 wait.wait.private = current; in ioc_rqos_throttle()
2699 wait.bio = bio; in ioc_rqos_throttle()
2700 wait.abs_cost = abs_cost; in ioc_rqos_throttle()
2701 wait.committed = false; /* will be set true by waker */ in ioc_rqos_throttle()
2703 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2710 if (wait.committed) in ioc_rqos_throttle()
2716 finish_wait(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()