Home | History | Annotate | Download | only in client

Lines Matching defs:dnp

1438 	struct nfsnode *np = NULL, *dnp;
1482 dnp = VTONFS(dvp);
1483 mtx_lock(&dnp->n_mtx);
1484 dnp->n_flag |= NMODIFIED;
1486 dnp->n_attrstamp = 0;
1489 mtx_unlock(&dnp->n_mtx);
1537 struct nfsnode *np = NULL, *dnp;
1556 dnp = VTONFS(dvp);
1560 mtx_lock(&dnp->n_mtx);
1561 while (NFSHASNFSV4(nmp) && (dnp->n_flag & NREMOVEINPROG)) {
1562 dnp->n_flag |= NREMOVEWANT;
1563 (void) msleep((caddr_t)dnp, &dnp->n_mtx, PZERO, "nfscrt", 0);
1565 mtx_unlock(&dnp->n_mtx);
1631 mtx_lock(&dnp->n_mtx);
1632 dnp->n_flag |= NMODIFIED;
1634 dnp->n_attrstamp = 0;
1637 mtx_unlock(&dnp->n_mtx);
1727 struct nfsnode *dnp = VTONFS(dvp);
1730 mtx_lock(&dnp->n_mtx);
1731 dnp->n_flag |= NREMOVEINPROG;
1732 mtx_unlock(&dnp->n_mtx);
1735 mtx_lock(&dnp->n_mtx);
1736 if ((dnp->n_flag & NREMOVEWANT)) {
1737 dnp->n_flag &= ~(NREMOVEWANT | NREMOVEINPROG);
1738 mtx_unlock(&dnp->n_mtx);
1739 wakeup((caddr_t)dnp);
1741 dnp->n_flag &= ~NREMOVEINPROG;
1742 mtx_unlock(&dnp->n_mtx);
1746 mtx_lock(&dnp->n_mtx);
1747 dnp->n_flag |= NMODIFIED;
1749 dnp->n_attrstamp = 0;
1752 mtx_unlock(&dnp->n_mtx);
2016 struct nfsnode *np = NULL, *dnp;
2057 dnp = VTONFS(dvp);
2058 mtx_lock(&dnp->n_mtx);
2059 dnp->n_flag |= NMODIFIED;
2061 mtx_unlock(&dnp->n_mtx);
2064 dnp->n_attrstamp = 0;
2065 mtx_unlock(&dnp->n_mtx);
2090 struct nfsnode *np = NULL, *dnp;
2103 dnp = VTONFS(dvp);
2104 mtx_lock(&dnp->n_mtx);
2105 dnp->n_flag |= NMODIFIED;
2107 mtx_unlock(&dnp->n_mtx);
2110 dnp->n_attrstamp = 0;
2111 mtx_unlock(&dnp->n_mtx);
2166 struct nfsnode *dnp;
2174 dnp = VTONFS(dvp);
2175 mtx_lock(&dnp->n_mtx);
2176 dnp->n_flag |= NMODIFIED;
2178 mtx_unlock(&dnp->n_mtx);
2181 dnp->n_attrstamp = 0;
2182 mtx_unlock(&dnp->n_mtx);
2274 struct nfsnode *dnp = VTONFS(vp);
2286 ncl_dircookie_lock(dnp);
2287 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 0);
2290 ncl_dircookie_unlock(dnp);
2292 ncl_dircookie_unlock(dnp);
2310 dnp->n_direofoffset = uiop->uio_offset;
2314 ncl_dircookie_lock(dnp);
2315 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 1);
2317 ncl_dircookie_unlock(dnp);
2334 struct nfsnode *dnp = VTONFS(vp);
2346 ncl_dircookie_lock(dnp);
2347 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 0);
2350 ncl_dircookie_unlock(dnp);
2352 ncl_dircookie_unlock(dnp);
2369 dnp->n_direofoffset = uiop->uio_offset;
2373 ncl_dircookie_lock(dnp);
2374 cookiep = ncl_getcookie(dnp, uiop->uio_offset, 1);
2376 ncl_dircookie_unlock(dnp);
2455 struct nfsnode *np, *dnp = VTONFS(dvp);
2477 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen ||
2478 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data,
2479 dnp->n_fhp->nfh_len))) {
2491 dnp->n_fhp->nfh_len + len - 1,
2493 np->n_v4->n4_fhlen = dnp->n_fhp->nfh_len;
2495 NFSBCOPY(dnp->n_fhp->nfh_fh, np->n_v4->n4_data,
2496 dnp->n_fhp->nfh_len);
2510 } else if (NFS_CMPFH(dnp, nfhp->nfh_fh, nfhp->nfh_len)) {