Lines Matching refs:mt_count
1062 int mt_count) in idetape_space_over_filemarks() argument
1071 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count); in idetape_space_over_filemarks()
1073 if (mt_count == 0) in idetape_space_over_filemarks()
1078 mt_count = -mt_count; in idetape_space_over_filemarks()
1092 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks()
1100 mt_count - count); in idetape_space_over_filemarks()
1252 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument
1260 mt_op, mt_count); in idetape_mtioctop()
1267 if (!mt_count) in idetape_mtioctop()
1269 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop()
1279 for (i = 0; i < mt_count; i++) { in idetape_mtioctop()
1324 if (mt_count) { in idetape_mtioctop()
1325 if (mt_count < tape->blk_size || in idetape_mtioctop()
1326 mt_count % tape->blk_size) in idetape_mtioctop()
1328 tape->user_bs_factor = mt_count / tape->blk_size; in idetape_mtioctop()
1338 mt_count * tape->user_bs_factor, tape->partition, 0); in idetape_mtioctop()
1341 return idetape_position_tape(drive, 0, mt_count, 0); in idetape_mtioctop()
1396 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count); in do_idetape_chrdev_ioctl()