Searched refs:plh_lock (Results 1 – 1 of 1) sorted by relevance
229 int _Atomic plh_lock; /* lock for concurrent modifications to this plh */ member252 #define plh_lock(plh) while(!os_atomic_cmpxchg(&(plh)->plh_lock, 0, 1, acquire)) { loop_wait(); } macro253 #define plh_unlock(plh) os_atomic_store(&(plh)->plh_lock, 0, release);3150 plh_lock(&stackshot_ctx.sc_plh); in kdp_stackshot_plh_record()3160 plh_lock(&stackshot_ctx.sc_plh); in stackshot_plh_lookup()