Lines Matching refs:uiop
1340 ncl_readlinkrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
1345 error = nfsrpc_readlink(vp, uiop, cred, uiop->uio_td, &nfsva,
1353 error = nfscl_maperr(uiop->uio_td, error, (uid_t)0, (gid_t)0);
1362 ncl_readrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
1372 error = nfscl_doiods(vp, uiop, NULL, NULL,
1373 NFSV4OPEN_ACCESSREAD, cred, uiop->uio_td);
1376 error = nfsrpc_read(vp, uiop, cred, uiop->uio_td, &nfsva,
1384 error = nfscl_maperr(uiop->uio_td, error, (uid_t)0, (gid_t)0);
1392 ncl_writerpc(struct vnode *vp, struct uio *uiop, struct ucred *cred,
1403 error = nfscl_doiods(vp, uiop, iomode, must_commit,
1404 NFSV4OPEN_ACCESSWRITE, cred, uiop->uio_td);
1407 error = nfsrpc_write(vp, uiop, iomode, must_commit, cred,
1408 uiop->uio_td, &nfsva, &attrflag, NULL,
1423 error = nfscl_maperr(uiop->uio_td, error, (uid_t)0, (gid_t)0);
2269 ncl_readdirrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred,
2278 KASSERT(uiop->uio_iovcnt == 1 &&
2279 (uiop->uio_offset & (DIRBLKSIZ - 1)) == 0 &&
2280 (uiop->uio_resid & (DIRBLKSIZ - 1)) == 0,
2287 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 0);
2299 error = nfsrpc_readdir(vp, uiop, &cookie, cred, td, &nfsva,
2310 dnp->n_direofoffset = uiop->uio_offset;
2312 if (uiop->uio_resid > 0)
2315 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 1);
2329 ncl_readdirplusrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred,
2338 KASSERT(uiop->uio_iovcnt == 1 &&
2339 (uiop->uio_offset & (DIRBLKSIZ - 1)) == 0 &&
2340 (uiop->uio_resid & (DIRBLKSIZ - 1)) == 0,
2347 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 0);
2358 error = nfsrpc_readdirplus(vp, uiop, &cookie, cred, td, &nfsva,
2369 dnp->n_direofoffset = uiop->uio_offset;
2371 if (uiop->uio_resid > 0)
2374 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 1);