Lines Matching refs:D_INCONSISTENT
860 else if (ns.role == R_PRIMARY && ns.disk <= D_INCONSISTENT && ns.pdsk <= D_INCONSISTENT) in is_valid_state()
863 else if (ns.conn > C_CONNECTED && ns.disk < D_INCONSISTENT) in is_valid_state()
866 else if (ns.conn > C_CONNECTED && ns.pdsk < D_INCONSISTENT) in is_valid_state()
1073 if (ns.pdsk > D_UNKNOWN || ns.pdsk < D_INCONSISTENT) in sanitize_state()
1116 pdsk_min = D_INCONSISTENT; in sanitize_state()
1124 disk_min = D_INCONSISTENT; in sanitize_state()
1148 pdsk_min = D_INCONSISTENT; in sanitize_state()
1152 disk_min = D_INCONSISTENT; in sanitize_state()
1153 disk_max = D_INCONSISTENT; in sanitize_state()
1160 pdsk_min = D_INCONSISTENT; in sanitize_state()
1161 pdsk_max = D_INCONSISTENT; in sanitize_state()
1419 (device->state.pdsk < D_INCONSISTENT && device->state.peer == R_PRIMARY)) in _drbd_set_state()
1423 if (device->state.disk > D_INCONSISTENT) in _drbd_set_state()
1427 if (device->state.pdsk <= D_OUTDATED && device->state.pdsk >= D_INCONSISTENT) in _drbd_set_state()
1439 if (os.disk == D_INCONSISTENT && os.pdsk == D_INCONSISTENT && in _drbd_set_state()
1676 if ((os >= D_INCONSISTENT && os != D_UNKNOWN && os != D_OUTDATED) in lost_contact_to_peer_data()
1677 && (ns < D_INCONSISTENT || ns == D_UNKNOWN || ns == D_OUTDATED)) in lost_contact_to_peer_data()
1830 if (ns.pdsk < D_INCONSISTENT && get_ldev(device)) { in after_state_ch()
1972 if (os.disk == D_UP_TO_DATE && ns.disk == D_INCONSISTENT && ns.conn >= C_CONNECTED) in after_state_ch()