/Linux-v4.19/drivers/s390/char/ |
D | tape_std.c | 267 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument 272 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf() 279 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf() 291 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument 297 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr() 304 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr() 323 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument 329 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr() 336 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr() 354 tape_std_mtweof(struct tape_device *device, int mt_count) in tape_std_mtweof() argument [all …]
|
D | tape_char.c | 353 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()
|
D | tape_core.c | 1287 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument 1294 DBF_EVENT(6, "TAPE:arg: %x\n", mt_count); in tape_mtop() 1306 for (; mt_count > 500; mt_count -= 500) in tape_mtop() 1310 rc = fn(device, mt_count); in tape_mtop() 1312 rc = fn(device, mt_count); in tape_mtop()
|
D | tape_34xx.c | 1067 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()
|
D | tape_3590.c | 269 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-v4.19/drivers/ide/ |
D | ide-tape.c | 1064 int mt_count) in idetape_space_over_filemarks() argument 1073 ide_debug_log(IDE_DBG_FUNC, "mt_op: %d, mt_count: %d", mt_op, mt_count); in idetape_space_over_filemarks() 1075 if (mt_count == 0) in idetape_space_over_filemarks() 1080 mt_count = -mt_count; in idetape_space_over_filemarks() 1094 idetape_create_space_cmd(&pc, mt_count - count, in idetape_space_over_filemarks() 1102 mt_count - count); in idetape_space_over_filemarks() 1254 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop() argument 1262 mt_op, mt_count); in idetape_mtioctop() 1269 if (!mt_count) in idetape_mtioctop() 1271 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop() [all …]
|
/Linux-v4.19/drivers/scsi/ |
D | osst.c | 1853 int mt_op, int mt_count) in osst_space_over_filemarks_backward() argument 1860 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() 1875 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward() 1876 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward() 1877 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward() 1880 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward() 1882 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward() 1891 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward() 1914 while (cnt != mt_count) { in osst_space_over_filemarks_backward() 1952 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument [all …]
|
D | st.c | 3558 (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 …]
|
/Linux-v4.19/include/uapi/linux/ |
D | mtio.h | 22 int mt_count; /* how many of them */ member
|