Searched refs:rw_semaphore (Results 1 – 11 of 11) sorted by relevance
13 struct LOCKABLE rw_semaphore { struct21 int init_rwsem(struct rw_semaphore *sem); argument22 int exit_rwsem(struct rw_semaphore *sem);24 int down_read(struct rw_semaphore *sem) SHARED_LOCK_FUNCTION(sem);25 int up_read(struct rw_semaphore *sem) UNLOCK_FUNCTION(sem);27 int down_write(struct rw_semaphore *sem) EXCLUSIVE_LOCK_FUNCTION(sem);28 int up_write(struct rw_semaphore *sem) UNLOCK_FUNCTION(sem);
9 int init_rwsem(struct rw_semaphore *sem) in init_rwsem()19 int exit_rwsem(struct rw_semaphore *sem) in exit_rwsem()29 int down_read(struct rw_semaphore *sem) in down_read()40 int up_read(struct rw_semaphore *sem) in up_read()51 int down_write(struct rw_semaphore *sem) in down_write()62 int up_write(struct rw_semaphore *sem) in up_write()
52 struct rw_semaphore namespaces_lock; in DECLARE_RC_STRUCT()54 struct rw_semaphore comm_lock; in DECLARE_RC_STRUCT()234 static inline struct rw_semaphore *thread__namespaces_lock(struct thread *thread) in thread__namespaces_lock()239 static inline struct rw_semaphore *thread__comm_lock(struct thread *thread) in thread__comm_lock()
16 struct rw_semaphore lock;
112 struct rw_semaphore lock;121 struct rw_semaphore lock;
21 struct rw_semaphore lock;
18 struct rw_semaphore lock;
27 struct rw_semaphore lock; in DECLARE_RC_STRUCT()207 static struct rw_semaphore *maps__lock(struct maps *maps) in maps__lock()
7 struct rw_semaphore { struct11 static inline int init_rwsem(struct rw_semaphore *sem) in init_rwsem() argument16 static inline int exit_rwsem(struct rw_semaphore *sem) in exit_rwsem()21 static inline int down_read(struct rw_semaphore *sem) in down_read()26 static inline int up_read(struct rw_semaphore *sem) in up_read()31 static inline int down_write(struct rw_semaphore *sem) in down_write()36 static inline int up_write(struct rw_semaphore *sem) in up_write()
70 struct rw_semaphore { struct97 struct rw_semaphore mmap_lock;
171 struct rw_semaphore mmap_sem;175 struct rw_semaphore mmap_lock;351 struct rw_semaphore *rwsem = (void *)lock; in get_lock_owner()
Completed in 19 milliseconds