Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_eckd.c3447 static int count_exts(unsigned int from, unsigned int to, int trks_per_ext) in count_exts() argument
3457 if (from % trks_per_ext != 0) { in count_exts()
3458 tmp = from + trks_per_ext - (from % trks_per_ext) - 1; in count_exts()
3465 if (to - (from + cur_pos) + 1 >= trks_per_ext) { in count_exts()
3466 tmp = to - ((to - trks_per_ext + 1) % trks_per_ext); in count_exts()
3467 count += (tmp - (from + cur_pos) + 1) / trks_per_ext; in count_exts()
3494 int trks_per_ext; in dasd_eckd_dso_ras() local
3508 trks_per_ext = dasd_eckd_ext_size(device) * private->rdc_data.trk_per_cyl; in dasd_eckd_dso_ras()
3511 nr_exts = count_exts(first_trk, last_trk, trks_per_ext); in dasd_eckd_dso_ras()
3542 cur_to_trk = first_trk + trks_per_ext - in dasd_eckd_dso_ras()
[all …]