ld_semaphore
static inline int writer_trylock(struct ld_semaphore *sem)
static void __ldsem_wake_writer(struct ld_semaphore *sem)
static void __ldsem_wake(struct ld_semaphore *sem)
static void ldsem_wake(struct ld_semaphore *sem)
static struct ld_semaphore __sched *
down_read_failed(struct ld_semaphore *sem, long count, long timeout)
static struct ld_semaphore __sched *
down_write_failed(struct ld_semaphore *sem, long count, long timeout)
static int __ldsem_down_read_nested(struct ld_semaphore *sem,
static int __ldsem_down_write_nested(struct ld_semaphore *sem,
int __sched ldsem_down_read(struct ld_semaphore *sem, long timeout)
int ldsem_down_read_trylock(struct ld_semaphore *sem)
int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout)
void ldsem_up_read(struct ld_semaphore *sem)
void ldsem_up_write(struct ld_semaphore *sem)
int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout)
int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
void __init_ldsem(struct ld_semaphore *sem, const char *name,
static void __ldsem_wake_readers(struct ld_semaphore *sem)
struct ld_semaphore ldisc_sem;
void __init_ldsem(struct ld_semaphore *sem, const char *name,
int ldsem_down_read(struct ld_semaphore *sem, long timeout);
int ldsem_down_read_trylock(struct ld_semaphore *sem);
int ldsem_down_write(struct ld_semaphore *sem, long timeout);
void ldsem_up_read(struct ld_semaphore *sem);
void ldsem_up_write(struct ld_semaphore *sem);
int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,