Searched refs:trks_per_ext (Results 1 – 1 of 1) sorted by relevance
3708 static int count_exts(unsigned int from, unsigned int to, int trks_per_ext) in count_exts() argument3718 if (from % trks_per_ext != 0) { in count_exts()3719 tmp = from + trks_per_ext - (from % trks_per_ext) - 1; in count_exts()3726 if (to - (from + cur_pos) + 1 >= trks_per_ext) { in count_exts()3727 tmp = to - ((to - trks_per_ext + 1) % trks_per_ext); in count_exts()3728 count += (tmp - (from + cur_pos) + 1) / trks_per_ext; in count_exts()3776 int trks_per_ext; in dasd_eckd_dso_ras() local3794 trks_per_ext = dasd_eckd_ext_size(device) * private->rdc_data.trk_per_cyl; in dasd_eckd_dso_ras()3797 nr_exts = count_exts(first_trk, last_trk, trks_per_ext); in dasd_eckd_dso_ras()3830 cur_to_trk = first_trk + trks_per_ext - in dasd_eckd_dso_ras()[all …]