Searched refs:SX_SHARERS_LOCK (Results 1 – 2 of 2) sorted by relevance
81 #define SX_SHARERS_LOCK(x) \ macro85 #define SX_LOCK_UNLOCKED SX_SHARERS_LOCK(0)
505 atomic_cmpset_rel_ptr(&sx->sx_lock, x, SX_SHARERS_LOCK(1) | in sx_downgrade_int()521 atomic_store_rel_ptr(&sx->sx_lock, SX_SHARERS_LOCK(1) | in sx_downgrade_int()