Searched refs:mt_count (Results 1 – 8 of 8) sorted by relevance
/drivers/s390/char/ |
D | tape_std.c | 272 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument 277 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf() 284 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf() 296 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument 302 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr() 309 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr() 328 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument 334 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr() 341 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr() 359 tape_std_mtweof(struct tape_device *device, int mt_count) in tape_std_mtweof() argument [all …]
|
D | tape_char.c | 352 if (op.mt_count < 0) in __tapechar_ioctl() 376 rc = tape_mtop(device, op.mt_op, op.mt_count); in __tapechar_ioctl() 379 if (op.mt_count > device->required_tapemarks) in __tapechar_ioctl() 382 device->required_tapemarks -= op.mt_count; in __tapechar_ioctl()
|
D | tape_core.c | 1292 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument 1299 DBF_EVENT(6, "TAPE:arg: %x\n", mt_count); in tape_mtop() 1311 for (; mt_count > 500; mt_count -= 500) in tape_mtop() 1315 rc = fn(device, mt_count); in tape_mtop() 1317 rc = fn(device, mt_count); in tape_mtop()
|
D | tape_34xx.c | 1066 tape_34xx_mttell(struct tape_device *device, int mt_count) in tape_34xx_mttell() argument 1086 tape_34xx_mtseek(struct tape_device *device, int mt_count) in tape_34xx_mtseek() argument 1091 if (mt_count > 0x3fffff) { in tape_34xx_mtseek() 1104 bid->block = mt_count; in tape_34xx_mtseek()
|
D | tape_3590.c | 268 static int tape_3590_mttell(struct tape_device *device, int mt_count); 525 tape_3590_mttell(struct tape_device *device, int mt_count) in tape_3590_mttell() argument
|
/drivers/ide/ |
D | ide-tape.c | 1062 int mt_count) in idetape_space_over_filemarks() argument 1071 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count); in idetape_space_over_filemarks() 1073 if (mt_count == 0) in idetape_space_over_filemarks() 1078 mt_count = -mt_count; in idetape_space_over_filemarks() 1092 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks() 1100 mt_count - count); in idetape_space_over_filemarks() 1252 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument 1260 mt_op, mt_count); in idetape_mtioctop() 1267 if (!mt_count) in idetape_mtioctop() 1269 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop() [all …]
|
/drivers/scsi/ |
D | osst.c | 1850 int mt_op, int mt_count) in osst_space_over_filemarks_backward() argument 1857 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() 1872 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward() 1873 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward() 1874 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward() 1877 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward() 1879 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward() 1888 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward() 1911 while (cnt != mt_count) { in osst_space_over_filemarks_backward() 1949 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument [all …]
|
D | st.c | 3462 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl() 3472 mtc.mt_count -= 1; in st_ioctl() 3476 mtc.mt_count += 1; in st_ioctl() 3510 mtc.mt_count++; in st_ioctl() 3543 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl() 3544 retval = st_set_options(STp, mtc.mt_count); in st_ioctl() 3550 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl() 3554 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl() 3559 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl() 3563 STp->new_partition = mtc.mt_count; in st_ioctl() [all …]
|