Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/
Dst.c3380 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3387 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3396 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3397 mtc.mt_op == MTEOM) { in st_ioctl()
3401 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
3408 if (mtc.mt_op == MTSEEK) { in st_ioctl()
3414 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()
3415 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM || in st_ioctl()
3416 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD || in st_ioctl()
3417 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 …]
/linux-3.4.99/drivers/s390/char/
Dtape_core.c1303 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument
1309 DBF_EVENT(6, "TAPE:ioop: %x\n", mt_op); in tape_mtop()
1312 if (mt_op < 0 || mt_op >= TAPE_NR_MTOPS) in tape_mtop()
1314 fn = device->discipline->mtop_array[mt_op]; in tape_mtop()
1319 if (mt_op == MTBSR || mt_op == MTFSR || mt_op == MTFSF || in tape_mtop()
1320 mt_op == MTBSF || mt_op == MTFSFM || mt_op == MTBSFM) { in tape_mtop()
Dtape_char.c370 switch (op.mt_op) { in __tapechar_ioctl()
390 rc = tape_mtop(device, op.mt_op, op.mt_count); in __tapechar_ioctl()
392 if (op.mt_op == MTWEOF && rc == 0) { in __tapechar_ioctl()
/linux-3.4.99/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 …]
/linux-3.4.99/include/linux/
Dmtio.h20 short mt_op; /* operations defined below */ member
/linux-3.4.99/drivers/block/paride/
Dpt.c708 switch (mtop.mt_op) { in pt_ioctl()
725 mtop.mt_op); in pt_ioctl()