Lines Matching refs:mt_op
3368 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) {
3375 (mtc.mt_op != MTSETDRVBUFFER &&
3384 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM ||
3385 mtc.mt_op == MTEOM) {
3389 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) {
3396 if (mtc.mt_op == MTSEEK) {
3402 i = mtc.mt_op == MTREW || mtc.mt_op == MTOFFL ||
3403 mtc.mt_op == MTRETEN || mtc.mt_op == MTEOM ||
3404 mtc.mt_op == MTLOCK || mtc.mt_op == MTLOAD ||
3405 mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM ||
3406 mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM ||
3407 mtc.mt_op == MTCOMPRESSION;
3415 (mtc.mt_op == MTREW || mtc.mt_op == MTOFFL ||
3416 mtc.mt_op == MTSEEK ||
3417 mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM)) {
3423 if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM)
3434 if (mtc.mt_op != MTREW &&
3435 mtc.mt_op != MTOFFL &&
3436 mtc.mt_op != MTRETEN &&
3437 mtc.mt_op != MTERASE &&
3438 mtc.mt_op != MTSEEK &&
3439 mtc.mt_op != MTEOM) {
3448 if (mtc.mt_op != MTNOP && mtc.mt_op != MTSETBLK &&
3449 mtc.mt_op != MTSETDENSITY && mtc.mt_op != MTWSM &&
3450 mtc.mt_op != MTSETDRVBUFFER && mtc.mt_op != MTSETPART)
3453 if (mtc.mt_op == MTOFFL && STp->door_locked != ST_UNLOCKED)
3456 if (mtc.mt_op == MTSETDRVBUFFER &&
3462 if (mtc.mt_op == MTSETPART) {
3482 if (mtc.mt_op == MTMKPART) {
3504 if (mtc.mt_op == MTSEEK) {
3512 if (mtc.mt_op == MTUNLOAD || mtc.mt_op == MTOFFL) {
3517 if (mtc.mt_op == MTLOAD) {
3522 if (mtc.mt_op == MTLOCK || mtc.mt_op == MTUNLOCK) {
3523 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK));
3533 if (mtc.mt_op == MTCOMPRESSION)
3536 retval = st_int_ioctl(STp, mtc.mt_op, mtc.mt_count);