Lines Matching refs:Ordering
2 use core::sync::atomic::{compiler_fence, AtomicBool, AtomicI64, Ordering};
178 let sec = __ADDED_SEC.load(Ordering::SeqCst); in getnstimeofday()
230 __ADDED_USEC.store(0, Ordering::SeqCst); in timekeeping_init()
231 __ADDED_SEC.store(0, Ordering::SeqCst); in timekeeping_init()
243 compiler_fence(Ordering::SeqCst); in update_wall_time()
246 if TIMEKEEPING_SUSPENDED.load(Ordering::SeqCst) { in update_wall_time()
267 compiler_fence(Ordering::SeqCst); in update_wall_time()
269 __ADDED_USEC.fetch_add(500, Ordering::SeqCst); in update_wall_time()
270 compiler_fence(Ordering::SeqCst); in update_wall_time()
273 let usec = __ADDED_USEC.load(Ordering::SeqCst); in update_wall_time()
275 compiler_fence(Ordering::SeqCst); in update_wall_time()
277 __ADDED_SEC.fetch_add(1, Ordering::SeqCst); in update_wall_time()
278 compiler_fence(Ordering::SeqCst); in update_wall_time()
283 .compare_exchange(usec, 0, Ordering::SeqCst, Ordering::SeqCst) in update_wall_time()
293 __ADDED_SEC.store(0, Ordering::SeqCst); in update_wall_time()
303 compiler_fence(Ordering::SeqCst); in update_wall_time()
305 compiler_fence(Ordering::SeqCst); in update_wall_time()