Lines Matching defs:startdev

528 		      struct dasd_device *basedev, struct dasd_device *startdev,
538 startpriv = startdev->private;
595 struct dasd_device *basedev, struct dasd_device *startdev)
597 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev,
837 cqr->startdev = device;
1494 cqr->startdev = device;
1594 cqr->startdev = device;
1778 cqr->startdev = device;
1874 cqr->startdev = device;
2197 cqr->startdev = device;
2235 struct dasd_device *device = init_cqr->startdev;
2419 struct dasd_device *startdev = NULL;
2429 startdev = dasd_alias_get_start_dev(base);
2431 if (!startdev)
2432 startdev = base;
2434 start_priv = startdev->private;
2444 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev);
2458 DASD_ECKD_CCW_READ_COUNT_MT, base, startdev, 0, count,
2477 cqr->startdev = startdev;
2478 cqr->memdev = startdev;
2480 cqr->retries = startdev->default_retries;
2481 cqr->expires = startdev->default_expires * HZ;
2491 dasd_sfree_request(cqr, startdev);
2505 struct dasd_device *startdev = NULL;
2515 startdev = dasd_alias_get_start_dev(base);
2517 if (!startdev)
2518 startdev = base;
2520 start_priv = startdev->private;
2537 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2547 DASD_ECKD_CCW_READ_COUNT, base, startdev, 1, 0,
2551 DASD_ECKD_CCW_READ_COUNT, startdev, 0);
2570 cqr->startdev = startdev;
2571 cqr->memdev = startdev;
2574 cqr->expires = startdev->default_expires * HZ;
2584 dasd_eckd_build_format(struct dasd_device *base, struct dasd_device *startdev,
2603 startdev = dasd_alias_get_start_dev(base);
2605 if (!startdev)
2606 startdev = base;
2608 start_priv = startdev->private;
2674 dev_warn(&startdev->cdev->dev,
2680 fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev);
2693 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2702 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2721 base, startdev);
2726 DASD_ECKD_CCW_WRITE_RECORD_ZERO, startdev, 0);
2740 DASD_ECKD_CCW_WRITE_CKD, base, startdev);
2745 DASD_ECKD_CCW_WRITE_CKD, startdev, 0);
2831 fcp->startdev = startdev;
2832 fcp->memdev = startdev;
2835 fcp->expires = startdev->default_expires * HZ;
2984 device = cqr->startdev;
3086 struct dasd_device *device = cqr->startdev;
3096 dasd_eckd_ese_format(struct dasd_device *startdev, struct dasd_ccw_req *cqr,
3119 format = &startdev->format_entry;
3131 DBF_DEV_EVENT(DBF_WARNING, startdev,
3155 * the former startdev.
3157 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0);
3476 if (cqr->block && (cqr->startdev != cqr->block->base)) {
3478 cqr->startdev = cqr->block->base;
3486 struct dasd_device *device = (struct dasd_device *) cqr->startdev;
3743 cqr->startdev = device;
3823 device = cqr->startdev;
3851 struct dasd_device *startdev,
3928 startdev, blk_mq_rq_to_pdu(req));
3935 last_trk, cmd, basedev, startdev) == -EAGAIN) {
3939 dasd_sfree_request(cqr, startdev);
3950 dasd_sfree_request(cqr, startdev);
4023 cqr->startdev = startdev;
4024 cqr->memdev = startdev;
4026 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4027 cqr->lpm = dasd_path_get_ppm(startdev);
4028 cqr->retries = startdev->default_retries;
4043 struct dasd_device *startdev,
4095 startdev, blk_mq_rq_to_pdu(req));
4107 last_trk, cmd, basedev, startdev,
4114 dasd_sfree_request(cqr, startdev);
4163 dasd_sfree_request(cqr, startdev);
4169 dasd_sfree_request(cqr, startdev);
4202 cqr->startdev = startdev;
4203 cqr->memdev = startdev;
4205 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4206 cqr->lpm = dasd_path_get_ppm(startdev);
4207 cqr->retries = startdev->default_retries;
4221 struct dasd_device *startdev,
4245 startpriv = startdev->private;
4375 struct dasd_device *startdev,
4433 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev,
4452 cmd, basedev, startdev,
4526 cqr->startdev = startdev;
4527 cqr->memdev = startdev;
4529 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */
4530 cqr->lpm = dasd_path_get_ppm(startdev);
4531 cqr->retries = startdev->default_retries;
4544 dasd_sfree_request(cqr, startdev);
4548 static struct dasd_ccw_req *dasd_eckd_build_cp(struct dasd_device *startdev,
4599 cqr = dasd_eckd_build_cp_tpm_track(startdev, block, req,
4610 cqr = dasd_eckd_build_cp_cmd_track(startdev, block, req,
4620 cqr = dasd_eckd_build_cp_cmd_single(startdev, block, req,
4628 static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev,
4707 datasize, startdev, blk_mq_rq_to_pdu(req));
4716 startdev, 1, 0, trkcount, 0, 0);
4767 cqr->startdev = startdev;
4768 cqr->memdev = startdev;
4770 cqr->expires = startdev->default_expires * HZ;
4771 cqr->lpm = dasd_path_get_ppm(startdev);
4772 cqr->retries = startdev->default_retries;
4836 * Either reset cqr->startdev as well (summary unit check handling)
4871 struct dasd_device *startdev;
4875 startdev = dasd_alias_get_start_dev(base);
4876 if (!startdev)
4877 startdev = base;
4878 private = startdev->private;
4882 spin_lock_irqsave(get_ccwdev_lock(startdev->cdev), flags);
4885 cqr = dasd_eckd_build_cp_raw(startdev, block, req);
4887 cqr = dasd_eckd_build_cp(startdev, block, req);
4890 spin_unlock_irqrestore(get_ccwdev_lock(startdev->cdev), flags);
4964 cqr->startdev = device;
5019 cqr->startdev = device;
5073 cqr->startdev = device;
5134 cqr->startdev = device;
5183 cqr->startdev = device;
5339 cqr->startdev = device;
5906 cqr->startdev = device;
5999 cqr->startdev = device;
6166 cqr->startdev = device;