Lines Matching refs:blk_per_trk
605 int blk_per_trk = recs_per_track (&(private->rdc_data), 0, byt_per_blk); in dasd_eckd_cdl_reclen() local
608 if (recid < blk_per_trk) in dasd_eckd_cdl_reclen()
610 if (recid < 2 * blk_per_trk) in dasd_eckd_cdl_reclen()
1147 int blk_per_trk = recs_per_track (&(private->rdc_data), 0, byt_per_blk); in dasd_eckd_cdl_cmd() local
1152 if (recid < blk_per_trk) in dasd_eckd_cdl_cmd()
1154 if (recid < 2 * blk_per_trk) in dasd_eckd_cdl_cmd()
1161 if (recid < blk_per_trk) in dasd_eckd_cdl_cmd()
1163 if (recid < 2 * blk_per_trk) in dasd_eckd_cdl_cmd()
1188 int blk_per_trk = recs_per_track (&(private->rdc_data), 0, byt_per_blk); in dasd_eckd_build_cp_from_req() local
1191 int btrk = (reloc_sector >> shift) / blk_per_trk; in dasd_eckd_build_cp_from_req()
1192 int etrk = ((reloc_sector + req->nr_sectors - 1) >> shift) / blk_per_trk; in dasd_eckd_build_cp_from_req()
1225 nlocs = 2 * blk_per_trk - recid; in dasd_eckd_build_cp_from_req()
1249 if ((recid / blk_per_trk) < 2 in dasd_eckd_build_cp_from_req()
1255 recid / blk_per_trk, in dasd_eckd_build_cp_from_req()
1256 recid % blk_per_trk + 1, in dasd_eckd_build_cp_from_req()
1265 recid /blk_per_trk, in dasd_eckd_build_cp_from_req()
1266 recid %blk_per_trk + 1, in dasd_eckd_build_cp_from_req()