Home
last modified time | relevance | path

Searched refs:mt_op (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/
Dst.c3454 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3461 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3470 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3471 mtc.mt_op == MTEOM) { in st_ioctl()
3475 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
3482 if (mtc.mt_op == MTSEEK) { in st_ioctl()
3488 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()
3489 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM || in st_ioctl()
3490 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD || in st_ioctl()
3491 mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
[all …]
Dosst.c1850 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()
1933 if (mt_op == MTBSFM) { in osst_space_over_filemarks_backward()
1949 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument
1955 …printk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_forward_slow %d %d\n", name, mt_op, mt_cou… in osst_space_over_filemarks_forward_slow()
1989 if (mt_op == MTFSF) { in osst_space_over_filemarks_forward_slow()
2003 int mt_op, int mt_count) in osst_space_over_filemarks_forward_fast() argument
2010 …printk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_forward_fast %d %d\n", name, mt_op, mt_cou… in osst_space_over_filemarks_forward_fast()
2048 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
2088 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
[all …]
/drivers/s390/char/
Dtape_core.c1292 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument
1298 DBF_EVENT(6, "TAPE:ioop: %x\n", mt_op); in tape_mtop()
1301 if (mt_op < 0 || mt_op >= TAPE_NR_MTOPS) in tape_mtop()
1303 fn = device->discipline->mtop_array[mt_op]; in tape_mtop()
1308 if (mt_op == MTBSR || mt_op == MTFSR || mt_op == MTFSF || in tape_mtop()
1309 mt_op == MTBSF || mt_op == MTFSFM || mt_op == MTBSFM) { in tape_mtop()
Dtape_char.c359 switch (op.mt_op) { in __tapechar_ioctl()
376 rc = tape_mtop(device, op.mt_op, op.mt_count); in __tapechar_ioctl()
378 if (op.mt_op == MTWEOF && rc == 0) { in __tapechar_ioctl()
/drivers/ide/
Dide-tape.c1061 static int idetape_space_over_filemarks(ide_drive_t *drive, short mt_op, 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()
1075 if (MTBSF == mt_op || MTBSFM == mt_op) { in idetape_space_over_filemarks()
1089 switch (mt_op) { in idetape_space_over_filemarks()
1103 count = (MTBSFM == mt_op ? 1 : -1); in idetape_space_over_filemarks()
1107 mt_op); 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()
1262 switch (mt_op) { in idetape_mtioctop()
1269 return idetape_space_over_filemarks(drive, mt_op, mt_count); in idetape_mtioctop()
[all …]
/drivers/block/paride/
Dpt.c716 switch (mtop.mt_op) { in pt_ioctl()
733 mtop.mt_op); in pt_ioctl()