Home
last modified time | relevance | path

Searched refs:mt_count (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/char/
H A 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
378 tape_std_mtbsfm(struct tape_device *device, int mt_count) tape_std_mtbsfm() argument
402 tape_std_mtbsf(struct tape_device *device, int mt_count) tape_std_mtbsf() argument
433 tape_std_mtfsfm(struct tape_device *device, int mt_count) tape_std_mtfsfm() argument
463 tape_std_mtrew(struct tape_device *device, int mt_count) tape_std_mtrew() argument
486 tape_std_mtoffl(struct tape_device *device, int mt_count) tape_std_mtoffl() argument
507 tape_std_mtnop(struct tape_device *device, int mt_count) tape_std_mtnop() argument
528 tape_std_mteom(struct tape_device *device, int mt_count) tape_std_mteom() argument
558 tape_std_mtreten(struct tape_device *device, int mt_count) tape_std_mtreten() argument
581 tape_std_mterase(struct tape_device *device, int mt_count) tape_std_mterase() argument
605 tape_std_mtunload(struct tape_device *device, int mt_count) tape_std_mtunload() argument
615 tape_std_mtcompression(struct tape_device *device, int mt_count) tape_std_mtcompression() argument
[all...]
H A 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()
H A 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()
H A 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()
H A 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
/kernel/linux/linux-6.6/drivers/s390/char/
H A 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
378 tape_std_mtbsfm(struct tape_device *device, int mt_count) tape_std_mtbsfm() argument
402 tape_std_mtbsf(struct tape_device *device, int mt_count) tape_std_mtbsf() argument
433 tape_std_mtfsfm(struct tape_device *device, int mt_count) tape_std_mtfsfm() argument
463 tape_std_mtrew(struct tape_device *device, int mt_count) tape_std_mtrew() argument
486 tape_std_mtoffl(struct tape_device *device, int mt_count) tape_std_mtoffl() argument
507 tape_std_mtnop(struct tape_device *device, int mt_count) tape_std_mtnop() argument
528 tape_std_mteom(struct tape_device *device, int mt_count) tape_std_mteom() argument
558 tape_std_mtreten(struct tape_device *device, int mt_count) tape_std_mtreten() argument
581 tape_std_mterase(struct tape_device *device, int mt_count) tape_std_mterase() argument
605 tape_std_mtunload(struct tape_device *device, int mt_count) tape_std_mtunload() argument
615 tape_std_mtcompression(struct tape_device *device, int mt_count) tape_std_mtcompression() argument
[all...]
H A 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()
H A 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()
H A 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()
H A 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
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-tape.c1065 int mt_count) in idetape_space_over_filemarks()
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
1262 ide_debug_log(IDE_DBG_FUNC, "MTIOCTOP ioctl: mt_op: %d, mt_count in idetape_mtioctop()
1064 idetape_space_over_filemarks(ide_drive_t *drive, short mt_op, int mt_count) idetape_space_over_filemarks() argument
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dmtio.h22 int mt_count; /* how many of them */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dmtio.h22 int mt_count; /* how many of them */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dmtio.h25 int mt_count; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dmtio.h25 int mt_count; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dmtio.h12 int mt_count; member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dst.c3575 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl_common()
3585 mtc.mt_count -= 1; in st_ioctl_common()
3589 mtc.mt_count += 1; in st_ioctl_common()
3623 mtc.mt_count++; in st_ioctl_common()
3656 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl_common()
3657 retval = st_set_options(STp, mtc.mt_count); in st_ioctl_common()
3663 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl_common()
3667 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl_common()
3672 if (mtc.mt_count > in st_ioctl_common()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dst.c3576 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3586 mtc.mt_count -= 1; in st_ioctl()
3590 mtc.mt_count += 1; in st_ioctl()
3624 mtc.mt_count++; in st_ioctl()
3657 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl()
3658 retval = st_set_options(STp, mtc.mt_count); in st_ioctl()
3664 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl()
3668 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3673 if (mtc.mt_count > in st_ioctl()
[all...]

Completed in 25 milliseconds