Home
last modified time | relevance | path

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

/drivers/scsi/
Dst.c3373 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3380 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3389 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3390 mtc.mt_op == MTEOM) { in st_ioctl()
3394 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
3401 if (mtc.mt_op == MTSEEK) { in st_ioctl()
3407 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()
3408 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM || in st_ioctl()
3409 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD || in st_ioctl()
3410 mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
[all …]
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()
1931 if (mt_op == MTBSFM) { in osst_space_over_filemarks_backward()
1947 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument
1953 …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()
1987 if (mt_op == MTFSF) { in osst_space_over_filemarks_forward_slow()
2001 int mt_op, int mt_count) in osst_space_over_filemarks_forward_fast() argument
2008 …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()
2046 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
2086 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.c708 switch (mtop.mt_op) { in pt_ioctl()
725 mtop.mt_op); in pt_ioctl()