Lines Matching refs:num_readers
66 unsigned num_readers = (__state_ & __n_readers_) + 1;
68 __state_ |= num_readers;
75 unsigned num_readers = __state_ & __n_readers_;
76 if (!(__state_ & __write_entered_) && num_readers != __n_readers_)
78 ++num_readers;
80 __state_ |= num_readers;
90 unsigned num_readers = (__state_ & __n_readers_) - 1;
92 __state_ |= num_readers;
95 if (num_readers == 0)
100 if (num_readers == __n_readers_ - 1)