Linux Kernel
3.7.1
|
Go to the source code of this file.
Definition at line 27 of file spinlock_api_up.h.
#define __LOCK_BH | ( | lock | ) | do { local_bh_disable(); __LOCK(lock); } while (0) |
Definition at line 30 of file spinlock_api_up.h.
#define __LOCK_IRQ | ( | lock | ) | do { local_irq_disable(); __LOCK(lock); } while (0) |
Definition at line 33 of file spinlock_api_up.h.
Definition at line 36 of file spinlock_api_up.h.
Definition at line 39 of file spinlock_api_up.h.
#define __UNLOCK_BH | ( | lock | ) |
Definition at line 42 of file spinlock_api_up.h.
#define __UNLOCK_IRQ | ( | lock | ) | do { local_irq_enable(); __UNLOCK(lock); } while (0) |
Definition at line 46 of file spinlock_api_up.h.
#define __UNLOCK_IRQRESTORE | ( | lock, | |
flags | |||
) | do { local_irq_restore(flags); __UNLOCK(lock); } while (0) |
Definition at line 49 of file spinlock_api_up.h.
Definition at line 54 of file spinlock_api_up.h.
Definition at line 57 of file spinlock_api_up.h.
#define _raw_read_lock_irq | ( | lock | ) | __LOCK_IRQ(lock) |
Definition at line 60 of file spinlock_api_up.h.
#define _raw_read_lock_irqsave | ( | lock, | |
flags | |||
) | __LOCK_IRQSAVE(lock, flags) |
Definition at line 63 of file spinlock_api_up.h.
Definition at line 66 of file spinlock_api_up.h.
Definition at line 70 of file spinlock_api_up.h.
#define _raw_read_unlock_bh | ( | lock | ) | __UNLOCK_BH(lock) |
Definition at line 74 of file spinlock_api_up.h.
#define _raw_read_unlock_irq | ( | lock | ) | __UNLOCK_IRQ(lock) |
Definition at line 76 of file spinlock_api_up.h.
#define _raw_read_unlock_irqrestore | ( | lock, | |
flags | |||
) | __UNLOCK_IRQRESTORE(lock, flags) |
Definition at line 80 of file spinlock_api_up.h.
Definition at line 52 of file spinlock_api_up.h.
Definition at line 56 of file spinlock_api_up.h.
#define _raw_spin_lock_irq | ( | lock | ) | __LOCK_IRQ(lock) |
Definition at line 59 of file spinlock_api_up.h.
#define _raw_spin_lock_irqsave | ( | lock, | |
flags | |||
) | __LOCK_IRQSAVE(lock, flags) |
Definition at line 62 of file spinlock_api_up.h.
Definition at line 53 of file spinlock_api_up.h.
Definition at line 65 of file spinlock_api_up.h.
Definition at line 68 of file spinlock_api_up.h.
Definition at line 69 of file spinlock_api_up.h.
#define _raw_spin_unlock_bh | ( | lock | ) | __UNLOCK_BH(lock) |
Definition at line 72 of file spinlock_api_up.h.
#define _raw_spin_unlock_irq | ( | lock | ) | __UNLOCK_IRQ(lock) |
Definition at line 75 of file spinlock_api_up.h.
#define _raw_spin_unlock_irqrestore | ( | lock, | |
flags | |||
) | __UNLOCK_IRQRESTORE(lock, flags) |
Definition at line 78 of file spinlock_api_up.h.
Definition at line 55 of file spinlock_api_up.h.
Definition at line 58 of file spinlock_api_up.h.
#define _raw_write_lock_irq | ( | lock | ) | __LOCK_IRQ(lock) |
Definition at line 61 of file spinlock_api_up.h.
#define _raw_write_lock_irqsave | ( | lock, | |
flags | |||
) | __LOCK_IRQSAVE(lock, flags) |
Definition at line 64 of file spinlock_api_up.h.
Definition at line 67 of file spinlock_api_up.h.
Definition at line 71 of file spinlock_api_up.h.
#define _raw_write_unlock_bh | ( | lock | ) | __UNLOCK_BH(lock) |
Definition at line 73 of file spinlock_api_up.h.
#define _raw_write_unlock_irq | ( | lock | ) | __UNLOCK_IRQ(lock) |
Definition at line 77 of file spinlock_api_up.h.
#define _raw_write_unlock_irqrestore | ( | lock, | |
flags | |||
) | __UNLOCK_IRQRESTORE(lock, flags) |
Definition at line 82 of file spinlock_api_up.h.
Definition at line 19 of file spinlock_api_up.h.
#define in_lock_functions | ( | ADDR | ) | 0 |
Definition at line 17 of file spinlock_api_up.h.