Lines Matching refs:len_to_track_end
4152 unsigned int idaw_len, seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_cmd_track() local
4214 len_to_track_end = 0; in dasd_eckd_build_cp_cmd_track()
4227 len_to_track_end = count * blksize; in dasd_eckd_build_cp_cmd_track()
4230 ccw->count = len_to_track_end; in dasd_eckd_build_cp_cmd_track()
4257 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_cmd_track()
4261 len_to_track_end -= part_len; in dasd_eckd_build_cp_cmd_track()
4270 if (!len_to_track_end) { in dasd_eckd_build_cp_cmd_track()
4485 unsigned int seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_tpm_track() local
4548 len_to_track_end = 0; in dasd_eckd_build_cp_tpm_track()
4570 len_to_track_end = count * blksize; in dasd_eckd_build_cp_tpm_track()
4574 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_tpm_track()
4576 len_to_track_end -= part_len; in dasd_eckd_build_cp_tpm_track()
4578 if (!len_to_track_end) { in dasd_eckd_build_cp_tpm_track()
4718 unsigned int seg_len, len_to_track_end; in dasd_eckd_build_cp_raw() local
4812 len_to_track_end = 0; in dasd_eckd_build_cp_raw()
4819 len_to_track_end = 65536 - start_padding_sectors * 512; in dasd_eckd_build_cp_raw()
4832 if (!len_to_track_end) { in dasd_eckd_build_cp_raw()
4838 len_to_track_end = 65536; in dasd_eckd_build_cp_raw()
4844 len_to_track_end -= seg_len; in dasd_eckd_build_cp_raw()