Lines Matching refs:vp
342 nfs_buf_page_inval(vnode_t vp, off_t offset)
344 struct nfsmount *nmp = VTONMP(vp);
352 bp = nfs_buf_incore(VTONFS(vp), (daddr64_t)(offset / nmp->nm_biosize));
635 vnode_t vp = NFSTOV(np);
636 struct nfsmount *nmp = VTONMP(vp);
656 if (!UBCINFOEXISTS(vp)) {
696 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
850 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
923 if (UBCINFOEXISTS(vp)) {
962 vnode_t vp;
970 vp = np ? NFSTOV(np) : NULL;
971 if (vp && UBCINFOEXISTS(vp) && bp->nb_bufsize) {
1030 if (!(rv = ubc_sync_range(vp, start, end, UBC_INVALIDATE)))
1806 vnode_t vp = NFSTOV(np);
1809 struct nfsmount *nmp = VTONMP(vp);
1836 vtype = vnode_vtype(vp);
1871 nfs_vinvalbuf(vp, V_SAVE|V_IGNORE_WRITEERR, ctx, 1);
1882 error = nfs_vinvalbuf(vp, V_SAVE, ctx, 1);
1900 cache_purge(vp);
1916 cache_purge(vp);
1919 error = nfs_vinvalbuf(vp, V_SAVE, ctx, 1);
1987 error = cluster_copy_ubc_data(vp, uio, &io_resid, 0);
2211 error = nfs_vinvalbuf(vp, 0, ctx, 1);
3625 nfs_vinvalbuf(vnode_t vp, int flags, vfs_context_t ctx, int intrflg)
3627 return nfs_vinvalbuf2(vp, flags, vfs_context_thread(ctx), vfs_context_ucred(ctx), intrflg);
3631 nfs_vinvalbuf2(vnode_t vp, int flags, thread_t thd, kauth_cred_t cred, int intrflg)
3633 nfsnode_t np = VTONFS(vp);
3634 struct nfsmount *nmp = VTONMP(vp);
3667 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0)))
3673 if (UBCINFOEXISTS(vp) && (size = ubc_getsize(vp)))
3674 if (!(rv = ubc_sync_range(vp, 0, size, UBC_PUSHALL | UBC_SYNC | UBC_INVALIDATE)))
3781 vnode_t vp;
3788 vp = NFSTOV(np);
3789 nmp = VTONMP(vp);