Lines Matching refs:pdsk
446 mask.pdsk = D_MASK; in conn_try_outdate_peer()
447 val.pdsk = D_INCONSISTENT; in conn_try_outdate_peer()
451 mask.pdsk = D_MASK; in conn_try_outdate_peer()
452 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
458 mask.pdsk = D_MASK; in conn_try_outdate_peer()
459 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
476 mask.pdsk = D_MASK; in conn_try_outdate_peer()
477 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
547 if (rv == SS_CW_FAILED_BY_PEER && mask.pdsk != 0) { in drbd_set_role()
548 val.pdsk = 0; in drbd_set_role()
549 mask.pdsk = 0; in drbd_set_role()
563 mdev->state.disk == D_CONSISTENT && mask.pdsk == 0) { in drbd_set_role()
564 D_ASSERT(mdev->state.pdsk == D_UNKNOWN); in drbd_set_role()
575 if (rv == SS_PRIMARY_NOP && mask.pdsk == 0) { in drbd_set_role()
578 mask.pdsk = D_MASK; in drbd_set_role()
579 val.pdsk = D_OUTDATED; in drbd_set_role()
633 mdev->state.pdsk <= D_FAILED) in drbd_set_role()
1656 ns.pdsk = D_OUTDATED; in drbd_adm_attach()
1660 (ns.pdsk == D_OUTDATED || rcu_dereference(mdev->ldev->disk_conf)->fencing == FP_DONT_CARE)) in drbd_adm_attach()
2207 rv = conn_request_state(tconn, NS2(conn, C_DISCONNECTING, pdsk, D_OUTDATED), 0); in conn_try_disconnect()
2531 retcode = drbd_request_state(mdev, NS(pdsk, D_INCONSISTENT)); in drbd_adm_invalidate_peer()
2980 adm_ctx.mdev->state.pdsk == D_OUTDATED ? UT_PEER_OUTDATED : in drbd_adm_get_timeout_type()
3092 _drbd_set_state(_NS2(mdev, disk, D_UP_TO_DATE, pdsk, D_UP_TO_DATE), in drbd_adm_new_c_uuid()