Lines Matching refs:newval
115 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ argument
116 mutexed_compare_and_swap(dest, newval, oldval)
125 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ argument
126 InterlockedCompareExchangePointer(dest, newval, oldval)
137 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ argument
138 __sync_val_compare_and_swap(dest, oldval, newval)
140 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ argument
141 mutexed_compare_and_swap(dest, newval, oldval)
152 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ argument
153 mutexed_compare_and_swap(dest, newval, oldval)
158 static void *mutexed_compare_and_swap(void **dest, void *newval, void *oldval);
469 static void *mutexed_compare_and_swap(void **dest, void *newval, void *oldval) { in mutexed_compare_and_swap() argument
480 *dest = newval; in mutexed_compare_and_swap()