Lines Matching refs:I_SYNC
1360 inode->i_state &= ~I_SYNC;
1363 /* Waiters must see I_SYNC cleared before being woken up */
1492 while (inode->i_state & I_SYNC) {
1511 * Sleep until I_SYNC is cleared. This function must be called with i_lock
1523 sleep = inode->i_state & I_SYNC;
1610 * The caller is also responsible for setting the I_SYNC flag beforehand and
1621 WARN_ON(!(inode->i_state & I_SYNC));
1720 if (inode->i_state & I_SYNC) {
1731 WARN_ON(inode->i_state & I_SYNC);
1743 inode->i_state |= I_SYNC;
1876 if ((inode->i_state & I_SYNC) && wbc.sync_mode != WB_SYNC_ALL) {
1894 * We already requeued the inode if it had I_SYNC set and we
1898 if (inode->i_state & I_SYNC) {
1899 /* Wait for I_SYNC. This function drops i_lock... */
1905 inode->i_state |= I_SYNC;
1913 * We use I_SYNC to pin the inode in memory. While it is set