Lines Matching refs:SYNC_WAIT
264 error = xfs_flush_pages(ip, 0, -1, (flags & SYNC_WAIT) ?
269 if (flags & SYNC_WAIT)
291 if (!(flags & SYNC_WAIT))
319 ASSERT((flags & ~(SYNC_TRYLOCK|SYNC_WAIT)) == 0);
326 xfs_log_force(mp, (flags & SYNC_WAIT) ? XFS_LOG_SYNC : 0);
338 ASSERT((flags & ~SYNC_WAIT) == 0);
393 xfs_sync_data(mp, SYNC_WAIT);
394 xfs_qm_sync(mp, SYNC_WAIT);
404 error2 = xfs_fs_log_dummy(mp, SYNC_WAIT);
430 xfs_reclaim_inodes(mp, SYNC_WAIT);
431 xfs_sync_attr(mp, SYNC_WAIT);
515 xfs_sync_data(mp, SYNC_TRYLOCK | SYNC_WAIT);
777 if (!(sync_mode & SYNC_WAIT))
789 if (!(sync_mode & SYNC_WAIT)) {
802 if (sync_mode & SYNC_WAIT) {
808 * When we have to flush an inode but don't have SYNC_WAIT set, we