Lines Matching refs:RC_LOCKED
386 if ((rp->rc_flag & RC_LOCKED) != 0) {
394 rp->rc_flag |= RC_LOCKED;
568 if (rp->rc_refcnt == 0 && !(rp->rc_flag & RC_LOCKED))
583 KASSERT(rp->rc_flag & RC_LOCKED, ("nfsrvd_sentcache not locked"));
671 if ((rp->rc_flag & RC_LOCKED) != 0) {
679 rp->rc_flag |= RC_LOCKED;
743 while ((rp->rc_flag & RC_LOCKED) != 0) {
747 rp->rc_flag |= RC_LOCKED;
760 rp->rc_flag &= ~RC_LOCKED;
872 if (!(rp->rc_flag & (RC_INPROG|RC_LOCKED|RC_WANTED))
908 (RC_INPROG|RC_LOCKED|RC_WANTED))
958 (RC_INPROG|RC_LOCKED|RC_WANTED))
1004 if (rp->rc_refcnt == 0 && !(rp->rc_flag & (RC_LOCKED | RC_INPROG)))