Lines Matching defs:wait
327 static int blkdev_iopoll(struct kiocb *kiocb, bool wait)
332 return blk_poll(q, READ_ONCE(kiocb->ki_cookie), wait);
524 int __sync_blockdev(struct block_device *bdev, int wait)
528 if (!wait)
534 * Write out and wait upon all the dirty data associated with a block
544 * Write out and wait upon all dirty data associated with this
1094 /* if claiming is already in progress, wait for it to finish */
1097 DEFINE_WAIT(wait);
1099 prepare_to_wait(wq, &wait, TASK_UNINTERRUPTIBLE);
1102 finish_wait(wq, &wait);