/development/ndk/platforms/android-3/include/linux/ |
D | spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) argument 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) argument 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) argument 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) argument 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0) argument 31 #define __UNLOCK(lock) do { preempt_enable(); __release(lock); (void)(lock); } while (0) argument 33 #define __UNLOCK_BH(lock) do { preempt_enable_no_resched(); local_bh_enable(); __release(lock); (… argument 35 #define __UNLOCK_IRQ(lock) do { local_irq_enable(); __UNLOCK(lock); } while (0) argument 37 #define __UNLOCK_IRQRESTORE(lock, flags) do { local_irq_restore(flags); __UNLOCK(lock); } while (… argument 39 #define _spin_lock(lock) __LOCK(lock) argument [all …]
|
D | spinlock.h | 36 #define spin_lock_init(lock) do { *(lock) = SPIN_LOCK_UNLOCKED; } while (0) argument 38 #define rwlock_init(lock) do { *(lock) = RW_LOCK_UNLOCKED; } while (0) argument 40 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock) argument 42 #define spin_unlock_wait(lock) __raw_spin_unlock_wait(&(lock)->raw_lock) argument 46 #define _raw_spin_lock(lock) __raw_spin_lock(&(lock)->raw_lock) argument 47 #define _raw_spin_lock_flags(lock, flags) __raw_spin_lock_flags(&(lock)->raw_lock, *(flags)) argument 48 #define _raw_spin_trylock(lock) __raw_spin_trylock(&(lock)->raw_lock) argument 49 #define _raw_spin_unlock(lock) __raw_spin_unlock(&(lock)->raw_lock) argument 60 #define spin_trylock(lock) __cond_lock(_spin_trylock(lock)) argument 61 #define read_trylock(lock) __cond_lock(_read_trylock(lock)) argument [all …]
|
D | spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) argument 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) argument 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) argument 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) argument 25 #define __raw_read_can_lock(lock) (((void)(lock), 1)) argument 26 #define __raw_write_can_lock(lock) (((void)(lock), 1)) argument 28 #define __raw_spin_unlock_wait(lock) do { cpu_relax(); } while (__raw_spin_is_locked(lock)) argument
|
D | seqlock.h | 20 spinlock_t lock; member 34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } whi… argument 35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0) argument 36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0) argument 37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(fla… argument 38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0) argument 39 #define write_sequnlock_bh(lock) do { write_sequnlock(lock); local_bh_enable(); } while(0) argument 40 #define read_seqbegin_irqsave(lock, flags) ({ local_irq_save(flags); read_seqbegin(lock); }) argument 41 #define read_seqretry_irqrestore(lock, iv, flags) ({ int ret = read_seqretry(lock, iv); local… argument
|
D | notifier.h | 25 spinlock_t lock; member 38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL… 42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
|
D | blockgroup_lock.h | 21 spinlock_t lock; member 28 …_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
D | lockdep.h | 24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0) argument 25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0) argument 26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0) argument
|
D | mutex.h | 44 #define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument
|
D | mempool.h | 23 spinlock_t lock; member
|
D | irq.h | 90 spinlock_t lock; member
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
D | 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… argument 22 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) argument 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000)
|
D | spinlock_types.h | 20 volatile unsigned int lock; member 26 volatile unsigned int lock; member
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | spinlock_32.h | 32 #define _raw_spin_relax(lock) cpu_relax() argument 34 #define _raw_read_relax(lock) cpu_relax() argument 35 #define _raw_write_relax(lock) cpu_relax() argument
|
D | mmu.h | 27 struct mutex lock; member
|
D | spinlock_types.h | 31 unsigned int lock; member
|
/development/ndk/platforms/android-3/include/linux/raid/ |
D | md_k.h | 180 …lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_que… argument 182 …it_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_ir… argument
|
/development/ndk/platforms/android-3/include/linux/lockd/ |
D | xdr.h | 45 struct nlm_lock lock; member 59 struct nlm_lock lock; member
|
/development/tools/emulator/system/camera/fake-pipeline2/ |
D | JpegCompressor.cpp | 37 Mutex::Autolock lock(mMutex); in ~JpegCompressor() local 42 Mutex::Autolock lock(mMutex); in start() local 77 Mutex::Autolock lock(mMutex); in threadLoop() local 187 Mutex::Autolock lock(mBusyMutex); in isStreamInUse() local 198 Mutex::Autolock lock(mBusyMutex); in waitForDone() local 222 Mutex::Autolock lock(mBusyMutex); in cleanUp() local
|
D | Sensor.cpp | 150 Mutex::Autolock lock(mControlMutex); in setExposureTime() local 156 Mutex::Autolock lock(mControlMutex); in setFrameDuration() local 162 Mutex::Autolock lock(mControlMutex); in setSensitivity() local 168 Mutex::Autolock lock(mControlMutex); in setDestinationBuffers() local 174 Mutex::Autolock lock(mControlMutex); in waitForVSync() local 187 Mutex::Autolock lock(mReadoutMutex); in waitForNewFrame() local 231 Mutex::Autolock lock(mControlMutex); in threadLoop() local 272 Mutex::Autolock lock(mReadoutMutex); in threadLoop() local
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
D | flashchip.h | 63 spinlock_t lock; member
|
D | blktrans.h | 27 struct mutex lock; member
|
/development/tools/emulator/system/camera/ |
D | EmulatedFakeCamera2.cpp | 634 Mutex::Autolock lock(mInputMutex); in readyToRun() local 646 Mutex::Autolock lock(mInputMutex); in waitUntilRunning() local 657 Mutex::Autolock lock(mInputMutex); in newRequestAvailable() local 666 Mutex::Autolock lock(mInternalsMutex); in isStreamInUse() local 676 Mutex::Autolock lock(mInputMutex); in getInProgressCount() local 685 Mutex::Autolock lock(mInputMutex); in threadLoop() local 715 Mutex::Autolock lock(mInputMutex); in threadLoop() local 719 Mutex::Autolock lock(mInputMutex); in threadLoop() local 904 Mutex::Autolock lock(mInputMutex); in configureNextCapture() local 1006 Mutex::Autolock lock(mInputMutex); in configureNextReprocess() local [all …]
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
D | sched.h | 144 spinlock_t lock; member 160 #define RPC_WAITQ_INIT(var,qname) { .lock = SPIN_LOCK_UNLOCKED, .tasks = { [0] = LIST_HEAD_IN… 162 #define RPC_WAITQ_INIT(var,qname) { .lock = SPIN_LOCK_UNLOCKED, .tasks = { [0] = LIST_HEAD_IN…
|
/development/tools/emulator/opengl/system/gralloc/ |
D | gralloc.cpp | 80 pthread_mutex_t lock; member 342 pthread_mutex_lock(&grdev->lock); in gralloc_alloc() 350 pthread_mutex_unlock(&grdev->lock); in gralloc_alloc() 384 pthread_mutex_lock(&grdev->lock); in gralloc_free() 403 pthread_mutex_unlock(&grdev->lock); in gralloc_free() 598 return sFallback->lock(sFallback, handle, usage, l, t, w, h, vaddr); in gralloc_lock() 805 pthread_mutex_init(&dev->lock, NULL); in gralloc_device_open() 895 lock: gralloc_lock,
|
/development/ndk/platforms/android-3/include/linux/mmc/ |
D | host.h | 107 spinlock_t lock; member
|