/prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-4/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-5/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/asm/ |
spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) 20 #define __raw_spin_unlock_wait(lock) do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
/libcore/luni/src/main/java/java/util/ |
TimerTask.java | 28 /* Lock object for synchronization. It's also used by Timer class. */ 29 final Object lock = new Object(); field in class:TimerTask 51 synchronized (lock) { 60 synchronized (lock) { 72 synchronized (lock) { 92 synchronized (lock) { 107 synchronized (lock) {
|
/external/clang/test/CodeGen/ |
2003-11-01-C99-CompoundLiteral.c | 4 typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t; member in struct:wait_queue_head_t 6 struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, };
|
2003-11-04-EmptyStruct.c | 4 struct fs_struct { rwlock_t lock; int umask; }; member in struct:fs_struct 5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
|
/external/kernel-headers/original/asm-x86/ |
spinlock_32.h | 22 * Simple spin lock operations. There are two variants, one clears IRQ's 35 static inline void __raw_spin_lock(raw_spinlock_t *lock) 46 : "+m" (lock->slock) : : "memory"); 50 * It is easier for the lock validator if interrupts are not re-enabled 51 * in the middle of a lock-acquire. This is a performance feature anyway 58 static inline void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) 80 : [slock] "+m" (lock->slock) 87 static inline int __raw_spin_trylock(raw_spinlock_t *lock) 92 :"=q" (oldval), "+m" (lock->slock) 106 static inline void __raw_spin_unlock(raw_spinlock_t *lock) [all...] |
/bionic/libc/kernel/common/linux/ |
seqlock.h | 26 spinlock_t lock; member in struct:__anon459 40 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 41 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 42 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 44 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 45 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/development/ndk/platforms/android-3/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon1090 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon21094 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon27147 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon27510 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon27864 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon28218 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon28637 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
seqlock.h | 20 spinlock_t lock; member in struct:__anon29000 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0) 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0) 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0 [all...] |