Lines Matching refs:flagp
3888 newnfs_sndlock(int *flagp)
3893 while (*flagp & NFSR_SNDLOCK) {
3894 *flagp |= NFSR_WANTSND;
3897 (void) nfsmsleep((caddr_t)flagp, NFSSOCKMUTEXPTR,
3900 *flagp |= NFSR_SNDLOCK;
3909 newnfs_sndunlock(int *flagp)
3913 if ((*flagp & NFSR_SNDLOCK) == 0)
3915 *flagp &= ~NFSR_SNDLOCK;
3916 if (*flagp & NFSR_WANTSND) {
3917 *flagp &= ~NFSR_WANTSND;
3918 wakeup((caddr_t)flagp);