Lines Matching refs:last_trk
3194 sector_t last_trk; in dasd_eckd_ese_format() local
3208 last_trk = in dasd_eckd_ese_format()
3210 sector_div(last_trk, recs_per_trk); in dasd_eckd_ese_format()
3215 if (curr_trk < first_trk || curr_trk > last_trk) { in dasd_eckd_ese_format()
3218 curr_trk, first_trk, last_trk); in dasd_eckd_ese_format()
3267 sector_t first_trk, last_trk; in dasd_eckd_ese_read() local
3294 last_trk = last_blk = in dasd_eckd_ese_read()
3296 sector_div(last_trk, recs_per_trk); in dasd_eckd_ese_read()
3302 if (curr_trk < first_trk || curr_trk > last_trk) { in dasd_eckd_ese_read()
3305 curr_trk, first_trk, last_trk); in dasd_eckd_ese_read()
3674 unsigned int last_trk) in dasd_eckd_ras_sanity_checks() argument
3687 } else if (last_trk >= trks_per_vol) { in dasd_eckd_ras_sanity_checks()
3690 last_trk); in dasd_eckd_ras_sanity_checks()
3692 } else if (first_trk > last_trk) { in dasd_eckd_ras_sanity_checks()
3741 unsigned int last_trk, int by_extent) in dasd_eckd_dso_ras() argument
3759 if (dasd_eckd_ras_sanity_checks(device, first_trk, last_trk)) in dasd_eckd_dso_ras()
3769 nr_exts = count_exts(first_trk, last_trk, trks_per_ext); in dasd_eckd_dso_ras()
3802 if (cur_to_trk > last_trk) in dasd_eckd_dso_ras()
3803 cur_to_trk = last_trk; in dasd_eckd_dso_ras()
3817 if (cur_to_trk > last_trk) in dasd_eckd_dso_ras()
3818 cur_to_trk = last_trk; in dasd_eckd_dso_ras()
3942 sector_t last_trk, in dasd_eckd_build_cp_cmd_single() argument
4020 last_trk, cmd, basedev, startdev) == -EAGAIN) { in dasd_eckd_build_cp_cmd_single()
4031 last_trk, cmd, basedev, 0) == -EAGAIN) { in dasd_eckd_build_cp_cmd_single()
4134 sector_t last_trk, in dasd_eckd_build_cp_cmd_track() argument
4171 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_cmd_track()
4185 if (first_trk == last_trk) in dasd_eckd_build_cp_cmd_track()
4192 last_trk, cmd, basedev, startdev, in dasd_eckd_build_cp_cmd_track()
4466 sector_t last_trk, in dasd_eckd_build_cp_tpm_track() argument
4508 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_tpm_track()
4514 ctidaw += (last_trk - first_trk); in dasd_eckd_build_cp_tpm_track()
4524 if (first_trk == last_trk) in dasd_eckd_build_cp_tpm_track()
4536 if (prepare_itcw(itcw, first_trk, last_trk, in dasd_eckd_build_cp_tpm_track()
4643 sector_t first_trk, last_trk; in dasd_eckd_build_cp() local
4661 last_rec = last_trk = in dasd_eckd_build_cp()
4663 last_offs = sector_div(last_trk, blk_per_trk); in dasd_eckd_build_cp()
4672 data_size += (last_trk - first_trk) * 4; in dasd_eckd_build_cp()
4683 && (fcx_multitrack || (first_trk == last_trk))) { in dasd_eckd_build_cp()
4686 first_trk, last_trk, in dasd_eckd_build_cp()
4697 first_trk, last_trk, in dasd_eckd_build_cp()
4707 first_trk, last_trk, in dasd_eckd_build_cp()
4720 sector_t first_trk, last_trk, sectors; in dasd_eckd_build_cp_raw() local
4755 last_trk = (blk_rq_pos(req) + blk_rq_sectors(req) - 1) / in dasd_eckd_build_cp_raw()
4757 trkcount = last_trk - first_trk + 1; in dasd_eckd_build_cp_raw()
4800 prefix_LRE(ccw++, data, first_trk, last_trk, cmd, basedev, in dasd_eckd_build_cp_raw()
4803 define_extent(ccw++, data, first_trk, last_trk, cmd, basedev, 0); in dasd_eckd_build_cp_raw()