Lines Matching defs:startdev

531 		      struct dasd_device *basedev, struct dasd_device *startdev,
541 startpriv = startdev->private;
598 struct dasd_device *basedev, struct dasd_device *startdev)
600 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev,
839 cqr->startdev = device;
1535 cqr->startdev = device;
1635 cqr->startdev = device;
1819 cqr->startdev = device;
1915 cqr->startdev = device;
2285 cqr->startdev = device;
2323 struct dasd_device *device = init_cqr->startdev;
2507 struct dasd_device *startdev = NULL;
2517 startdev = dasd_alias_get_start_dev(base);
2519 if (!startdev)
2520 startdev = base;
2522 start_priv = startdev->private;
2532 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev);
2546 DASD_ECKD_CCW_READ_COUNT_MT, base, startdev, 0, count,
2565 cqr->startdev = startdev;
2566 cqr->memdev = startdev;
2568 cqr->retries = startdev->default_retries;
2569 cqr->expires = startdev->default_expires * HZ;
2579 dasd_sfree_request(cqr, startdev);
2593 struct dasd_device *startdev = NULL;
2603 startdev = dasd_alias_get_start_dev(base);
2605 if (!startdev)
2606 startdev = base;
2608 start_priv = startdev->private;
2625 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2635 DASD_ECKD_CCW_READ_COUNT, base, startdev, 1, 0,
2639 DASD_ECKD_CCW_READ_COUNT, startdev, 0);
2658 cqr->startdev = startdev;
2659 cqr->memdev = startdev;
2662 cqr->expires = startdev->default_expires * HZ;
2672 dasd_eckd_build_format(struct dasd_device *base, struct dasd_device *startdev,
2691 startdev = dasd_alias_get_start_dev(base);
2693 if (!startdev)
2694 startdev = base;
2696 start_priv = startdev->private;
2762 dev_warn(&startdev->cdev->dev,
2768 fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2781 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2790 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2809 base, startdev);
2814 DASD_ECKD_CCW_WRITE_RECORD_ZERO, startdev, 0);
2828 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2833 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2919 fcp->startdev = startdev;
2920 fcp->memdev = startdev;
2923 fcp->expires = startdev->default_expires * HZ;
3072 device = cqr->startdev;
3174 struct dasd_device *device = cqr->startdev;
3184 dasd_eckd_ese_format(struct dasd_device *startdev, struct dasd_ccw_req *cqr,
3207 format = &startdev->format_entry;
3219 DBF_DEV_EVENT(DBF_WARNING, startdev,
3243 * the former startdev.
3245 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0);
3564 if (cqr->block && (cqr->startdev != cqr->block->base)) {
3566 cqr->startdev = cqr->block->base;
3574 struct dasd_device *device = (struct dasd_device *) cqr->startdev;
3858 cqr->startdev = device;
3938 device = cqr->startdev;
3966 struct dasd_device *startdev,
4043 startdev, blk_mq_rq_to_pdu(req));
4050 last_trk, cmd, basedev, startdev) == -EAGAIN) {
4054 dasd_sfree_request(cqr, startdev);
4065 dasd_sfree_request(cqr, startdev);
4138 cqr->startdev = startdev;
4139 cqr->memdev = startdev;
4141 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4142 cqr->lpm = dasd_path_get_ppm(startdev);
4143 cqr->retries = startdev->default_retries;
4158 struct dasd_device *startdev,
4210 startdev, blk_mq_rq_to_pdu(req));
4222 last_trk, cmd, basedev, startdev,
4229 dasd_sfree_request(cqr, startdev);
4278 dasd_sfree_request(cqr, startdev);
4284 dasd_sfree_request(cqr, startdev);
4317 cqr->startdev = startdev;
4318 cqr->memdev = startdev;
4320 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4321 cqr->lpm = dasd_path_get_ppm(startdev);
4322 cqr->retries = startdev->default_retries;
4336 struct dasd_device *startdev,
4360 startpriv = startdev->private;
4490 struct dasd_device *startdev,
4548 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev,
4567 cmd, basedev, startdev,
4641 cqr->startdev = startdev;
4642 cqr->memdev = startdev;
4644 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4645 cqr->lpm = dasd_path_get_ppm(startdev);
4646 cqr->retries = startdev->default_retries;
4659 dasd_sfree_request(cqr, startdev);
4663 static struct dasd_ccw_req *dasd_eckd_build_cp(struct dasd_device *startdev,
4714 cqr = dasd_eckd_build_cp_tpm_track(startdev, block, req,
4725 cqr = dasd_eckd_build_cp_cmd_track(startdev, block, req,
4735 cqr = dasd_eckd_build_cp_cmd_single(startdev, block, req,
4743 static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev,
4822 datasize, startdev, blk_mq_rq_to_pdu(req));
4831 startdev, 1, 0, trkcount, 0, 0);
4882 cqr->startdev = startdev;
4883 cqr->memdev = startdev;
4885 cqr->expires = startdev->default_expires * HZ;
4886 cqr->lpm = dasd_path_get_ppm(startdev);
4887 cqr->retries = startdev->default_retries;
4951 * Either reset cqr->startdev as well (summary unit check handling)
4986 struct dasd_device *startdev;
4990 startdev = dasd_alias_get_start_dev(base);
4991 if (!startdev)
4992 startdev = base;
4993 private = startdev->private;
4997 spin_lock_irqsave(get_ccwdev_lock(startdev->cdev), flags);
5000 cqr = dasd_eckd_build_cp_raw(startdev, block, req);
5002 cqr = dasd_eckd_build_cp(startdev, block, req);
5005 spin_unlock_irqrestore(get_ccwdev_lock(startdev->cdev), flags);
5079 cqr->startdev = device;
5134 cqr->startdev = device;
5188 cqr->startdev = device;
5249 cqr->startdev = device;
5298 cqr->startdev = device;
5454 cqr->startdev = device;
5925 cqr->startdev = device;
6018 cqr->startdev = device;
6262 cqr->startdev = device;
6322 cqr->startdev = device;
6386 cqr->startdev = device;