Lines Matching defs:vp
343 nfs_buf_page_inval(vnode_t vp, off_t offset)
345 struct nfsmount *nmp = VTONMP(vp);
353 bp = nfs_buf_incore(VTONFS(vp), (daddr64_t)(offset / nmp->nm_biosize));
645 vnode_t vp = NFSTOV(np);
646 struct nfsmount *nmp = VTONMP(vp);
666 if (!UBCINFOEXISTS(vp)) {
694 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
721 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
875 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
948 if (UBCINFOEXISTS(vp)) {
987 vnode_t vp;
995 vp = np ? NFSTOV(np) : NULL;
996 if (vp && UBCINFOEXISTS(vp) && bp->nb_bufsize) {
1060 if ((rv = ubc_msync(vp, start, end, NULL, UBC_INVALIDATE)))
1897 vnode_t vp = NFSTOV(np);
1899 struct nfsmount *nmp = VTONMP(vp);
1915 if (vnode_vtype(vp) != VREG) {
1916 printf("nfs_bioread: type %x unexpected\n", vnode_vtype(vp));
1947 error = nfs_vinvalbuf(vp, V_SAVE|V_IGNORE_WRITEERR, ctx, 1);
2022 error = cluster_copy_ubc_data(vp, uio, &count, 0);
3621 nfs_vinvalbuf(vnode_t vp, int flags, vfs_context_t ctx, int intrflg)
3623 return nfs_vinvalbuf2(vp, flags, vfs_context_thread(ctx), vfs_context_ucred(ctx), intrflg);
3627 nfs_vinvalbuf2(vnode_t vp, int flags, thread_t thd, kauth_cred_t cred, int intrflg)
3629 nfsnode_t np = VTONFS(vp);
3630 struct nfsmount *nmp = VTONMP(vp);
3662 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
3677 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0)))
3683 if (UBCINFOEXISTS(vp) && (size = ubc_getsize(vp)))
3684 if ((error = ubc_msync(vp, 0, size, NULL, ubcflags))) {