Home
last modified time | relevance | path

Searched refs:mt_count (Results 1 – 7 of 7) sorted by relevance

/drivers/s390/char/
Dtape_std.c267 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument
272 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf()
279 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf()
291 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument
297 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr()
304 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr()
323 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument
329 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr()
336 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr()
354 tape_std_mtweof(struct tape_device *device, int mt_count) in tape_std_mtweof() argument
[all …]
Dtape_char.c353 if (op.mt_count < 0) in __tapechar_ioctl()
377 rc = tape_mtop(device, op.mt_op, op.mt_count); in __tapechar_ioctl()
380 if (op.mt_count > device->required_tapemarks) in __tapechar_ioctl()
383 device->required_tapemarks -= op.mt_count; in __tapechar_ioctl()
Dtape_core.c1290 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument
1297 DBF_EVENT(6, "TAPE:arg: %x\n", mt_count); in tape_mtop()
1309 for (; mt_count > 500; mt_count -= 500) in tape_mtop()
1313 rc = fn(device, mt_count); in tape_mtop()
1315 rc = fn(device, mt_count); in tape_mtop()
Dtape_34xx.c1067 tape_34xx_mttell(struct tape_device *device, int mt_count) in tape_34xx_mttell() argument
1087 tape_34xx_mtseek(struct tape_device *device, int mt_count) in tape_34xx_mtseek() argument
1092 if (mt_count > 0x3fffff) { in tape_34xx_mtseek()
1105 bid->block = mt_count; in tape_34xx_mtseek()
Dtape_3590.c269 static int tape_3590_mttell(struct tape_device *device, int mt_count);
521 tape_3590_mttell(struct tape_device *device, int mt_count) in tape_3590_mttell() argument
/drivers/ide/
Dide-tape.c1064 int mt_count) in idetape_space_over_filemarks() argument
1073 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count); in idetape_space_over_filemarks()
1075 if (mt_count == 0) in idetape_space_over_filemarks()
1080 mt_count = -mt_count; in idetape_space_over_filemarks()
1094 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks()
1102 mt_count - count); in idetape_space_over_filemarks()
1254 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument
1262 mt_op, mt_count); in idetape_mtioctop()
1269 if (!mt_count) in idetape_mtioctop()
1271 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop()
[all …]
/drivers/scsi/
Dst.c3562 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3572 mtc.mt_count -= 1; in st_ioctl()
3576 mtc.mt_count += 1; in st_ioctl()
3610 mtc.mt_count++; in st_ioctl()
3643 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl()
3644 retval = st_set_options(STp, mtc.mt_count); in st_ioctl()
3650 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl()
3654 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3659 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3663 STp->new_partition = mtc.mt_count; in st_ioctl()
[all …]