Lines Matching refs:R_SECONDARY
543 * This is useful when an unconnected R_SECONDARY is asked to
718 if (new_role == R_SECONDARY) {
752 set_disk_ro(device->vdisk, new_role == R_SECONDARY);
797 R_SECONDARY, 0);
2874 if (device->state.role == R_SECONDARY &&
2875 device->state.peer == R_SECONDARY) {
3033 /* If we happen to be C_STANDALONE R_SECONDARY, just change to
3037 if (device->state.conn == C_STANDALONE && device->state.role == R_SECONDARY) {
4411 device->state.role == R_SECONDARY) {
4511 retcode = drbd_set_role(peer_device->device, R_SECONDARY, 0);