Lines Matching refs:I_SYNC
1219 inode->i_state &= ~I_SYNC;
1222 /* Waiters must see I_SYNC cleared before being woken up */
1348 while (inode->i_state & I_SYNC) {
1367 * Sleep until I_SYNC is cleared. This function must be called with i_lock
1379 sleep = inode->i_state & I_SYNC;
1456 * setting I_SYNC flag and calling inode_sync_complete() to clear it.
1466 WARN_ON(!(inode->i_state & I_SYNC));
1555 if (inode->i_state & I_SYNC) {
1565 WARN_ON(inode->i_state & I_SYNC);
1578 inode->i_state |= I_SYNC;
1693 if ((inode->i_state & I_SYNC) && wbc.sync_mode != WB_SYNC_ALL) {
1711 * We already requeued the inode if it had I_SYNC set and we
1715 if (inode->i_state & I_SYNC) {
1716 /* Wait for I_SYNC. This function drops i_lock... */
1722 inode->i_state |= I_SYNC;
1730 * We use I_SYNC to pin the inode in memory. While it is set