Lines Matching refs:__state_
153 unsigned __state_;
255 if (__base.__state_ & __base.__write_entered_)
260 if ((__base.__state_ & __base.__write_entered_) == 0)
266 __base.__state_ |= __base.__write_entered_;
267 if (__base.__state_ & __base.__n_readers_)
272 if ((__base.__state_ & __base.__n_readers_) == 0)
276 __base.__state_ &= ~__base.__write_entered_;
291 …if ((__base.__state_ & __base.__write_entered_) || (__base.__state_ & __base.__n_readers_) == __ba…
296 if ((__base.__state_ & __base.__write_entered_) == 0 &&
297 … (__base.__state_ & __base.__n_readers_) < __base.__n_readers_)
303 unsigned __num_readers = (__base.__state_ & __base.__n_readers_) + 1;
304 __base.__state_ &= ~__base.__n_readers_;
305 __base.__state_ |= __num_readers;