Home
last modified time | relevance | path

Searched refs:rw_semaphore (Results 1 – 11 of 11) sorted by relevance

/tools/perf/util/
A Drwsem.h13 struct LOCKABLE rw_semaphore { struct
21 int init_rwsem(struct rw_semaphore *sem); argument
22 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);
A Drwsem.c9 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()
A Dthread.h52 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()
A Dthreads.h16 struct rw_semaphore lock;
A Denv.h112 struct rw_semaphore lock;
121 struct rw_semaphore lock;
A Ddsos.h21 struct rw_semaphore lock;
A Dcomm.c18 struct rw_semaphore lock;
A Dmaps.c27 struct rw_semaphore lock; in DECLARE_RC_STRUCT()
207 static struct rw_semaphore *maps__lock(struct maps *maps) in maps__lock()
/tools/include/linux/
A Drwsem.h7 struct rw_semaphore { struct
11 static inline int init_rwsem(struct rw_semaphore *sem) in init_rwsem() argument
16 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()
/tools/perf/util/bpf_skel/vmlinux/
A Dvmlinux.h70 struct rw_semaphore { struct
97 struct rw_semaphore mmap_lock;
/tools/perf/util/bpf_skel/
A Dlock_contention.bpf.c171 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