Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 9 of 9) sorted by relevance

/include/linux/
Dpercpu-rwsem.h36 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) in percpu_down_read()
61 static inline int percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in percpu_down_read_trylock()
84 static inline void percpu_up_read(struct percpu_rw_semaphore *sem) in percpu_up_read()
107 #define percpu_init_rwsem(sem) \ argument
113 #define percpu_rwsem_is_held(sem) lockdep_is_held(&(sem)->rw_sem) argument
115 #define percpu_rwsem_assert_held(sem) \ argument
118 static inline void percpu_rwsem_release(struct percpu_rw_semaphore *sem, in percpu_rwsem_release()
128 static inline void percpu_rwsem_acquire(struct percpu_rw_semaphore *sem, in percpu_rwsem_acquire()
Drwsem.h65 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked()
108 #define init_rwsem(sem) \ argument
121 static inline int rwsem_is_contended(struct rw_semaphore *sem) in rwsem_is_contended()
182 # define down_write_nest_lock(sem, nest_lock) \ argument
197 # define down_read_nested(sem, subclass) down_read(sem) argument
198 # define down_write_nest_lock(sem, nest_lock) down_write(sem) argument
199 # define down_write_nested(sem, subclass) down_write(sem) argument
200 # define down_write_killable_nested(sem, subclass) down_write_killable(sem) argument
201 # define down_read_non_owner(sem) down_read(sem) argument
202 # define up_read_non_owner(sem) up_read(sem) argument
Dtty_ldisc.h147 #define init_ldsem(sem) \ argument
168 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument
170 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
Dsemaphore.h31 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
Dkey.h179 struct rw_semaphore sem; /* change vs change sem */ member
/include/trace/hooks/
Drwsem.h31 #define trace_android_vh_rwsem_init(sem) argument
32 #define trace_android_vh_rwsem_wake(sem) argument
33 #define trace_android_vh_rwsem_write_finished(sem) argument
34 #define trace_android_vh_alter_rwsem_list_add(waiter, sem, already_on_list) argument
Ddtask.h44 #define trace_android_vh_rwsem_read_wait_start(sem) argument
45 #define trace_android_vh_rwsem_read_wait_finish(sem) argument
46 #define trace_android_vh_rwsem_write_wait_start(sem) argument
47 #define trace_android_vh_rwsem_write_wait_finish(sem) argument
/include/soc/arc/
Dmcip.h66 msg:1, sem:1, ipi:1, slv:1, member
/include/linux/mlx5/
Ddriver.h301 struct semaphore sem; member