Lines Matching defs:primary
2018 * return if the device is the copy relation primary if a copy relation is active
6164 * set the new active/primary device
6176 copy->entry[i].primary = true;
6180 copy->entry[i].primary = false;
6188 * from the old primary and connected to the new.
6195 struct dasd_device *primary, *secondary;
6203 primary = copy->active->device;
6204 if (!primary)
6206 /* double check if swap has correct primary */
6207 if (strncmp(dev_name(&primary->cdev->dev), prim_busid, DASD_BUS_ID_SIZE) != 0)
6218 dasd_device_set_stop_bits(primary, DASD_STOPPED_PPRC);
6220 dasd_generic_requeue_all_requests(primary);
6223 block = primary->block;
6224 primary->block = NULL;
6227 /* set new primary device in COPY relation */
6235 dasd_device_remove_stop_bits(primary, DASD_STOPPED_PPRC);