Lines Matching refs:first_trk

3196 	sector_t first_trk;  in dasd_eckd_ese_format()  local
3209 first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_format()
3210 sector_div(first_trk, recs_per_trk); in dasd_eckd_ese_format()
3218 if (curr_trk < first_trk || curr_trk > last_trk) { in dasd_eckd_ese_format()
3221 curr_trk, first_trk, last_trk); in dasd_eckd_ese_format()
3270 sector_t first_trk, last_trk; in dasd_eckd_ese_read() local
3295 first_trk = first_blk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_read()
3296 sector_div(first_trk, recs_per_trk); in dasd_eckd_ese_read()
3305 if (curr_trk < first_trk || curr_trk > last_trk) { in dasd_eckd_ese_read()
3308 curr_trk, first_trk, last_trk); in dasd_eckd_ese_read()
3316 if (curr_trk != first_trk) in dasd_eckd_ese_read()
3676 unsigned int first_trk, in dasd_eckd_ras_sanity_checks() argument
3685 if (first_trk >= trks_per_vol) { in dasd_eckd_ras_sanity_checks()
3688 first_trk); in dasd_eckd_ras_sanity_checks()
3695 } else if (first_trk > last_trk) { in dasd_eckd_ras_sanity_checks()
3698 first_trk); in dasd_eckd_ras_sanity_checks()
3763 struct request *req, unsigned int first_trk, in dasd_eckd_dso_ras() argument
3783 if (dasd_eckd_ras_sanity_checks(device, first_trk, last_trk)) in dasd_eckd_dso_ras()
3797 nr_exts = count_exts(first_trk, last_trk, trks_per_ext); in dasd_eckd_dso_ras()
3829 cur_from_trk = first_trk; in dasd_eckd_dso_ras()
3830 cur_to_trk = first_trk + trks_per_ext - in dasd_eckd_dso_ras()
3831 (first_trk % trks_per_ext) - 1; in dasd_eckd_dso_ras()
3971 sector_t first_trk, in dasd_eckd_build_cp_cmd_single() argument
4049 if (prefix(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_single()
4060 if (define_extent(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_single()
4077 locate_record(ccw++, LO_data++, first_trk, first_offs + 1, in dasd_eckd_build_cp_cmd_single()
4163 sector_t first_trk, in dasd_eckd_build_cp_cmd_track() argument
4201 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_cmd_track()
4215 if (first_trk == last_trk) in dasd_eckd_build_cp_cmd_track()
4221 if (prefix_LRE(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_track()
4495 sector_t first_trk, in dasd_eckd_build_cp_tpm_track() argument
4538 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_tpm_track()
4544 ctidaw += (last_trk - first_trk); in dasd_eckd_build_cp_tpm_track()
4554 if (first_trk == last_trk) in dasd_eckd_build_cp_tpm_track()
4566 if (prepare_itcw(itcw, first_trk, last_trk, in dasd_eckd_build_cp_tpm_track()
4673 sector_t first_trk, last_trk; in dasd_eckd_build_cp() local
4689 first_rec = first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_build_cp()
4690 first_offs = sector_div(first_trk, blk_per_trk); in dasd_eckd_build_cp()
4702 data_size += (last_trk - first_trk) * 4; in dasd_eckd_build_cp()
4713 && (fcx_multitrack || (first_trk == last_trk))) { in dasd_eckd_build_cp()
4716 first_trk, last_trk, in dasd_eckd_build_cp()
4727 first_trk, last_trk, in dasd_eckd_build_cp()
4737 first_trk, last_trk, in dasd_eckd_build_cp()
4750 sector_t first_trk, last_trk, sectors; in dasd_eckd_build_cp_raw() local
4784 first_trk = blk_rq_pos(req) / DASD_RAW_SECTORS_PER_TRACK; in dasd_eckd_build_cp_raw()
4787 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_raw()
4830 prefix_LRE(ccw++, data, first_trk, last_trk, cmd, basedev, in dasd_eckd_build_cp_raw()
4833 define_extent(ccw++, data, first_trk, last_trk, cmd, basedev, 0); in dasd_eckd_build_cp_raw()
4837 locate_record_ext(ccw++, data, first_trk, 0, in dasd_eckd_build_cp_raw()