Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | arch_spin_lock_flags(lock, flags) arch_spin_lock(lock) |
#define | arch_spin_unlock_wait(x) while (arch_spin_is_locked(x)) { cpu_relax(); } |
#define | arch_spin_is_contended arch_spin_is_contended |
#define | arch_read_can_lock(rw) ((rw)->lock >= 0) |
#define | arch_write_can_lock(rw) (!(rw)->lock) |
#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_relax(lock) cpu_relax() |
#define | arch_read_relax(lock) cpu_relax() |
#define | arch_write_relax(lock) cpu_relax() |
Definition at line 219 of file spinlock.h.
#define arch_read_lock_flags | ( | lock, | |
flags | |||
) | arch_read_lock(lock) |
Definition at line 451 of file spinlock.h.
Definition at line 455 of file spinlock.h.
#define arch_spin_is_contended arch_spin_is_contended |
Definition at line 54 of file spinlock.h.
#define arch_spin_lock_flags | ( | lock, | |
flags | |||
) | arch_spin_lock(lock) |
Definition at line 44 of file spinlock.h.
Definition at line 454 of file spinlock.h.
#define arch_spin_unlock_wait | ( | x | ) | while (arch_spin_is_locked(x)) { cpu_relax(); } |
Definition at line 45 of file spinlock.h.
Definition at line 225 of file spinlock.h.
#define arch_write_lock_flags | ( | lock, | |
flags | |||
) | arch_write_lock(lock) |
Definition at line 452 of file spinlock.h.
Definition at line 456 of file spinlock.h.