Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/block/
Ddasd_fba.c281 static int count_ccws(sector_t first_rec, sector_t last_rec, in count_ccws() argument
288 if (first_rec % blocks_per_page != 0) { in count_ccws()
289 wz_stop = first_rec + blocks_per_page - in count_ccws()
290 (first_rec % blocks_per_page) - 1; in count_ccws()
293 cur_pos = wz_stop - first_rec + 1; in count_ccws()
297 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
304 cur_pos += d_stop - (first_rec + cur_pos) + 1; in count_ccws()
308 if (cur_pos == 0 || first_rec + cur_pos - 1 < last_rec) in count_ccws()
335 sector_t first_rec, last_rec; in dasd_fba_build_cp_discard() local
347 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_fba_build_cp_discard()
[all …]
Ddasd_diag.c510 sector_t recid, first_rec, last_rec; in dasd_diag_build_cp() local
522 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_diag_build_cp()
534 if (count != last_rec - first_rec + 1) in dasd_diag_build_cp()
547 recid = first_rec; in dasd_diag_build_cp()
Ddasd_eckd.c3026 sector_t first_rec, in dasd_eckd_build_cp_cmd_single() argument
3071 if (count != last_rec - first_rec + 1) in dasd_eckd_build_cp_cmd_single()
3092 if (private->uses_cdl && first_rec < 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
3094 count = 2*blk_per_trk - first_rec; in dasd_eckd_build_cp_cmd_single()
3130 recid = first_rec; in dasd_eckd_build_cp_cmd_single()
3210 sector_t first_rec, in dasd_eckd_build_cp_cmd_track() argument
3249 cidaw = last_rec - first_rec + 1; in dasd_eckd_build_cp_cmd_track()
3290 recid = first_rec; in dasd_eckd_build_cp_cmd_track()
3537 sector_t first_rec, in dasd_eckd_build_cp_tpm_track() argument
3614 (last_rec - first_rec + 1) * blksize, in dasd_eckd_build_cp_tpm_track()
[all …]