/bionic/libc/kernel/common/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
spinlock.h | 24 #define LOCK_SECTION_NAME ".text.lock."KBUILD_BASENAME 36 #define spin_lock_init(lock) do { *(lock) = SPIN_LOCK_UNLOCKED; } while (0) 38 #define rwlock_init(lock) do { *(lock) = RW_LOCK_UNLOCKED; } while (0) 40 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock) 42 #define spin_unlock_wait(lock) __raw_spin_unlock_wait(&(lock)->raw_lock) 46 #define _raw_spin_lock(lock) __raw_spin_lock(&(lock)->raw_lock [all...] |
/development/ndk/platforms/android-3/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
spinlock_up.h | 19 #define __raw_spin_is_locked(lock) ((void)(lock), 0) 21 #define __raw_spin_lock(lock) do { (void)(lock); } while (0) 22 #define __raw_spin_unlock(lock) do { (void)(lock); } while (0) 23 #define __raw_spin_trylock(lock) ({ (void)(lock); 1; }) 25 #define __raw_read_can_lock(lock) (((void)(lock), 1) [all...] |
spinlock_api_up.h | 21 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 23 #define __LOCK(lock) do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 25 #define __LOCK_BH(lock) do { local_bh_disable(); __LOCK(lock); } while (0) 27 #define __LOCK_IRQ(lock) do { local_irq_disable(); __LOCK(lock); } while (0) 29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0 [all...] |
/external/kernel-headers/original/linux/ |
spinlock_up.h | 23 static inline void __raw_spin_lock(raw_spinlock_t *lock) 25 lock->slock = 0; 29 __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) 32 lock->slock = 0; 35 static inline int __raw_spin_trylock(raw_spinlock_t *lock) 37 char oldval = lock->slock; 39 lock->slock = 0; 44 static inline void __raw_spin_unlock(raw_spinlock_t *lock) 46 lock->slock = 1; 52 #define __raw_read_lock(lock) do { (void)(lock); } while (0 [all...] |
spinlock_api_up.h | 19 #define assert_spin_locked(lock) do { (void)(lock); } while (0) 24 * flags straight, to supress compiler warnings of unused lock 27 #define __LOCK(lock) \ 28 do { preempt_disable(); __acquire(lock); (void)(lock); } while (0) 30 #define __LOCK_BH(lock) \ 31 do { local_bh_disable(); __LOCK(lock); } while (0) 33 #define __LOCK_IRQ(lock) \ 34 do { local_irq_disable(); __LOCK(lock); } while (0 [all...] |