Symbol: ld_semaphore
drivers/tty/tty_ldsem.c
104
static inline int writer_trylock(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
119
static void __ldsem_wake_writer(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
135
static void __ldsem_wake(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
143
static void ldsem_wake(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
155
static struct ld_semaphore __sched *
drivers/tty/tty_ldsem.c
156
down_read_failed(struct ld_semaphore *sem, long count, long timeout)
drivers/tty/tty_ldsem.c
229
static struct ld_semaphore __sched *
drivers/tty/tty_ldsem.c
230
down_write_failed(struct ld_semaphore *sem, long count, long timeout)
drivers/tty/tty_ldsem.c
295
static int __ldsem_down_read_nested(struct ld_semaphore *sem,
drivers/tty/tty_ldsem.c
314
static int __ldsem_down_write_nested(struct ld_semaphore *sem,
drivers/tty/tty_ldsem.c
337
int __sched ldsem_down_read(struct ld_semaphore *sem, long timeout)
drivers/tty/tty_ldsem.c
346
int ldsem_down_read_trylock(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
363
int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout)
drivers/tty/tty_ldsem.c
372
void ldsem_up_read(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
386
void ldsem_up_write(struct ld_semaphore *sem)
drivers/tty/tty_ldsem.c
400
int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout)
drivers/tty/tty_ldsem.c
406
int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
drivers/tty/tty_ldsem.c
57
void __init_ldsem(struct ld_semaphore *sem, const char *name,
drivers/tty/tty_ldsem.c
74
static void __ldsem_wake_readers(struct ld_semaphore *sem)
include/linux/tty.h
197
struct ld_semaphore ldisc_sem;
include/linux/tty_ldisc.h
28
void __init_ldsem(struct ld_semaphore *sem, const char *name,
include/linux/tty_ldisc.h
39
int ldsem_down_read(struct ld_semaphore *sem, long timeout);
include/linux/tty_ldisc.h
40
int ldsem_down_read_trylock(struct ld_semaphore *sem);
include/linux/tty_ldisc.h
41
int ldsem_down_write(struct ld_semaphore *sem, long timeout);
include/linux/tty_ldisc.h
42
void ldsem_up_read(struct ld_semaphore *sem);
include/linux/tty_ldisc.h
43
void ldsem_up_write(struct ld_semaphore *sem);
include/linux/tty_ldisc.h
46
int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
include/linux/tty_ldisc.h
48
int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,