Lines Matching refs:uap
387 sys_nmount(struct thread *td, struct nmount_args *uap)
399 flags = uap->flags;
403 uap->iovp, uap->iovcnt, flags);
414 iovcnt = uap->iovcnt;
421 uap->iovcnt);
425 error = copyinuio(uap->iovp, iovcnt, &auio);
773 sys_mount(struct thread *td, struct mount_args *uap)
786 flags = uap->flags;
800 error = copyinstr(uap->type, fstype, MFSNAMELEN, NULL);
814 ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN);
815 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN);
820 error = vfsp->vfc_vfsops->vfs_cmount(ma, uap->data, flags);
1210 sys_unmount(struct thread *td, struct unmount_args *uap)
1217 AUDIT_ARG_VALUE(uap->flags);
1225 error = copyinstr(uap->path, pathbuf, MNAMELEN, NULL);
1230 if (uap->flags & MNT_BYFSID) {
1277 return ((uap->flags & MNT_BYFSID) ? ENOENT : EINVAL);
1287 error = dounmount(mp, uap->flags, td);