Lines Matching refs:mt_count
1476 int mt_count) in idetape_space_over_filemarks() argument
1484 if (mt_count == 0) in idetape_space_over_filemarks()
1489 mt_count = -mt_count; in idetape_space_over_filemarks()
1502 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks()
1510 mt_count - count); in idetape_space_over_filemarks()
1718 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument
1726 mt_op, mt_count); in idetape_mtioctop()
1733 if (!mt_count) in idetape_mtioctop()
1735 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop()
1745 for (i = 0; i < mt_count; i++) { in idetape_mtioctop()
1789 if (mt_count) { in idetape_mtioctop()
1790 if (mt_count < tape->blk_size || in idetape_mtioctop()
1791 mt_count % tape->blk_size) in idetape_mtioctop()
1793 tape->user_bs_factor = mt_count / tape->blk_size; in idetape_mtioctop()
1801 mt_count * tape->user_bs_factor, tape->partition, 0); in idetape_mtioctop()
1804 return idetape_position_tape(drive, 0, mt_count, 0); in idetape_mtioctop()
1859 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count); in idetape_chrdev_ioctl()