Lines Matching refs:mt_count
1065 int mt_count)
1074 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count);
1076 if (mt_count == 0)
1081 mt_count = -mt_count;
1095 idetape_create_space_cmd(&pc, mt_count - count,
1103 mt_count - count);
1255 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count)
1262 ide_debug_log(IDE_DBG_FUNC, "MTIOCTOP ioctl: mt_op: %d, mt_count: %d",
1263 mt_op, mt_count);
1270 if (!mt_count)
1272 return idetape_space_over_filemarks(drive, mt_op, mt_count);
1282 for (i = 0; i < mt_count; i++) {
1327 if (mt_count) {
1328 if (mt_count < tape->blk_size ||
1329 mt_count % tape->blk_size)
1331 tape->user_bs_factor = mt_count / tape->blk_size;
1341 mt_count * tape->user_bs_factor, tape->partition, 0);
1344 return idetape_position_tape(drive, 0, mt_count, 0);
1399 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count);