Lines Matching refs:Ordering
1 use core::sync::atomic::{compiler_fence, AtomicUsize, Ordering};
12 compiler_fence(Ordering::SeqCst); in irq_time_read()
18 let seq = irqtime.sync.load(Ordering::SeqCst); in irq_time_read()
21 if seq == irqtime.sync.load(Ordering::SeqCst) { in irq_time_read()
25 compiler_fence(Ordering::SeqCst); in irq_time_read()
40 self.sync.fetch_add(1, Ordering::SeqCst); in account_delta()
54 compiler_fence(Ordering::SeqCst); in irqtime_start()
56 compiler_fence(Ordering::SeqCst); in irqtime_start()
60 compiler_fence(Ordering::SeqCst); in irqtime_account_irq()
63 compiler_fence(Ordering::SeqCst); in irqtime_account_irq()
65 compiler_fence(Ordering::SeqCst); in irqtime_account_irq()
68 compiler_fence(Ordering::SeqCst); in irqtime_account_irq()