Lines Matching refs:startdev

489 		      struct dasd_device *basedev, struct dasd_device *startdev,  in prefix_LRE()  argument
499 startpriv = startdev->private; in prefix_LRE()
556 struct dasd_device *basedev, struct dasd_device *startdev) in prefix() argument
558 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev, in prefix()
798 cqr->startdev = device; in dasd_eckd_fill_rcd_cqr()
1444 cqr->startdev = device; in dasd_eckd_read_features()
1544 cqr->startdev = device; in dasd_eckd_read_vol_info()
1728 cqr->startdev = device; in dasd_eckd_read_ext_pool_info()
1824 cqr->startdev = device; in dasd_eckd_build_psf_ssc()
2162 cqr->startdev = device; in dasd_eckd_analysis_ccw()
2200 struct dasd_device *device = init_cqr->startdev; in dasd_eckd_analysis_callback()
2384 struct dasd_device *startdev = NULL; in dasd_eckd_build_check_tcw() local
2394 startdev = dasd_alias_get_start_dev(base); in dasd_eckd_build_check_tcw()
2396 if (!startdev) in dasd_eckd_build_check_tcw()
2397 startdev = base; in dasd_eckd_build_check_tcw()
2399 start_priv = startdev->private; in dasd_eckd_build_check_tcw()
2409 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev); in dasd_eckd_build_check_tcw()
2423 DASD_ECKD_CCW_READ_COUNT_MT, base, startdev, 0, count, in dasd_eckd_build_check_tcw()
2442 cqr->startdev = startdev; in dasd_eckd_build_check_tcw()
2443 cqr->memdev = startdev; in dasd_eckd_build_check_tcw()
2445 cqr->retries = startdev->default_retries; in dasd_eckd_build_check_tcw()
2446 cqr->expires = startdev->default_expires * HZ; in dasd_eckd_build_check_tcw()
2456 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_check_tcw()
2470 struct dasd_device *startdev = NULL; in dasd_eckd_build_check() local
2480 startdev = dasd_alias_get_start_dev(base); in dasd_eckd_build_check()
2482 if (!startdev) in dasd_eckd_build_check()
2483 startdev = base; in dasd_eckd_build_check()
2485 start_priv = startdev->private; in dasd_eckd_build_check()
2502 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_check()
2512 DASD_ECKD_CCW_READ_COUNT, base, startdev, 1, 0, in dasd_eckd_build_check()
2516 DASD_ECKD_CCW_READ_COUNT, startdev, 0); in dasd_eckd_build_check()
2535 cqr->startdev = startdev; in dasd_eckd_build_check()
2536 cqr->memdev = startdev; in dasd_eckd_build_check()
2539 cqr->expires = startdev->default_expires * HZ; in dasd_eckd_build_check()
2549 dasd_eckd_build_format(struct dasd_device *base, struct dasd_device *startdev, in dasd_eckd_build_format() argument
2568 startdev = dasd_alias_get_start_dev(base); in dasd_eckd_build_format()
2570 if (!startdev) in dasd_eckd_build_format()
2571 startdev = base; in dasd_eckd_build_format()
2573 start_priv = startdev->private; in dasd_eckd_build_format()
2639 dev_warn(&startdev->cdev->dev, in dasd_eckd_build_format()
2645 fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_format()
2658 DASD_ECKD_CCW_WRITE_CKD, base, startdev); in dasd_eckd_build_format()
2667 DASD_ECKD_CCW_WRITE_CKD, startdev, 0); in dasd_eckd_build_format()
2686 base, startdev); in dasd_eckd_build_format()
2691 DASD_ECKD_CCW_WRITE_RECORD_ZERO, startdev, 0); in dasd_eckd_build_format()
2705 DASD_ECKD_CCW_WRITE_CKD, base, startdev); in dasd_eckd_build_format()
2710 DASD_ECKD_CCW_WRITE_CKD, startdev, 0); in dasd_eckd_build_format()
2796 fcp->startdev = startdev; in dasd_eckd_build_format()
2797 fcp->memdev = startdev; in dasd_eckd_build_format()
2800 fcp->expires = startdev->default_expires * HZ; in dasd_eckd_build_format()
2949 device = cqr->startdev; in dasd_eckd_format_process_data()
3008 struct dasd_device *device = cqr->startdev; in dasd_eckd_ese_format_cb()
3016 dasd_eckd_ese_format(struct dasd_device *startdev, struct dasd_ccw_req *cqr) in dasd_eckd_ese_format() argument
3056 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0); in dasd_eckd_ese_format()
3317 if (cqr->block && (cqr->startdev != cqr->block->base)) { in dasd_eckd_handle_terminated_request()
3319 cqr->startdev = cqr->block->base; in dasd_eckd_handle_terminated_request()
3327 struct dasd_device *device = (struct dasd_device *) cqr->startdev; in dasd_eckd_erp_action()
3584 cqr->startdev = device; in dasd_eckd_dso_ras()
3664 device = cqr->startdev; in dasd_eckd_release_space_trks()
3692 struct dasd_device *startdev, in dasd_eckd_build_cp_cmd_single() argument
3769 startdev, blk_mq_rq_to_pdu(req)); in dasd_eckd_build_cp_cmd_single()
3776 last_trk, cmd, basedev, startdev) == -EAGAIN) { in dasd_eckd_build_cp_cmd_single()
3780 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_cmd_single()
3791 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_cmd_single()
3864 cqr->startdev = startdev; in dasd_eckd_build_cp_cmd_single()
3865 cqr->memdev = startdev; in dasd_eckd_build_cp_cmd_single()
3867 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */ in dasd_eckd_build_cp_cmd_single()
3868 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_single()
3869 cqr->retries = startdev->default_retries; in dasd_eckd_build_cp_cmd_single()
3884 struct dasd_device *startdev, in dasd_eckd_build_cp_cmd_track() argument
3936 startdev, blk_mq_rq_to_pdu(req)); in dasd_eckd_build_cp_cmd_track()
3948 last_trk, cmd, basedev, startdev, in dasd_eckd_build_cp_cmd_track()
3955 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_cmd_track()
4004 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_cmd_track()
4010 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_cmd_track()
4043 cqr->startdev = startdev; in dasd_eckd_build_cp_cmd_track()
4044 cqr->memdev = startdev; in dasd_eckd_build_cp_cmd_track()
4046 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */ in dasd_eckd_build_cp_cmd_track()
4047 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_track()
4048 cqr->retries = startdev->default_retries; in dasd_eckd_build_cp_cmd_track()
4062 struct dasd_device *startdev, in prepare_itcw() argument
4086 startpriv = startdev->private; in prepare_itcw()
4216 struct dasd_device *startdev, in dasd_eckd_build_cp_tpm_track() argument
4274 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, 0, itcw_size, startdev, in dasd_eckd_build_cp_tpm_track()
4293 cmd, basedev, startdev, in dasd_eckd_build_cp_tpm_track()
4367 cqr->startdev = startdev; in dasd_eckd_build_cp_tpm_track()
4368 cqr->memdev = startdev; in dasd_eckd_build_cp_tpm_track()
4370 cqr->expires = startdev->default_expires * HZ; /* default 5 minutes */ in dasd_eckd_build_cp_tpm_track()
4371 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_tpm_track()
4372 cqr->retries = startdev->default_retries; in dasd_eckd_build_cp_tpm_track()
4385 dasd_sfree_request(cqr, startdev); in dasd_eckd_build_cp_tpm_track()
4389 static struct dasd_ccw_req *dasd_eckd_build_cp(struct dasd_device *startdev, in dasd_eckd_build_cp() argument
4440 cqr = dasd_eckd_build_cp_tpm_track(startdev, block, req, in dasd_eckd_build_cp()
4451 cqr = dasd_eckd_build_cp_cmd_track(startdev, block, req, in dasd_eckd_build_cp()
4461 cqr = dasd_eckd_build_cp_cmd_single(startdev, block, req, in dasd_eckd_build_cp()
4469 static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev, in dasd_eckd_build_cp_raw() argument
4550 datasize, startdev, blk_mq_rq_to_pdu(req)); in dasd_eckd_build_cp_raw()
4559 startdev, 1, first_offs + 1, trkcount, 0, 0); in dasd_eckd_build_cp_raw()
4610 cqr->startdev = startdev; in dasd_eckd_build_cp_raw()
4611 cqr->memdev = startdev; in dasd_eckd_build_cp_raw()
4613 cqr->expires = startdev->default_expires * HZ; in dasd_eckd_build_cp_raw()
4614 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_raw()
4615 cqr->retries = startdev->default_retries; in dasd_eckd_build_cp_raw()
4714 struct dasd_device *startdev; in dasd_eckd_build_alias_cp() local
4718 startdev = dasd_alias_get_start_dev(base); in dasd_eckd_build_alias_cp()
4719 if (!startdev) in dasd_eckd_build_alias_cp()
4720 startdev = base; in dasd_eckd_build_alias_cp()
4721 private = startdev->private; in dasd_eckd_build_alias_cp()
4725 spin_lock_irqsave(get_ccwdev_lock(startdev->cdev), flags); in dasd_eckd_build_alias_cp()
4728 cqr = dasd_eckd_build_cp_raw(startdev, block, req); in dasd_eckd_build_alias_cp()
4730 cqr = dasd_eckd_build_cp(startdev, block, req); in dasd_eckd_build_alias_cp()
4733 spin_unlock_irqrestore(get_ccwdev_lock(startdev->cdev), flags); in dasd_eckd_build_alias_cp()
4807 cqr->startdev = device; in dasd_eckd_release()
4862 cqr->startdev = device; in dasd_eckd_reserve()
4916 cqr->startdev = device; in dasd_eckd_steal_lock()
4977 cqr->startdev = device; in dasd_eckd_snid()
5026 cqr->startdev = device; in dasd_eckd_performance()
5182 cqr->startdev = device; in dasd_symm_io()
5749 cqr->startdev = device; in dasd_eckd_read_message_buffer()
5842 cqr->startdev = device; in dasd_eckd_query_host_access()
6009 cqr->startdev = device; in dasd_eckd_psf_cuir_response()