Lines Matching refs:startdev

524 		      struct dasd_device *basedev, struct dasd_device *startdev,
534 startpriv = startdev->private;
591 struct dasd_device *basedev, struct dasd_device *startdev)
593 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev,
832 cqr->startdev = device;
1520 cqr->startdev = device;
1620 cqr->startdev = device;
1804 cqr->startdev = device;
1900 cqr->startdev = device;
2270 cqr->startdev = device;
2308 struct dasd_device *device = init_cqr->startdev;
2492 struct dasd_device *startdev = NULL;
2502 startdev = dasd_alias_get_start_dev(base);
2504 if (!startdev)
2505 startdev = base;
2507 start_priv = startdev->private;
2517 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev);
2531 DASD_ECKD_CCW_READ_COUNT_MT, base, startdev, 0, count,
2550 cqr->startdev = startdev;
2551 cqr->memdev = startdev;
2553 cqr->retries = startdev->default_retries;
2554 cqr->expires = startdev->default_expires * HZ;
2564 dasd_sfree_request(cqr, startdev);
2578 struct dasd_device *startdev = NULL;
2588 startdev = dasd_alias_get_start_dev(base);
2590 if (!startdev)
2591 startdev = base;
2593 start_priv = startdev->private;
2610 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2620 DASD_ECKD_CCW_READ_COUNT, base, startdev, 1, 0,
2624 DASD_ECKD_CCW_READ_COUNT, startdev, 0);
2643 cqr->startdev = startdev;
2644 cqr->memdev = startdev;
2647 cqr->expires = startdev->default_expires * HZ;
2657 dasd_eckd_build_format(struct dasd_device *base, struct dasd_device *startdev,
2676 startdev = dasd_alias_get_start_dev(base);
2678 if (!startdev)
2679 startdev = base;
2681 start_priv = startdev->private;
2747 dev_warn(&startdev->cdev->dev,
2753 fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2766 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2775 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2794 base, startdev);
2799 DASD_ECKD_CCW_WRITE_RECORD_ZERO, startdev, 0);
2813 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2818 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2904 fcp->startdev = startdev;
2905 fcp->memdev = startdev;
2908 fcp->expires = startdev->default_expires * HZ;
3057 device = cqr->startdev;
3159 struct dasd_device *device = cqr->startdev;
3169 dasd_eckd_ese_format(struct dasd_device *startdev, struct dasd_ccw_req *cqr,
3192 format = &startdev->format_entry;
3204 DBF_DEV_EVENT(DBF_WARNING, startdev,
3228 * the former startdev.
3230 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0);
3549 if (cqr->block && (cqr->startdev != cqr->block->base)) {
3551 cqr->startdev = cqr->block->base;
3559 struct dasd_device *device = (struct dasd_device *) cqr->startdev;
3843 cqr->startdev = device;
3923 device = cqr->startdev;
3951 struct dasd_device *startdev,
4028 startdev, blk_mq_rq_to_pdu(req));
4035 last_trk, cmd, basedev, startdev) == -EAGAIN) {
4039 dasd_sfree_request(cqr, startdev);
4049 dasd_sfree_request(cqr, startdev);
4121 cqr->startdev = startdev;
4122 cqr->memdev = startdev;
4124 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4125 cqr->lpm = dasd_path_get_ppm(startdev);
4126 cqr->retries = startdev->default_retries;
4141 struct dasd_device *startdev,
4193 startdev, blk_mq_rq_to_pdu(req));
4205 last_trk, cmd, basedev, startdev,
4212 dasd_sfree_request(cqr, startdev);
4261 dasd_sfree_request(cqr, startdev);
4267 dasd_sfree_request(cqr, startdev);
4300 cqr->startdev = startdev;
4301 cqr->memdev = startdev;
4303 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4304 cqr->lpm = dasd_path_get_ppm(startdev);
4305 cqr->retries = startdev->default_retries;
4319 struct dasd_device *startdev,
4343 startpriv = startdev->private;
4473 struct dasd_device *startdev,
4531 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev,
4550 cmd, basedev, startdev,
4624 cqr->startdev = startdev;
4625 cqr->memdev = startdev;
4627 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4628 cqr->lpm = dasd_path_get_ppm(startdev);
4629 cqr->retries = startdev->default_retries;
4642 dasd_sfree_request(cqr, startdev);
4646 static struct dasd_ccw_req *dasd_eckd_build_cp(struct dasd_device *startdev,
4697 cqr = dasd_eckd_build_cp_tpm_track(startdev, block, req,
4708 cqr = dasd_eckd_build_cp_cmd_track(startdev, block, req,
4718 cqr = dasd_eckd_build_cp_cmd_single(startdev, block, req,
4726 static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev,
4805 datasize, startdev, blk_mq_rq_to_pdu(req));
4814 startdev, 1, 0, trkcount, 0, 0);
4865 cqr->startdev = startdev;
4866 cqr->memdev = startdev;
4868 cqr->expires = startdev->default_expires * HZ;
4869 cqr->lpm = dasd_path_get_ppm(startdev);
4870 cqr->retries = startdev->default_retries;
4934 * Either reset cqr->startdev as well (summary unit check handling)
4969 struct dasd_device *startdev;
4973 startdev = dasd_alias_get_start_dev(base);
4974 if (!startdev)
4975 startdev = base;
4976 private = startdev->private;
4980 spin_lock_irqsave(get_ccwdev_lock(startdev->cdev), flags);
4983 cqr = dasd_eckd_build_cp_raw(startdev, block, req);
4985 cqr = dasd_eckd_build_cp(startdev, block, req);
4988 spin_unlock_irqrestore(get_ccwdev_lock(startdev->cdev), flags);
5062 cqr->startdev = device;
5117 cqr->startdev = device;
5171 cqr->startdev = device;
5232 cqr->startdev = device;
5281 cqr->startdev = device;
5437 cqr->startdev = device;
5884 cqr->startdev = device;
5977 cqr->startdev = device;
6221 cqr->startdev = device;
6281 cqr->startdev = device;
6345 cqr->startdev = device;