Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/include/uapi/linux/
Dmtio.h22 int mt_count; /* how many of them */ member
/linux-5.19.10/drivers/scsi/
Dst.c3558 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3568 mtc.mt_count -= 1; in st_ioctl()
3572 mtc.mt_count += 1; in st_ioctl()
3606 mtc.mt_count++; in st_ioctl()
3639 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl()
3640 retval = st_set_options(STp, mtc.mt_count); in st_ioctl()
3646 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl()
3650 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3655 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3659 STp->new_partition = mtc.mt_count; in st_ioctl()
[all …]