Lines Matching refs:uap
71 struct mounta *uap; in mount() local
78 uap = &native; in mount()
79 uap->spec = (char *)*lp++; in mount()
80 uap->dir = (char *)*lp++; in mount()
81 uap->flags = (int)*lp++; in mount()
82 uap->fstype = (char *)*lp++; in mount()
83 uap->dataptr = (char *)*lp++; in mount()
84 uap->datalen = (int)*lp++; in mount()
85 uap->optptr = (char *)*lp++; in mount()
86 uap->optlen = (int)*lp++; in mount()
92 uap = (struct mounta *)lp; in mount()
97 if (error = lookupname(uap->dir, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) in mount()
103 uap->flags &= MS_MASK; in mount()
105 if ((vp->v_flag & VPXFS) && ((uap->flags & MS_GLOBAL) != MS_GLOBAL)) { in mount()
112 } else if (uap->flags & MS_GLOBAL) { in mount()
123 error = domount("pxfs", uap, vp, CRED(), &vfsp); in mount()
128 error = domount(NULL, uap, vp, CRED(), &vfsp); in mount()