Home
last modified time | relevance | path

Searched refs:trks_per_ext (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/s390/block/
Ddasd_eckd.c3705 static int count_exts(unsigned int from, unsigned int to, int trks_per_ext) in count_exts() argument
3715 if (from % trks_per_ext != 0) { in count_exts()
3716 tmp = from + trks_per_ext - (from % trks_per_ext) - 1; in count_exts()
3723 if (to - (from + cur_pos) + 1 >= trks_per_ext) { in count_exts()
3724 tmp = to - ((to - trks_per_ext + 1) % trks_per_ext); in count_exts()
3725 count += (tmp - (from + cur_pos) + 1) / trks_per_ext; in count_exts()
3752 int trks_per_ext; in dasd_eckd_dso_ras() local
3766 trks_per_ext = dasd_eckd_ext_size(device) * private->rdc_data.trk_per_cyl; in dasd_eckd_dso_ras()
3769 nr_exts = count_exts(first_trk, last_trk, trks_per_ext); in dasd_eckd_dso_ras()
3800 cur_to_trk = first_trk + trks_per_ext - in dasd_eckd_dso_ras()
[all …]