Searched refs:NM_ATOMIC_TEST_AND_SET (Results 1 – 1 of 1) sorted by relevance
111 #define NM_ATOMIC_TEST_AND_SET(p) (!atomic_cmpset_acq_int((p), 0, 1)) macro1270 busy = NM_ATOMIC_TEST_AND_SET(&kr->nr_busy); in nm_kr_tryget()1315 while (NM_ATOMIC_TEST_AND_SET(&kr->nr_busy)) in nm_kr_stop()