Lines Matching refs:I_SYNC
1385 inode->i_state &= ~I_SYNC;
1388 /* Waiters must see I_SYNC cleared before being woken up */
1517 while (inode->i_state & I_SYNC) {
1536 * Sleep until I_SYNC is cleared. This function must be called with i_lock
1548 sleep = inode->i_state & I_SYNC;
1635 * The caller is also responsible for setting the I_SYNC flag beforehand and
1646 WARN_ON(!(inode->i_state & I_SYNC));
1745 if (inode->i_state & I_SYNC) {
1756 WARN_ON(inode->i_state & I_SYNC);
1768 inode->i_state |= I_SYNC;
1901 if ((inode->i_state & I_SYNC) && wbc.sync_mode != WB_SYNC_ALL) {
1919 * We already requeued the inode if it had I_SYNC set and we
1923 if (inode->i_state & I_SYNC) {
1924 /* Wait for I_SYNC. This function drops i_lock... */
1930 inode->i_state |= I_SYNC;
1938 * We use I_SYNC to pin the inode in memory. While it is set