Lines Matching refs:mv
701 struct changer_move mv; in ch_ioctl() local
703 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
706 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl()
707 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl()
714 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
715 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
716 mv.cm_flags & CM_INVERT); in ch_ioctl()
723 struct changer_exchange mv; in ch_ioctl() local
725 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
728 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl()
729 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || in ch_ioctl()
730 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { in ch_ioctl()
738 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
739 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
740 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
741 mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); in ch_ioctl()