Lines Matching refs:len_to_track_end
4182 unsigned int idaw_len, seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_cmd_track() local
4244 len_to_track_end = 0; in dasd_eckd_build_cp_cmd_track()
4257 len_to_track_end = count * blksize; in dasd_eckd_build_cp_cmd_track()
4260 ccw->count = len_to_track_end; in dasd_eckd_build_cp_cmd_track()
4287 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_cmd_track()
4291 len_to_track_end -= part_len; in dasd_eckd_build_cp_cmd_track()
4300 if (!len_to_track_end) { in dasd_eckd_build_cp_cmd_track()
4515 unsigned int seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_tpm_track() local
4578 len_to_track_end = 0; in dasd_eckd_build_cp_tpm_track()
4600 len_to_track_end = count * blksize; in dasd_eckd_build_cp_tpm_track()
4604 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_tpm_track()
4606 len_to_track_end -= part_len; in dasd_eckd_build_cp_tpm_track()
4608 if (!len_to_track_end) { in dasd_eckd_build_cp_tpm_track()
4748 unsigned int seg_len, len_to_track_end; in dasd_eckd_build_cp_raw() local
4842 len_to_track_end = 0; in dasd_eckd_build_cp_raw()
4849 len_to_track_end = 65536 - start_padding_sectors * 512; in dasd_eckd_build_cp_raw()
4862 if (!len_to_track_end) { in dasd_eckd_build_cp_raw()
4868 len_to_track_end = 65536; in dasd_eckd_build_cp_raw()
4874 len_to_track_end -= seg_len; in dasd_eckd_build_cp_raw()