Lines Matching refs:RC_LOCKED
388 if ((rp->rc_flag & RC_LOCKED) != 0) {
396 rp->rc_flag |= RC_LOCKED;
569 if (rp->rc_refcnt == 0 && !(rp->rc_flag & RC_LOCKED))
584 KASSERT(rp->rc_flag & RC_LOCKED, ("nfsrvd_sentcache not locked"));
672 if ((rp->rc_flag & RC_LOCKED) != 0) {
680 rp->rc_flag |= RC_LOCKED;
744 while ((rp->rc_flag & RC_LOCKED) != 0) {
748 rp->rc_flag |= RC_LOCKED;
761 rp->rc_flag &= ~RC_LOCKED;
873 if (!(rp->rc_flag & (RC_INPROG|RC_LOCKED|RC_WANTED))
909 (RC_INPROG|RC_LOCKED|RC_WANTED))
959 (RC_INPROG|RC_LOCKED|RC_WANTED))
1005 if (rp->rc_refcnt == 0 && !(rp->rc_flag & (RC_LOCKED | RC_INPROG)))