Lines Matching refs:cntflag
242 isc_int32_t cntflag;
263 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag, READER_INCR);
264 POST(cntflag);
326 cntflag = isc_atomic_cmpxchg(&rwl->cnt_and_flag, 0,
328 if (cntflag == 0)
352 isc_int32_t cntflag;
367 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag, READER_INCR);
368 if ((cntflag & WRITER_ACTIVE) != 0) {
373 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag,
379 if (cntflag == READER_INCR &&
390 cntflag = isc_atomic_cmpxchg(&rwl->cnt_and_flag, 0,
392 if (cntflag != 0)