Lines Matching refs:pdsk

525 		mask.pdsk = D_MASK;  in conn_try_outdate_peer()
526 val.pdsk = D_INCONSISTENT; in conn_try_outdate_peer()
530 mask.pdsk = D_MASK; in conn_try_outdate_peer()
531 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
537 mask.pdsk = D_MASK; in conn_try_outdate_peer()
538 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
557 mask.pdsk = D_MASK; in conn_try_outdate_peer()
558 val.pdsk = D_OUTDATED; in conn_try_outdate_peer()
648 if (rv == SS_CW_FAILED_BY_PEER && mask.pdsk != 0) { in drbd_set_role()
649 val.pdsk = 0; in drbd_set_role()
650 mask.pdsk = 0; in drbd_set_role()
664 device->state.disk == D_CONSISTENT && mask.pdsk == 0) { in drbd_set_role()
665 D_ASSERT(device, device->state.pdsk == D_UNKNOWN); in drbd_set_role()
676 if (rv == SS_PRIMARY_NOP && mask.pdsk == 0) { in drbd_set_role()
679 mask.pdsk = D_MASK; in drbd_set_role()
680 val.pdsk = D_OUTDATED; in drbd_set_role()
733 device->state.pdsk <= D_FAILED) in drbd_set_role()
1989 if (device->state.pdsk != D_UP_TO_DATE && device->ed_uuid && in drbd_adm_attach()
2135 ns.pdsk = D_OUTDATED; in drbd_adm_attach()
2139 (ns.pdsk == D_OUTDATED || rcu_dereference(device->ldev->disk_conf)->fencing == FP_DONT_CARE)) in drbd_adm_attach()
2562 info->peer_disk_state = device->state.pdsk; in peer_device_to_info()
2733 rv = conn_request_state(connection, NS2(conn, C_DISCONNECTING, pdsk, D_OUTDATED), 0); in conn_try_disconnect()
3123 retcode = drbd_request_state(device, NS(pdsk, D_INCONSISTENT)); in drbd_adm_invalidate_peer()
4120 adm_ctx.device->state.pdsk == D_OUTDATED ? UT_PEER_OUTDATED : in drbd_adm_get_timeout_type()
4240 _drbd_set_state(_NS2(device, disk, D_UP_TO_DATE, pdsk, D_UP_TO_DATE), in drbd_adm_new_c_uuid()