Searched refs:mt_count (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/drivers/s390/char/ |
| D | tape_std.c | 267 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 …]
|
| D | tape_char.c | 353 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()
|
| D | tape_core.c | 1290 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()
|
| D | tape_34xx.c | 1067 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()
|
| D | tape_3590.c | 269 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
|
| /Linux-v5.10/drivers/ide/ |
| D | ide-tape.c | 1065 int mt_count) in idetape_space_over_filemarks() argument 1074 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count); in idetape_space_over_filemarks() 1076 if (mt_count == 0) in idetape_space_over_filemarks() 1081 mt_count = -mt_count; in idetape_space_over_filemarks() 1095 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks() 1103 mt_count - count); in idetape_space_over_filemarks() 1255 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument 1263 mt_op, mt_count); in idetape_mtioctop() 1270 if (!mt_count) in idetape_mtioctop() 1272 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop() [all …]
|
| /Linux-v5.10/include/uapi/linux/ |
| D | mtio.h | 22 int mt_count; /* how many of them */ member
|
| /Linux-v5.10/drivers/scsi/ |
| D | st.c | 3561 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl_common() 3571 mtc.mt_count -= 1; in st_ioctl_common() 3575 mtc.mt_count += 1; in st_ioctl_common() 3609 mtc.mt_count++; in st_ioctl_common() 3642 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl_common() 3643 retval = st_set_options(STp, mtc.mt_count); in st_ioctl_common() 3649 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl_common() 3653 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl_common() 3658 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl_common() 3662 STp->new_partition = mtc.mt_count; in st_ioctl_common() [all …]
|