Home | History | Annotate | Download | only in client

Lines Matching defs:nmp

736 	struct nfsmount *nmp;
741 nmp = VFSTONFS(mp);
765 clp = nmp->nm_clp;
784 nfscl_fillclid(nmp->nm_clval, uuid, clp->nfsc_id,
787 nmp->nm_clp = clp;
788 clp->nfsc_nmp = nmp;
851 error = nfsrpc_setclient(nmp, clp, 0, cred, p);
884 nfscl_findcl(struct nfsmount *nmp)
888 clp = nmp->nm_clp;
1434 struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p)
1456 error = nfsrpc_reopen(nmp, op->nfso_fh,
1466 nfscl_deleg(nmp->nm_mountp, clp, op->nfso_fh,
1584 nfscl_expireclient(struct nfsclclient *clp, struct nfsmount *nmp,
1659 ret = nfscl_expireopen(clp, op, nmp, cred, p);
1794 nfscl_umount(struct nfsmount *nmp, NFSPROC_T *p)
1821 if ((nmp->nm_mountp->mnt_kern_flag & MNTK_UNMOUNTF) != 0) {
1827 clp = nmp->nm_clp;
1859 if (NFSHASNFSV4N(nmp)) {
1860 (void)nfsrpc_destroysession(nmp, clp, cred, p);
1861 (void)nfsrpc_destroyclient(nmp, clp, cred, p);
1863 (void)nfsrpc_setclient(nmp, clp, 0, cred, p);
1865 nmp->nm_clp = NULL;
1886 struct nfsmount *nmp;
1908 nmp = clp->nfsc_nmp;
1909 if (nmp == NULL)
1924 error = nfsrpc_setclient(nmp, clp, 1, cred, p);
1952 if (rep->r_nmp == nmp)
1997 error = nfscl_tryopen(nmp, NULL, op->nfso_fh,
2004 || NFSMNT_RDONLY(nmp->nm_mountp))) {
2046 error = nfscl_trylock(nmp, NULL,
2118 error = nfscl_tryopen(nmp, NULL, nop->nfso_fh,
2166 error = nfscl_tryclose(op, tcred, nmp, p);
2179 error = nfscl_trydelegreturn(dp, tcred, nmp, p);
2188 if (NFSHASNFSV4N(nmp))
2189 (void)nfsrpc_reclaimcomplete(nmp, cred, p);
2208 struct nfsmount *nmp;
2239 nmp = clp->nfsc_nmp;
2240 if (nmp == NULL)
2245 error = nfsrpc_setclient(nmp, clp, 0, cred, p);
2261 nfscl_expireclient(clp, nmp, cred, p);
2782 nfscl_dumpstate(struct nfsmount *nmp, int openowner, int opens,
2792 clp = nmp->nm_clp;
3780 nfscl_recalldeleg(struct nfsclclient *clp, struct nfsmount *nmp,
3795 ret = nfscl_ngetreopen(nmp->nm_mountp, dp->nfsdl_fh,
3854 ret = nfscl_moveopen(vp, clp, nmp, lop,
3884 ret = nfscl_moveopen(vp, clp, nmp, lop,
3911 ret = nfscl_relock(vp, clp, nmp, lp, lckp, cred, p);
3935 nfscl_moveopen(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp,
3966 error = nfscl_tryopen(nmp, vp, np->n_v4->n4_data, np->n_v4->n4_fhlen,
4011 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp,
4028 if (nmp->nm_clp != NULL)
4029 clidrev = nmp->nm_clp->nfsc_clientidrev;
4033 error = nfscl_trylock(nmp, vp, nfhp->nfh_fh,
4046 nfsrpc_reopen(struct nfsmount *nmp, u_int8_t *fhp, int fhlen,
4054 error = nfscl_ngetreopen(nmp->nm_mountp, fhp, fhlen, p, &np);
4059 error = nfscl_tryopen(nmp, vp, np->n_v4->n4_data,
4076 nfscl_tryopen(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen,
4084 error = nfsrpc_openrpc(nmp, vp, fhp, fhlen, newfhp, newfhlen,
4094 nmp, vp, fhp, fhlen, newfhp,
4110 nfscl_trylock(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp,
4118 error = nfsrpc_lock(nd, nmp, vp, fhp, fhlen, nlp, newone,
4130 error = nfsrpc_lock(nd, nmp, vp, fhp, fhlen, nlp,
4149 struct nfsmount *nmp, NFSPROC_T *p)
4154 error = nfsrpc_delegreturn(dp, cred, nmp, p, 0);
4162 error = nfsrpc_delegreturn(dp, cred, nmp, p, 1);
4177 struct nfsmount *nmp, NFSPROC_T *p)
4183 error = nfsrpc_closerpc(nd, nmp, op, cred, p, 0);
4191 error = nfsrpc_closerpc(nd, nmp, op, cred, p, 1);
4210 struct nfsmount *nmp;
4213 nmp = VFSTONFS(vnode_mount(vp));
4214 if (!NFSHASNFSV4(nmp))
4217 clp = nfscl_findcl(nmp);
4227 !NFSHASSTRICT3530(nmp))) {
4244 struct nfsmount *nmp;
4247 nmp = VFSTONFS(vnode_mount(vp));
4248 if (!NFSHASNFSV4(nmp))
4251 clp = nfscl_findcl(nmp);
4278 struct nfsmount *nmp;
4283 nmp = VFSTONFS(vnode_mount(vp));
4294 clp = nfscl_findcl(nmp);
4344 (void) nfscl_recalldeleg(clp, nmp, dp, vp, cred, p, 0);
4375 struct nfsmount *nmp;
4380 nmp = VFSTONFS(vnode_mount(fvp));
4392 clp = nfscl_findcl(nmp);
4443 (void) nfscl_recalldeleg(clp, nmp, dp, fvp, cred, p, 0);
4504 nfscl_getref(struct nfsmount *nmp)
4509 clp = nfscl_findcl(nmp);
4523 nfscl_relref(struct nfsmount *nmp)
4528 clp = nfscl_findcl(nmp);
4547 struct nfsmount *nmp;
4549 nmp = VFSTONFS(vnode_mount(vp));
4550 if (!NFSHASNFSV4(nmp))
4553 clp = nfscl_findcl(nmp);
4574 struct nfsmount *nmp;
4576 nmp = VFSTONFS(vnode_mount(vp));
4577 if (!NFSHASNFSV4(nmp))
4580 clp = nfscl_findcl(nmp);
4601 struct nfsmount *nmp;
4603 nmp = VFSTONFS(vnode_mount(vp));
4604 if (!NFSHASNFSV4(nmp))
4607 clp = nfscl_findcl(nmp);
4630 struct nfsmount *nmp;
4632 nmp = VFSTONFS(vnode_mount(vp));
4633 if (!NFSHASNFSV4(nmp))
4636 clp = nfscl_findcl(nmp);
4686 nfscl_layout(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen,
4698 mp = nmp->nm_mountp;
4709 clp = nmp->nm_clp;
4975 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip,
4982 clp = nmp->nm_clp;
5131 nfscl_layoutreturn(struct nfsmount *nmp, struct nfscllayout *lyp,
5140 (void)nfsrpc_layoutreturn(nmp, lyp->nfsly_fh,
5152 nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp,
5162 error = nfsrpc_layoutcommit(nmp, lyp->nfsly_fh,
5169 NFSLOCKMNT(nmp);
5170 nmp->nm_state |= NFSSTA_NOLAYOUTCOMMIT;
5171 NFSUNLOCKMNT(nmp);
5188 struct nfsmount *nmp;
5191 nmp = VFSTONFS(mp);
5192 if (NFSHASNOLAYOUTCOMMIT(nmp))
5195 clp = nmp->nm_clp;