HomeSort by relevance Sort by last modified time
    Searched refs:lock (Results 201 - 225 of 3168) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/ndk/9/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/9/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/9/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)
  /external/webrtc/src/system_wrappers/source/
rw_lock.cc 25 RWLockWrapper* lock = new RWLockWindows(); local
27 RWLockWrapper* lock = new RWLockPosix();
29 if(lock->Init() != 0)
31 delete lock;
35 return lock;
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_spin_lock.c 5 * This translation unit implements spin lock primitives.
42 pthread_spin_lock (pthread_spinlock_t * lock)
46 if (NULL == lock || NULL == *lock)
51 if (*lock == PTHREAD_SPINLOCK_INITIALIZER)
55 if ((result = ptw32_spinlock_check_need_init (lock)) != 0)
61 s = *lock;
pthread_spin_trylock.c 5 * This translation unit implements spin lock primitives.
42 pthread_spin_trylock (pthread_spinlock_t * lock)
46 if (NULL == lock || NULL == *lock)
51 if (*lock == PTHREAD_SPINLOCK_INITIALIZER)
55 if ((result = ptw32_spinlock_check_need_init (lock)) != 0)
61 s = *lock;
  /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:__anon545
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:__anon1182
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/4/platforms/android-3/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon41642
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/4/platforms/android-4/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon41996
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/4/platforms/android-5/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon42350
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/4/platforms/android-5/arch-x86/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon42769
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/4/platforms/android-8/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon43132
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/4/platforms/android-8/arch-x86/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon43556
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/5/platforms/android-3/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon43918
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/6/platforms/android-3/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon44537
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/6/platforms/android-3/arch-x86/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon44874
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/7/platforms/android-14/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon45669
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/7/platforms/android-14/arch-x86/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon46116
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/7/platforms/android-3/arch-arm/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon46476
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/7/platforms/android-3/arch-x86/usr/include/linux/
seqlock.h 20 spinlock_t lock; member in struct:__anon46816
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...]

Completed in 1717 milliseconds

1 2 3 4 5 6 7 891011>>