Searched refs:mt_op (Results 1 – 3 of 3) sorted by relevance
3554 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()3561 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()3570 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()3571 mtc.mt_op == MTEOM) { in st_ioctl()3575 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()3582 if (mtc.mt_op == MTSEEK) { in st_ioctl()3588 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()3589 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM || in st_ioctl()3590 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD || in st_ioctl()3591 mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()[all …]
1241 tape_mtop(struct tape_device *device, int mt_op, int mt_count) in tape_mtop() argument1247 DBF_EVENT(6, "TAPE:ioop: %x\n", mt_op); in tape_mtop()1250 if (mt_op < 0 || mt_op >= TAPE_NR_MTOPS) in tape_mtop()1252 fn = device->discipline->mtop_array[mt_op]; in tape_mtop()1257 if (mt_op == MTBSR || mt_op == MTFSR || mt_op == MTFSF || in tape_mtop()1258 mt_op == MTBSF || mt_op == MTFSFM || mt_op == MTBSFM) { in tape_mtop()
21 short mt_op; /* operations defined below */ member