UIO_USERSPACE
case UIO_USERSPACE:
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
if (in_uio->uio_segflg != UIO_USERSPACE &&
error = lookupname(pnamep, UIO_USERSPACE, NO_FOLLOW, &dvp, NULLVPP);
error = lookupnameat(pnamep, UIO_USERSPACE, NO_FOLLOW, &dvp, NULLVPP,
if ((seg == UIO_USERSPACE ? copyout : kcopy)(clname,
if (seg == UIO_USERSPACE) {
UIO_USERSPACE));
if ((seg == UIO_USERSPACE ? copyin : kcopy)(arg, &vaparms32,
(uap->flags & MS_SYSSPACE) ? UIO_SYSSPACE : UIO_USERSPACE, &dpn);
UIO_USERSPACE, FOLLOW, NULLVPP, &avp)) {
uio.uio_segflg = UIO_USERSPACE;
rv = vn_rdwr(UIO_READ, vp, *addrp, len, off, UIO_USERSPACE,
UIO_SYSSPACE : UIO_USERSPACE;
UIO_SYSSPACE : UIO_USERSPACE, &dpn);
UIO_SYSSPACE : UIO_USERSPACE, FOLLOW, NULLVPP, &realrootvp))
error = pn_get(STRUCT_FGETP(args, fh), UIO_USERSPACE, &pn);
error = pn_get(STRUCT_FGETP(uap, dname), UIO_USERSPACE, &lookpn);
error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE,
error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE,
error = lookupname(STRUCT_FGETP(uap, fname), UIO_USERSPACE,
error = lookupname(STRUCT_FGETP(uap, fname), UIO_USERSPACE,
STRUCT_FGETP(uap, fname), UIO_USERSPACE, cr);
if (seg == UIO_USERSPACE) {
if (seg == UIO_USERSPACE)
if (error = pn_get(uap->spec, UIO_USERSPACE, &special)) {
if ((error = pn_get(fname, UIO_USERSPACE, &pn)) != 0) {
if ((error = pn_get(fname, UIO_USERSPACE, &pn)) != 0) {
auio.uio_segflg = UIO_USERSPACE;
UIO_SYSSPACE : UIO_USERSPACE;
#define uio_isuserspace(uio) (uio->uio_segflg == UIO_USERSPACE)
ASSERT(uioflag == UIO_SYSSPACE || uioflag == UIO_USERSPACE);
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
(uap->flags & MS_SYSSPACE) ? UIO_SYSSPACE : UIO_USERSPACE, &dpn))
if (error = pn_get(uap->dir, UIO_USERSPACE, &dpn)) {
if (error = lookupname(uap->spec, UIO_USERSPACE, FOLLOW, NULLVPP,
if (uio->uio_segflg == UIO_USERSPACE) {
if (uio->uio_segflg == UIO_USERSPACE) {
UIO_SYSSPACE : UIO_USERSPACE;
(uiop->uio_segflg == UIO_USERSPACE ||
UIO_SYSSPACE : UIO_USERSPACE;
if (fromspace == UIO_USERSPACE) {
UIO_SYSSPACE : UIO_USERSPACE;
UIO_SYSSPACE : UIO_USERSPACE;
uio->uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
uio.uio_segflg = (flag & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
uioseg = (mode & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
case UIO_USERSPACE:
UIO_USERSPACE;
rval = sd_send_scsi_cmd(dev, com, FKIOCTL, UIO_USERSPACE,
rval = sd_send_scsi_cmd(dev, com, FKIOCTL, UIO_USERSPACE,
rval = sd_send_scsi_cmd(dev, com, FKIOCTL, UIO_USERSPACE,
rval = sd_send_scsi_cmd(dev, com, FKIOCTL, UIO_USERSPACE,
rval = sd_send_scsi_cmd(dev, com, FKIOCTL, UIO_USERSPACE,
uioseg = (Uf & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
uioseg = (flag & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
uioseg = (flag & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
uio.uio_segflg = UIO_USERSPACE;
if ((error = vn_open(fname, UIO_USERSPACE, FWRITE,
err = core_write(vp, UIO_USERSPACE,
if (lookupname(devname, UIO_USERSPACE, FOLLOW,
oldlen, (offset_t)oldoffset, UIO_USERSPACE, 0,
if (segflg == UIO_USERSPACE) {
error = stk_add(args, uap->fname, UIO_USERSPACE);
if ((error = stk_add(args, sp, UIO_USERSPACE)) != 0)
if ((error = stk_add(args, sp, UIO_USERSPACE)) != 0)
if ((error = pn_get((char *)fname, UIO_USERSPACE, &pn)) != 0)
if ((error = pn_get((char *)fname, UIO_USERSPACE,
if (error = lookupnameat(path, UIO_USERSPACE,
if ((error = vn_open(pathname, UIO_USERSPACE,
(void) vn_remove(pathname, UIO_USERSPACE, RMFILE);
UIO_USERSPACE, 0, (rlim64_t)0, fcred, NULL);
case UIO_USERSPACE:
case UIO_USERSPACE:
case UIO_USERSPACE:
case UIO_USERSPACE:
case UIO_USERSPACE:
if (uioa->uio_segflg != UIO_USERSPACE || rw != UIO_READ) {
case UIO_USERSPACE:
uio.uio_segflg = (copyflag == U_TO_K) ? UIO_USERSPACE :
uio.uio_segflg = (copyflag == U_TO_K) ? UIO_USERSPACE :
uios.uio_segflg = UIO_USERSPACE;
uios.uio_segflg = UIO_USERSPACE;
if (uio->uio_segflg == UIO_USERSPACE) {
if ((error = pn_get((char *)upath, UIO_USERSPACE, &upn)) != 0)
if (uiop->uio_segflg == UIO_USERSPACE) {
if (error = lookupnameatcred(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp,
error = lookupname((char *)fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp);
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
auio.uio_segflg = UIO_USERSPACE;
error = vn_linkat(fstartvp, from, follow, tstartvp, to, UIO_USERSPACE);
error = vn_createat(dname, UIO_USERSPACE, &vattr, EXCL, 0, &vp,
error = vn_createat(fname, UIO_USERSPACE, &vattr, EXCL, 0, &vp,
if (error = lookupname(uap->dir, UIO_USERSPACE, FOLLOW, NULLVPP, &vp))
if (error = pn_get(fname, UIO_USERSPACE, &pn)) {
uio_seg_t seg = UIO_USERSPACE;
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
auio.uio_segflg = UIO_USERSPACE;
if (error = lookupnameat(name, UIO_USERSPACE, NO_FOLLOW,
error = vn_renameat(fstartvp, from, tstartvp, to, UIO_USERSPACE);
if (error = pn_get(path, UIO_USERSPACE, &lookpn))
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
auio.uio_segflg = UIO_USERSPACE;
if (error = lookupnameat(name, UIO_USERSPACE, follow, NULLVPP,
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
if (error = pn_get(linkname, UIO_USERSPACE, &lpn))
if (error = pn_get(pathp, UIO_USERSPACE, &pn))
error = vn_removeat(startvp, name, UIO_USERSPACE,
if ((error = lookupnameat(fname, UIO_USERSPACE,
error = lookupname(path, UIO_USERSPACE, FOLLOW, NULLVPP, &fvp);
UIO_SYSSPACE : UIO_USERSPACE), rw);
i = dcdioctl_cmd(dev, scmd, UIO_SYSSPACE, UIO_USERSPACE);
uioseg = (flag & FKIOCTL)? UIO_SYSSPACE: UIO_USERSPACE;
uio->uio_segflg = UIO_USERSPACE;
auio.uio_segflg = flag & FKIOCTL ? UIO_SYSSPACE : UIO_USERSPACE;