Lines Matching defs:clp
624 struct nfsclclient *clp;
630 error = nfscl_doclose(vp, &clp, p);
632 error = nfscl_getclose(vp, &clp);
636 nfscl_clientrelease(clp);
822 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim,
840 clp->nfsc_rev = rev++;
842 error = nfsrpc_exchangeid(nmp, clp, &nmp->nm_sockreq,
887 *tl = txdr_unsigned(clp->nfsc_rev);
888 (void) nfsm_strtom(nd, clp->nfsc_id, clp->nfsc_idlen);
935 *tl = txdr_unsigned(clp->nfsc_cbident);
983 clp->nfsc_renew = NFSCL_RENEW(lease);
984 clp->nfsc_expire = NFSD_MONOSEC + clp->nfsc_renew;
985 clp->nfsc_clientidrev++;
986 if (clp->nfsc_clientidrev == 0)
987 clp->nfsc_clientidrev++;
3671 struct nfsclclient *clp;
3717 error = nfscl_getcl(vnode_mount(vp), cred, p, 1, &clp);
3720 error = nfscl_lockt(vp, clp, off, len, fl, p, id, flags);
3722 clidrev = clp->nfsc_clientidrev;
3723 error = nfsrpc_lockt(nd, vp, clp, off, len, fl, cred,
3728 nfscl_clientrelease(clp);
3734 error = nfscl_getcl(vnode_mount(vp), cred, p, 1, &clp);
3739 clp, id, flags, &lp, &dorpc);
3745 nfscl_clientrelease(clp);
3747 nfscl_releasealllocks(clp, vp, p, id, flags);
3781 nfscl_releasealllocks(clp, vp, p, id, flags);
3835 struct nfsclclient *clp, u_int64_t off, u_int64_t len, struct flock *fl,
3898 nfscl_initiate_recovery(clp);
4226 nfsrpc_renew(struct nfsclclient *clp, struct nfsclds *dsp, struct ucred *cred,
4236 nmp = clp->nfsc_nmp;
4477 nfsrpc_exchangeid(struct nfsmount *nmp, struct nfsclclient *clp,
4492 *tl = txdr_unsigned(clp->nfsc_rev);
4493 (void) nfsm_strtom(nd, clp->nfsc_id, clp->nfsc_idlen);
4523 dsp->nfsclds_expire = NFSD_MONOSEC + clp->nfsc_renew;
4657 nfsrpc_destroysession(struct nfsmount *nmp, struct nfsclclient *clp,
4682 nfsrpc_destroyclient(struct nfsmount *nmp, struct nfsclclient *clp,
5242 struct nfsclclient *clp;
5252 clp = nmp->nm_clp;
5254 if (clp == NULL)
5356 error = nfsrpc_exchangeid(nmp, clp, nrp, NFSV4EXCH_USEPNFSDS,