Lines Matching defs:atomic
8 * limited check that atomic stores and loads order non-atomic memory
13 * atomic functions. X86 in particular has strong memory ordering by default
15 * (Raspberry Pi 3 Model B) has been observed to fail without the atomic
31 * from removing/reording atomic and seq_n, mark them as volatile.
42 static int atomic;
43 /* Instead of storing seq_n on the stack (probably next to the atomic variable
46 * seq_n will be synchronised between processors as a byproduct of the atomic
56 for (i = tst_atomic_load(&atomic);
58 i = tst_atomic_load(&atomic))
63 tst_atomic_store(i + 1, &atomic);
78 while (tst_atomic_load(&atomic) > 0) {
98 atomic = 0;
113 tst_atomic_store(-1, &atomic);