Lines Matching refs:mv
691 struct changer_move mv; in ch_ioctl() local
693 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
696 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl()
697 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl()
704 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
705 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
706 mv.cm_flags & CM_INVERT); in ch_ioctl()
713 struct changer_exchange mv; in ch_ioctl() local
715 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
718 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl()
719 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || in ch_ioctl()
720 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { in ch_ioctl()
728 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
729 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
730 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
731 mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); in ch_ioctl()