Searched refs:ld_semaphore (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/tty/ |
D | tty_ldsem.c | 57 void __init_ldsem(struct ld_semaphore *sem, const char *name, in __init_ldsem() 74 static void __ldsem_wake_readers(struct ld_semaphore *sem) in __ldsem_wake_readers() 104 static inline int writer_trylock(struct ld_semaphore *sem) in writer_trylock() 119 static void __ldsem_wake_writer(struct ld_semaphore *sem) in __ldsem_wake_writer() 135 static void __ldsem_wake(struct ld_semaphore *sem) in __ldsem_wake() 143 static void ldsem_wake(struct ld_semaphore *sem) in ldsem_wake() 155 static struct ld_semaphore __sched * 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() 229 static struct ld_semaphore __sched * 230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed() [all …]
|
/Linux-v6.6/include/linux/ |
D | tty_ldisc.h | 17 struct ld_semaphore { struct 28 void __init_ldsem(struct ld_semaphore *sem, const char *name, argument 39 int ldsem_down_read(struct ld_semaphore *sem, long timeout); 40 int ldsem_down_read_trylock(struct ld_semaphore *sem); 41 int ldsem_down_write(struct ld_semaphore *sem, long timeout); 42 int ldsem_down_write_trylock(struct ld_semaphore *sem); 43 void ldsem_up_read(struct ld_semaphore *sem); 44 void ldsem_up_write(struct ld_semaphore *sem); 47 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, 49 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
|
D | tty.h | 202 struct ld_semaphore ldisc_sem;
|