Lines Matching refs:sem
28 void __init_ldsem(struct ld_semaphore *sem, const char *name,
31 #define init_ldsem(sem) \ argument
35 __init_ldsem((sem), #sem, &__key); \
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,
52 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument
53 ldsem_down_read(sem, timeout)
54 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
55 ldsem_down_write(sem, timeout)