Home
last modified time | relevance | path

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

/drivers/s390/char/
Dtape_std.c271 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf() argument
276 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsf()
283 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf()
295 tape_std_mtfsr(struct tape_device *device, int mt_count) in tape_std_mtfsr() argument
301 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtfsr()
308 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr()
327 tape_std_mtbsr(struct tape_device *device, int mt_count) in tape_std_mtbsr() argument
333 request = tape_alloc_request(mt_count + 2, 0); in tape_std_mtbsr()
340 ccw = tape_ccw_repeat(ccw, BACKSPACEBLOCK, mt_count); in tape_std_mtbsr()
358 tape_std_mtweof(struct tape_device *device, int mt_count) in tape_std_mtweof() argument
[all …]
Dtape_char.c352 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()
Dtape_core.c1292 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()
Dtape_34xx.c1068 tape_34xx_mttell(struct tape_device *device, int mt_count) in tape_34xx_mttell() argument
1088 tape_34xx_mtseek(struct tape_device *device, int mt_count) in tape_34xx_mtseek() argument
1093 if (mt_count > 0x3fffff) { in tape_34xx_mtseek()
1106 bid->block = mt_count; in tape_34xx_mtseek()
Dtape_3590.c268 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/
Dide-tape.c1062 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/
Dosst.c1848 int mt_op, int mt_count) in osst_space_over_filemarks_backward() argument
1855 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()
1870 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward()
1871 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward()
1872 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward()
1875 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1877 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward()
1886 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward()
1909 while (cnt != mt_count) { in osst_space_over_filemarks_backward()
1947 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument
[all …]
Dst.c3381 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3391 mtc.mt_count -= 1; in st_ioctl()
3395 mtc.mt_count += 1; in st_ioctl()
3429 mtc.mt_count++; in st_ioctl()
3462 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in st_ioctl()
3463 retval = st_set_options(STp, mtc.mt_count); in st_ioctl()
3469 mtc.mt_count < 0 || mtc.mt_count >= ST_NBR_PARTITIONS) { in st_ioctl()
3473 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3478 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3482 STp->new_partition = mtc.mt_count; in st_ioctl()
[all …]