Lines Matching refs:ic_state

534 	if ((iclog->ic_state == XLOG_STATE_WANT_SYNC ||  in xlog_state_release_iclog()
557 if (iclog->ic_state != XLOG_STATE_WANT_SYNC) { in xlog_state_release_iclog()
558 ASSERT(iclog->ic_state == XLOG_STATE_ACTIVE); in xlog_state_release_iclog()
562 iclog->ic_state = XLOG_STATE_SYNCING; in xlog_state_release_iclog()
800 if (iclog->ic_state == XLOG_STATE_ACTIVE) in xlog_force_iclog()
837 iclog->ic_state != XLOG_STATE_ACTIVE && in xlog_wait_on_iclog()
838 iclog->ic_state != XLOG_STATE_DIRTY) { in xlog_wait_on_iclog()
939 ASSERT(iclog->ic_state == XLOG_STATE_ACTIVE); in xfs_log_unmount_verify_iclog()
1474 iclog->ic_state = XLOG_STATE_ACTIVE; in xlog_alloc_log()
2011 iclog->ic_state == XLOG_STATE_WANT_SYNC); in xlog_write_full()
2041 ASSERT(iclog->ic_state == XLOG_STATE_WANT_SYNC); in xlog_write_get_more_iclog_space()
2336 iclog->ic_state = XLOG_STATE_ACTIVE; in xlog_state_activate_iclog()
2357 if (iclog->ic_state == XLOG_STATE_DIRTY) in xlog_state_activate_iclogs()
2363 else if (iclog->ic_state != XLOG_STATE_ACTIVE) in xlog_state_activate_iclogs()
2411 dirty_iclog->ic_state = XLOG_STATE_DIRTY; in xlog_state_clean_iclog()
2430 if (iclog->ic_state == XLOG_STATE_ACTIVE || in xlog_get_lowest_lsn()
2431 iclog->ic_state == XLOG_STATE_DIRTY) in xlog_get_lowest_lsn()
2455 switch (iclog->ic_state) { in xlog_state_iodone_process_iclog()
2483 iclog->ic_state = XLOG_STATE_CALLBACK; in xlog_state_iodone_process_iclog()
2517 if (iclog->ic_state != XLOG_STATE_CALLBACK) { in xlog_state_do_iclog_callbacks()
2563 if (log->l_iclog->ic_state == XLOG_STATE_ACTIVE) in xlog_state_do_callback()
2592 ASSERT(iclog->ic_state == XLOG_STATE_SYNCING); in xlog_state_done_syncing()
2593 iclog->ic_state = XLOG_STATE_DONE_SYNC; in xlog_state_done_syncing()
2644 if (iclog->ic_state != XLOG_STATE_ACTIVE) { in xlog_state_get_iclog_space()
2811 ASSERT(iclog->ic_state == XLOG_STATE_ACTIVE); in xlog_state_switch_iclogs()
2817 iclog->ic_state = XLOG_STATE_WANT_SYNC; in xlog_state_switch_iclogs()
2926 if (iclog->ic_state == XLOG_STATE_DIRTY || in xfs_log_force()
2927 (iclog->ic_state == XLOG_STATE_ACTIVE && in xfs_log_force()
2938 } else if (iclog->ic_state == XLOG_STATE_ACTIVE) { in xfs_log_force()
2964 if (iclog->ic_state == XLOG_STATE_WANT_SYNC) in xfs_log_force()
3014 switch (iclog->ic_state) { in xlog_force_lsn()
3032 (iclog->ic_prev->ic_state == XLOG_STATE_WANT_SYNC || in xlog_force_lsn()
3033 iclog->ic_prev->ic_state == XLOG_STATE_SYNCING)) { in xlog_force_lsn()