Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | __ARCH_SPIN_CURRENT_SHIFT 17 |
#define | __ARCH_SPIN_NEXT_MASK 0x7fff |
#define | __ARCH_SPIN_NEXT_OVERFLOW 0x8000 |
#define | arch_spin_lock_flags(lock, flags) arch_spin_lock(lock) |
#define | __WRITE_LOCK_BIT (1 << 31) |
#define | arch_read_lock_flags(lock, flags) arch_read_lock(lock) |
#define | arch_write_lock_flags(lock, flags) arch_write_lock(lock) |
#define __ARCH_SPIN_CURRENT_SHIFT 17 |
Definition at line 22 of file spinlock_64.h.
#define __ARCH_SPIN_NEXT_MASK 0x7fff |
Definition at line 23 of file spinlock_64.h.
#define __ARCH_SPIN_NEXT_OVERFLOW 0x8000 |
Definition at line 24 of file spinlock_64.h.
#define __WRITE_LOCK_BIT (1 << 31) |
Definition at line 88 of file spinlock_64.h.
#define arch_read_lock_flags | ( | lock, | |
flags | |||
) | arch_read_lock(lock) |
Definition at line 158 of file spinlock_64.h.
#define arch_spin_lock_flags | ( | lock, | |
flags | |||
) | arch_spin_lock(lock) |
Definition at line 78 of file spinlock_64.h.
#define arch_write_lock_flags | ( | lock, | |
flags | |||
) | arch_write_lock(lock) |
Definition at line 159 of file spinlock_64.h.
void __read_lock_failed | ( | arch_rwlock_t * | rw | ) |
Definition at line 77 of file spinlock_64.c.
void __write_lock_failed | ( | arch_rwlock_t * | rw, |
u32 | val | ||
) |
Definition at line 94 of file spinlock_64.c.
void arch_spin_lock_slow | ( | arch_spinlock_t * | lock, |
u32 | val | ||
) |
Definition at line 35 of file spinlock_64.c.
int arch_spin_trylock | ( | arch_spinlock_t * | lock | ) |
Definition at line 40 of file spinlock_32.c.
void arch_spin_unlock_wait | ( | arch_spinlock_t * | lock | ) |