Lines Matching refs:mt_op
3563 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3570 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3579 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3580 mtc.mt_op == MTEOM) { in st_ioctl()
3584 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
3591 if (mtc.mt_op == MTSEEK) { in st_ioctl()
3597 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()
3598 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM || in st_ioctl()
3599 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD || in st_ioctl()
3600 mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3601 mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM || in st_ioctl()
3602 mtc.mt_op == MTCOMPRESSION; in st_ioctl()
3610 (mtc.mt_op == MTREW || mtc.mt_op == MTOFFL || in st_ioctl()
3611 mtc.mt_op == MTSEEK || in st_ioctl()
3612 mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM)) { in st_ioctl()
3618 if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) in st_ioctl()
3629 if (mtc.mt_op != MTREW && in st_ioctl()
3630 mtc.mt_op != MTOFFL && in st_ioctl()
3631 mtc.mt_op != MTLOAD && in st_ioctl()
3632 mtc.mt_op != MTRETEN && in st_ioctl()
3633 mtc.mt_op != MTERASE && in st_ioctl()
3634 mtc.mt_op != MTSEEK && in st_ioctl()
3635 mtc.mt_op != MTEOM) { in st_ioctl()
3644 if (mtc.mt_op != MTNOP && mtc.mt_op != MTSETBLK && in st_ioctl()
3645 mtc.mt_op != MTSETDENSITY && mtc.mt_op != MTWSM && in st_ioctl()
3646 mtc.mt_op != MTSETDRVBUFFER && mtc.mt_op != MTSETPART) in st_ioctl()
3649 if (mtc.mt_op == MTOFFL && STp->door_locked != ST_UNLOCKED) in st_ioctl()
3652 if (mtc.mt_op == MTSETDRVBUFFER && in st_ioctl()
3658 if (mtc.mt_op == MTSETPART) { in st_ioctl()
3678 if (mtc.mt_op == MTMKPART) { in st_ioctl()
3705 if (mtc.mt_op == MTSEEK) { in st_ioctl()
3713 if (mtc.mt_op == MTUNLOAD || mtc.mt_op == MTOFFL) { in st_ioctl()
3718 if (mtc.mt_op == MTLOAD) { in st_ioctl()
3723 if (mtc.mt_op == MTLOCK || mtc.mt_op == MTUNLOCK) { in st_ioctl()
3724 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); in st_ioctl()
3734 if (mtc.mt_op == MTCOMPRESSION) in st_ioctl()
3737 retval = st_int_ioctl(STp, mtc.mt_op, mtc.mt_count); in st_ioctl()