Home
last modified time | relevance | path

Searched refs:smp_mb (Results 1 – 3 of 3) sorted by relevance

/development/ndk/platforms/android-3/arch-arm/include/asm/
Dlocks.h17 … movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); })
19 …" mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; })
21 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0…
26 …%0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); })
28 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: l…
32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldr…
36 … movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); })
38 …" mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; })
40 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n"…
45 …%0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); })
[all …]
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dbarrier.h39 #define smp_mb() __asm__ __volatile__(__WEAK_ORDERING_MB : : :"memory") macro
42 #define set_mb(var, value) do { var = value; smp_mb(); } while (0)
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dsystem_32.h32 #define smp_mb() barrier() macro