/arch/alpha/lib/ |
H A D | dec_and_lock.c | 33 static int __used atomic_dec_and_lock_1(atomic_t *atomic, spinlock_t *lock) argument 36 spin_lock(lock); 39 spin_unlock(lock);
|
/arch/blackfin/include/asm/ |
H A D | smp.h | 30 int lock; member in struct:corelock_slot
|
H A D | spinlock_types.h | 17 volatile unsigned int lock; member in struct:__anon359 23 volatile unsigned int lock; member in struct:__anon360
|
/arch/x86/include/asm/ |
H A D | qrwlock.h | 8 static inline void queue_write_unlock(struct qrwlock *lock) argument 11 ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
|
/arch/alpha/include/asm/ |
H A D | spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon73 15 volatile unsigned int lock; member in struct:__anon74
|
/arch/arm/mach-omap1/ |
H A D | sram.S | 36 tst r0, #1 << 4 @ want lock mode? 38 bic r0, r0, #1 << 4 @ else clear lock bit 40 orr r0, r0, #1 << 4 @ set lock bit again 52 lock: ldrh r4, [r2], #0 @ read back dpll value label 53 tst r0, #1 << 4 @ want lock mode? 56 beq lock @ try again
|
/arch/hexagon/include/asm/ |
H A D | spinlock_types.h | 29 volatile unsigned int lock; member in struct:__anon1450 35 volatile unsigned int lock; member in struct:__anon1451
|
/arch/metag/include/asm/ |
H A D | spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon1937 15 volatile unsigned int lock; member in struct:__anon1938
|
/arch/powerpc/include/asm/ |
H A D | fsl_85xx_cache_sram.h | 41 spinlock_t lock; member in struct:mpc85xx_cache_sram
|
H A D | msi_bitmap.h | 20 spinlock_t lock; member in struct:msi_bitmap
|
H A D | spinlock_types.h | 15 volatile signed int lock; member in struct:__anon2400
|
/arch/s390/include/asm/ |
H A D | spinlock_types.h | 9 unsigned int lock; member in struct:__anon2539 12 #define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, } 15 unsigned int lock; member in struct:__anon2540
|
/arch/sh/include/asm/ |
H A D | spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon2652 15 volatile unsigned int lock; member in struct:__anon2653
|
/arch/sparc/include/asm/ |
H A D | spinlock_types.h | 9 volatile unsigned char lock; member in struct:__anon2788 15 volatile unsigned int lock; member in struct:__anon2789
|
H A D | bitext.h | 13 spinlock_t lock; member in struct:bit_map
|
/arch/xtensa/include/asm/ |
H A D | spinlock_types.h | 15 volatile unsigned int lock; member in struct:__anon3275
|
/arch/arm/mach-spear/ |
H A D | pl080.c | 23 static spinlock_t lock = __SPIN_LOCK_UNLOCKED(x); variable 35 spin_lock_irqsave(&lock, flags); 40 spin_unlock_irqrestore(&lock, flags); 60 spin_unlock_irqrestore(&lock, flags); 69 spin_lock_irqsave(&lock, flags); 77 spin_unlock_irqrestore(&lock, flags);
|
/arch/arm64/include/asm/ |
H A D | spinlock_types.h | 38 volatile unsigned int lock; member in struct:__anon343
|
/arch/ia64/include/asm/ |
H A D | acenv.h | 23 ia64_acpi_acquire_global_lock(unsigned int *lock) argument 27 old = *lock; 29 val = ia64_cmpxchg4_acq(lock, new, old); 35 ia64_acpi_release_global_lock(unsigned int *lock) argument 39 old = *lock; 41 val = ia64_cmpxchg4_acq(lock, new, old);
|
H A D | spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon1710
|
/arch/m32r/include/asm/ |
H A D | spinlock_types.h | 15 volatile int lock; member in struct:__anon1847
|
/arch/mips/include/asm/ |
H A D | spinlock_types.h | 17 u32 lock; member in union:__anon2164 29 #define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0 } 32 volatile unsigned int lock; member in struct:__anon2166
|
/arch/mn10300/include/asm/ |
H A D | spinlock_types.h | 15 unsigned int lock; member in struct:__anon2243
|
/arch/parisc/include/asm/ |
H A D | spinlock_types.h | 9 volatile unsigned int lock[4]; 15 arch_spinlock_t lock; member in struct:__anon2276
|
/arch/powerpc/lib/ |
H A D | locks.c | 2 * Spin and read/write lock operations. 26 void __spin_yield(arch_spinlock_t *lock) argument 30 lock_value = lock->slock; 39 if (lock->slock != lock_value) 46 * Waiting for a read lock or a write lock on a rwlock... 55 lock_value = rw->lock; 57 return; /* no write lock at present */ 64 if (rw->lock != lock_value) 71 void arch_spin_unlock_wait(arch_spinlock_t *lock) argument [all...] |