Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/char/
Dtape_std.c266 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument
271 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf()
278 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf()
290 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument
296 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr()
303 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr()
322 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument
328 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr()
335 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr()
353 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()
375 rc = tape_mtop(device, op.mt_op, op.mt_count); in __tapechar_ioctl()
378 if (op.mt_count > device->required_tapemarks) in __tapechar_ioctl()
381 device->required_tapemarks -= op.mt_count; in __tapechar_ioctl()
Dtape_core.c1241 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument
1248 DBF_EVENT(6, "TAPE:arg: %x\n", mt_count); in tape_mtop()
1260 for (; mt_count > 500; mt_count -= 500) in tape_mtop()
1264 rc = fn(device, mt_count); in tape_mtop()
1266 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
/linux-6.1.9/include/uapi/linux/
Dmtio.h22 int mt_count; /* how many of them */ member
/linux-6.1.9/drivers/scsi/
Dst.c3560 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3570 mtc.mt_count -= 1; in st_ioctl()
3574 mtc.mt_count += 1; in st_ioctl()
3608 mtc.mt_count++; in st_ioctl()
3641 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl()
3642 retval = st_set_options(STp, mtc.mt_count); in st_ioctl()
3648 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl()
3652 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3657 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3661 STp->new_partition = mtc.mt_count; in st_ioctl()
[all …]