Searched defs:sem (Results 1 – 7 of 7) sorted by relevance
/include/linux/ |
D | rwsem.h | 87 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() 124 #define init_rwsem(sem) \ argument 137 static inline int rwsem_is_contended(struct rw_semaphore *sem) in rwsem_is_contended() 165 #define init_rwsem(sem) \ argument 172 static __always_inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() 177 static __always_inline int rwsem_is_contended(struct rw_semaphore *sem) in rwsem_is_contended() 247 # define down_write_nest_lock(sem, nest_lock) \ argument 262 # define down_read_nested(sem, subclass) down_read(sem) argument 263 # define down_read_killable_nested(sem, subclass) down_read_killable(sem) argument 264 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument [all …]
|
D | percpu-rwsem.h | 57 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) in percpu_down_read() 84 static inline bool percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in percpu_down_read_trylock() 110 static inline void percpu_up_read(struct percpu_rw_semaphore *sem) in percpu_up_read() 150 #define percpu_init_rwsem(sem) \ argument 156 #define percpu_rwsem_is_held(sem) lockdep_is_held(sem) argument 157 #define percpu_rwsem_assert_held(sem) lockdep_assert_held(sem) argument 159 static inline void percpu_rwsem_release(struct percpu_rw_semaphore *sem, in percpu_rwsem_release() 165 static inline void percpu_rwsem_acquire(struct percpu_rw_semaphore *sem, in percpu_rwsem_acquire()
|
D | tty_ldisc.h | 153 #define init_ldsem(sem) \ argument 174 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument 176 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
|
D | semaphore.h | 31 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
|
D | key.h | 199 struct rw_semaphore sem; /* change vs change sem */ member
|
/include/soc/arc/ |
D | mcip.h | 66 msg:1, sem:1, ipi:1, slv:1, member
|
/include/linux/mlx5/ |
D | driver.h | 299 struct semaphore sem; member
|