Lines Matching defs:wait
144 * If `wait' is set, wait on the writeout.
158 int wait = wbc->sync_mode == WB_SYNC_ALL;
174 int err = write_inode(inode, wait);
179 if (wait) {
270 * It's a data-integrity sync. We must wait.
430 * writeback and wait upon the filesystem's dirty inodes. The caller will
431 * do this in two passes - one to write, and one to wait. WB_SYNC_HOLD is
432 * used to park the written inodes on sb->s_dirty for the wait pass.
440 void sync_inodes_sb(struct super_block *sb, int wait)
443 .sync_mode = wait ? WB_SYNC_ALL : WB_SYNC_HOLD,
475 * @wait: wait for completion
488 * sure that really happens. Because if we call sync_inodes_sb(wait=1) with
492 static void __sync_inodes(int wait)
506 sync_inodes_sb(sb, wait);
517 void sync_inodes(int wait)
522 if (wait) {
587 * @what: what to write and wait upon