Lines Matching refs:cntflag
263 isc_int32_t cntflag;
285 cntflag = atomic_fetch_add_explicit(&rwl->cnt_and_flag,
289 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag, READER_INCR);
291 POST(cntflag);
417 isc_int32_t cntflag;
433 cntflag = atomic_fetch_add_explicit(&rwl->cnt_and_flag,
437 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag, READER_INCR);
439 if ((cntflag & WRITER_ACTIVE) != 0) {
445 cntflag = atomic_fetch_sub_explicit
449 cntflag = isc_atomic_xadd(&rwl->cnt_and_flag,
456 if (cntflag == READER_INCR &&
474 cntflag = isc_atomic_cmpxchg(&rwl->cnt_and_flag, 0,
476 if (cntflag != 0)