Searched refs:mt_count (Results 1 – 9 of 9) sorted by relevance
/drivers/s390/char/ |
D | tape_std.c | 280 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument 285 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf() 292 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf() 304 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument 310 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr() 317 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr() 336 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument 342 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr() 349 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr() 367 tape_std_mtweof(struct tape_device *device, int mt_count) in tape_std_mtweof() argument [all …]
|
D | tape_char.c | 373 if (op.mt_count < 0) in tapechar_ioctl() 400 rc = tape_mtop(device, op.mt_op, op.mt_count); in tapechar_ioctl() 403 if (op.mt_count > device->required_tapemarks) in tapechar_ioctl() 406 device->required_tapemarks -= op.mt_count; in tapechar_ioctl()
|
D | tape_core.c | 1243 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument 1250 DBF_EVENT(6, "TAPE:arg: %x\n", mt_count); in tape_mtop() 1262 for (; mt_count > 500; mt_count -= 500) in tape_mtop() 1266 rc = fn(device, mt_count); in tape_mtop() 1268 rc = fn(device, mt_count); in tape_mtop()
|
D | tape_34xx.c | 1079 tape_34xx_mttell(struct tape_device *device, int mt_count) in tape_34xx_mttell() argument 1099 tape_34xx_mtseek(struct tape_device *device, int mt_count) in tape_34xx_mtseek() argument 1104 if (mt_count > 0x3fffff) { in tape_34xx_mtseek() 1117 bid->block = mt_count; in tape_34xx_mtseek()
|
D | tape_3590.c | 264 static int tape_3590_mttell(struct tape_device *device, int mt_count); 472 tape_3590_mttell(struct tape_device *device, int mt_count) in tape_3590_mttell() argument
|
/drivers/ide/ |
D | ide-tape.c | 1476 int mt_count) in idetape_space_over_filemarks() argument 1484 if (mt_count == 0) in idetape_space_over_filemarks() 1489 mt_count = -mt_count; in idetape_space_over_filemarks() 1502 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks() 1510 mt_count - count); in idetape_space_over_filemarks() 1718 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument 1726 mt_op, mt_count); in idetape_mtioctop() 1733 if (!mt_count) in idetape_mtioctop() 1735 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop() 1745 for (i = 0; i < mt_count; i++) { in idetape_mtioctop() [all …]
|
/drivers/scsi/ |
D | osst.c | 1772 int mt_op, int mt_count) in osst_space_over_filemarks_backward() argument 1779 printk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_backwards %d %d\n", name, mt_op, mt_count); in osst_space_over_filemarks_backward() 1794 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward() 1795 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward() 1796 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward() 1799 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward() 1801 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward() 1810 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward() 1833 while (cnt != mt_count) { in osst_space_over_filemarks_backward() 1871 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument [all …]
|
D | st.c | 3361 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl() 3371 mtc.mt_count -= 1; in st_ioctl() 3375 mtc.mt_count += 1; in st_ioctl() 3409 mtc.mt_count++; in st_ioctl() 3442 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl() 3443 retval = st_set_options(STp, mtc.mt_count); in st_ioctl() 3449 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl() 3453 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl() 3458 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl() 3462 STp->new_partition = mtc.mt_count; in st_ioctl() [all …]
|
/drivers/char/ |
D | viotape.c | 627 (((u64)myOp) << 32) | mtc.mt_count, 0); in viotap_ioctl()
|