Lines Matching refs:statep
4794 int *statep;
4802 statep = &nmp->nm_state;
4806 while (*statep & NFSSTA_SNDLOCK) {
4809 *statep |= NFSSTA_WANTSND;
4812 msleep(statep, &nmp->nm_lock, slpflag | (PZERO - 1), "nfsndlck", &ts);
4819 *statep |= NFSSTA_SNDLOCK;
4831 int *statep, wake = 0;
4836 statep = &nmp->nm_state;
4837 if ((*statep & NFSSTA_SNDLOCK) == 0)
4839 *statep &= ~(NFSSTA_SNDLOCK|NFSSTA_SENDING);
4840 if (*statep & NFSSTA_WANTSND) {
4841 *statep &= ~NFSSTA_WANTSND;
4846 wakeup(statep);