Home | History | Annotate | Download | only in nfs

Lines Matching defs:nmp

320 	struct nfsmount *nmp = VFSTONFS(vp->v_mount);
324 (time_second - np->n_attrstamp) >= nfs_attrtimeo(nmp, np)) {
371 #define NFS_WCCKLUDGE(nmp, now) \
372 (((nmp)->nm_iflag & NFSMNT_WCCKLUDGE) && \
373 ((now) - (nmp)->nm_wcckludgetime - NFS_WCCKLUDGE_TIMEOUT) < 0)
392 struct nfsmount *nmp;
408 nmp = VFSTONFS(vp->v_mount);
425 mutex_enter(&nmp->nm_lock);
426 if (!NFS_WCCKLUDGE(nmp, now)) {
442 nmp->nm_iflag |= NFSMNT_WCCKLUDGE;
443 nmp->nm_wcckludgetime = now;
444 mutex_exit(&nmp->nm_lock);
445 } else if (NFS_WCCKLUDGE(nmp, now)) {
447 } else if (nmp->nm_iflag & NFSMNT_WCCKLUDGE) {
448 mutex_enter(&nmp->nm_lock);
449 if (nmp->nm_iflag & NFSMNT_WCCKLUDGE) {
452 nmp->nm_iflag &= ~NFSMNT_WCCKLUDGE;
454 mutex_exit(&nmp->nm_lock);
532 nfs_attrtimeo(struct nfsmount *nmp, struct nfsnode *np)
536 if ((nmp->nm_flag & NFSMNT_NOAC) != 0)