Lines Matching refs:mt_count
1064 int mt_count)
1073 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count);
1075 if (mt_count == 0)
1080 mt_count = -mt_count;
1094 idetape_create_space_cmd(&pc, mt_count - count,
1102 mt_count - count);
1254 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count)
1261 ide_debug_log(IDE_DBG_FUNC, "MTIOCTOP ioctl: mt_op: %d, mt_count: %d",
1262 mt_op, mt_count);
1269 if (!mt_count)
1271 return idetape_space_over_filemarks(drive, mt_op, mt_count);
1281 for (i = 0; i < mt_count; i++) {
1326 if (mt_count) {
1327 if (mt_count < tape->blk_size ||
1328 mt_count % tape->blk_size)
1330 tape->user_bs_factor = mt_count / tape->blk_size;
1340 mt_count * tape->user_bs_factor, tape->partition, 0);
1343 return idetape_position_tape(drive, 0, mt_count, 0);
1398 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count);