Lines Matching full:barrier
9 #include <asm/barrier.h>
32 barrier(); in arch_spin_lock()
40 barrier(); in arch_spin_trylock()
47 barrier(); in arch_spin_unlock()
54 #define arch_read_lock(lock) do { barrier(); (void)(lock); } while (0)
55 #define arch_write_lock(lock) do { barrier(); (void)(lock); } while (0)
56 #define arch_read_trylock(lock) ({ barrier(); (void)(lock); 1; })
57 #define arch_write_trylock(lock) ({ barrier(); (void)(lock); 1; })
58 #define arch_read_unlock(lock) do { barrier(); (void)(lock); } while (0)
59 #define arch_write_unlock(lock) do { barrier(); (void)(lock); } while (0)
64 # define arch_spin_lock(lock) do { barrier(); (void)(lock); } while (0)
65 # define arch_spin_lock_flags(lock, flags) do { barrier(); (void)(lock); } while (0)
66 # define arch_spin_unlock(lock) do { barrier(); (void)(lock); } while (0)
67 # define arch_spin_trylock(lock) ({ barrier(); (void)(lock); 1; })