Home | History | Annotate | Download | only in server

Lines Matching refs:cansleep

97 static void nfsrv_freeopenowner(struct nfsstate *stp, int cansleep,
99 static int nfsrv_freeopen(struct nfsstate *stp, vnode_t vp, int cansleep,
101 static void nfsrv_freelockowner(struct nfsstate *stp, vnode_t vp, int cansleep,
104 int cansleep, NFSPROC_T *p);
1278 nfsrv_freeopenowner(struct nfsstate *stp, int cansleep, NFSPROC_T *p)
1290 (void) nfsrv_freeopen(tstp, NULL, cansleep, p);
1306 nfsrv_freeopen(struct nfsstate *stp, vnode_t vp, int cansleep, NFSPROC_T *p)
1321 nfsrv_freelockowner(tstp, vp, cansleep, p);
1331 if (cansleep != 0)
1337 (cansleep != 0 || nfsv4_testlock(&lfp->lf_locallock_lck) == 0)) {
1342 if (cansleep != 0)
1354 nfsrv_freelockowner(struct nfsstate *stp, vnode_t vp, int cansleep,
1360 nfsrv_freeallnfslocks(stp, vp, cansleep, p);
1372 nfsrv_freeallnfslocks(struct nfsstate *stp, vnode_t vp, int cansleep,
1396 * If vp is NULL and cansleep != 0, a vnode must be acquired
1403 else if (vp == NULL && cansleep != 0) {
1412 if (cansleep == 0)