Lines Matching refs:recid
711 dasd_eckd_cdl_special(int blk_per_trk, int recid) in dasd_eckd_cdl_special() argument
713 if (recid < 3) in dasd_eckd_cdl_special()
715 if (recid < blk_per_trk) in dasd_eckd_cdl_special()
717 if (recid < 2 * blk_per_trk) in dasd_eckd_cdl_special()
728 dasd_eckd_cdl_reclen(int recid) in dasd_eckd_cdl_reclen() argument
730 if (recid < 3) in dasd_eckd_cdl_reclen()
731 return sizes_trk0[recid]; in dasd_eckd_cdl_reclen()
3974 sector_t recid; in dasd_eckd_build_cp_cmd_single() local
4057 recid = first_rec; in dasd_eckd_build_cp_cmd_single()
4058 if (private->uses_cdl == 0 || recid > 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
4062 last_rec - recid + 1, cmd, basedev, blksize); in dasd_eckd_build_cp_cmd_single()
4075 sector_t trkid = recid; in dasd_eckd_build_cp_cmd_single()
4080 if (private->uses_cdl && recid < 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
4081 if (dasd_eckd_cdl_special(blk_per_trk, recid)){ in dasd_eckd_build_cp_cmd_single()
4083 count = dasd_eckd_cdl_reclen(recid); in dasd_eckd_build_cp_cmd_single()
4095 if (private->uses_cdl && recid == 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
4099 last_rec - recid + 1, in dasd_eckd_build_cp_cmd_single()
4116 recid++; in dasd_eckd_build_cp_cmd_single()
4160 sector_t recid; in dasd_eckd_build_cp_cmd_track() local
4223 recid = first_rec; in dasd_eckd_build_cp_cmd_track()
4234 trkid = recid; in dasd_eckd_build_cp_cmd_track()
4237 count = min((last_rec - recid + 1), in dasd_eckd_build_cp_cmd_track()
4246 recid += count; in dasd_eckd_build_cp_cmd_track()
4499 sector_t recid, trkid; in dasd_eckd_build_cp_tpm_track() local
4571 recid = first_rec; in dasd_eckd_build_cp_tpm_track()
4577 trkid = recid; in dasd_eckd_build_cp_tpm_track()
4580 count = min((last_rec - recid + 1), in dasd_eckd_build_cp_tpm_track()
4583 recid += count; in dasd_eckd_build_cp_tpm_track()
4885 sector_t recid; in dasd_eckd_free_cp() local
4893 recid = blk_rq_pos(req) >> cqr->block->s2b_shift; in dasd_eckd_free_cp()
4897 if (private->uses_cdl == 0 || recid > 2*blk_per_trk) in dasd_eckd_free_cp()
4903 if (private->uses_cdl && recid <= 2*blk_per_trk) in dasd_eckd_free_cp()
4919 recid++; in dasd_eckd_free_cp()