Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | rwsem_waiter |
Macros | |
#define | RWSEM_WAITING_FOR_READ 0x00000001 |
#define | RWSEM_WAITING_FOR_WRITE 0x00000002 |
#define RWSEM_WAITING_FOR_READ 0x00000001 |
Definition at line 16 of file rwsem-spinlock.c.
#define RWSEM_WAITING_FOR_WRITE 0x00000002 |
Definition at line 17 of file rwsem-spinlock.c.
void __sched __down_read | ( | struct rw_semaphore * | sem | ) |
Definition at line 142 of file rwsem-spinlock.c.
int __down_read_trylock | ( | struct rw_semaphore * | sem | ) |
Definition at line 186 of file rwsem-spinlock.c.
void __sched __down_write | ( | struct rw_semaphore * | sem | ) |
Definition at line 250 of file rwsem-spinlock.c.
void __sched __down_write_nested | ( | struct rw_semaphore * | sem, |
int | subclass | ||
) |
Definition at line 209 of file rwsem-spinlock.c.
int __down_write_trylock | ( | struct rw_semaphore * | sem | ) |
Definition at line 258 of file rwsem-spinlock.c.
void __downgrade_write | ( | struct rw_semaphore * | sem | ) |
Definition at line 311 of file rwsem-spinlock.c.
void __init_rwsem | ( | struct rw_semaphore * | sem, |
const char * | name, | ||
struct lock_class_key * | key | ||
) |
Definition at line 36 of file rwsem-spinlock.c.
void __up_read | ( | struct rw_semaphore * | sem | ) |
Definition at line 279 of file rwsem-spinlock.c.
void __up_write | ( | struct rw_semaphore * | sem | ) |
Definition at line 294 of file rwsem-spinlock.c.
EXPORT_SYMBOL | ( | rwsem_is_locked | ) |
EXPORT_SYMBOL | ( | __init_rwsem | ) |
int rwsem_is_locked | ( | struct rw_semaphore * | sem | ) |
Definition at line 20 of file rwsem-spinlock.c.