Home
last modified time | relevance | path

Searched full:rw_semaphore (Results 1 – 25 of 115) sorted by relevance

12345

/linux/tools/perf/util/
H 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);
H 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()
H A Dthread.h52 struct rw_semaphore namespaces_lock; in DECLARE_RC_STRUCT()
54 struct rw_semaphore comm_lock; in DECLARE_RC_STRUCT()
238 static inline struct rw_semaphore *thread__namespaces_lock(struct thread *thread) in thread__namespaces_lock()
243 static inline struct rw_semaphore *thread__comm_lock(struct thread *thread) in thread__comm_lock()
H A Denv.h132 struct rw_semaphore lock;
141 struct rw_semaphore lock;
H A Dthreads.h16 struct rw_semaphore lock;
H A Ddsos.h21 struct rw_semaphore lock;
/linux/tools/include/linux/
H 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()
/linux/lib/
H A Dtest_lockup.c110 MODULE_PARM_DESC(lock_rwsem_ptr, "lock rw_semaphore at address");
184 pr_notice("lock rw_semaphore %ps\n", in test_lock()
187 down_read((struct rw_semaphore *)lock_rwsem_ptr); in test_lock()
189 down_write((struct rw_semaphore *)lock_rwsem_ptr); in test_lock()
288 up_read((struct rw_semaphore *)lock_rwsem_ptr); in test_unlock()
290 up_write((struct rw_semaphore *)lock_rwsem_ptr); in test_unlock()
292 pr_notice("unlock rw_semaphore %ps\n", in test_unlock()
484 test_kernel_ptr(lock_rwsem_ptr, sizeof(struct rw_semaphore))) in test_lockup_init()
499 offsetof(struct rw_semaphore, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
513 offsetof(struct rw_semaphore, wait_lock.magic), in test_lockup_init()
/linux/drivers/net/wireguard/
H A Dcookie.h19 struct rw_semaphore secret_lock;
31 struct rw_semaphore lock;
H A Dnoise.h53 struct rw_semaphore lock;
89 struct rw_semaphore lock;
/linux/Documentation/translations/it_IT/locking/
H A Dlocktypes.rst44 - rw_semaphore
133 rw_semaphore chapter
136 Il blocco rw_semaphore è un meccanismo che permette più lettori ma un solo scrittore.
146 rw_semaphore e PREEMPT_RT
149 I kernel PREEMPT_RT sostituiscono i rw_semaphore con un'implementazione basata
152 Dato che uno scrittore rw_semaphore non può assicurare la propria priorità ai
321 - Dato che uno scrittore rw_semaphore non può assicurare la propria priorità ai
/linux/drivers/usb/gadget/function/
H A Dstorage_common.c333 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_show_file()
394 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_ro()
437 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_file()
468 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_cdrom()
525 ssize_t fsg_store_forced_eject(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_forced_eject()
/linux/fs/f2fs/
H A DKconfig148 bool "F2FS unfair rw_semaphore"
151 Use unfair rw_semaphore, if system configured IO priority by block
/linux/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h70 struct rw_semaphore { struct
97 struct rw_semaphore mmap_lock;
/linux/samples/hung_task/
H A Dhung_task_tests.c124 /* File operations for rw_semaphore read */
129 /* File operations for rw_semaphore write */
/linux/fs/ocfs2/
H A Dinode.h25 struct rw_semaphore ip_alloc_sem;
28 struct rw_semaphore ip_xattr_sem;
/linux/fs/jffs2/
H A Djffs2_fs_sb.h135 struct rw_semaphore wbuf_sem; /* Protects the write buffer */
155 struct rw_semaphore xattr_sem;
/linux/include/linux/
H A Dutsname.h39 extern struct rw_semaphore uts_sem;
H A Drtnetlink.h52 extern struct rw_semaphore pernet_ops_rwsem;
53 extern struct rw_semaphore net_rwsem;
H A Dgnss.h45 struct rw_semaphore rwsem;
/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_group_types.h46 struct rw_semaphore mode_sem;
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_cfg.h29 struct rw_semaphore lock;
/linux/fs/jfs/
H A Djfs_incore.h56 struct rw_semaphore rdwrlock;
65 struct rw_semaphore xattr_sem;
/linux/kernel/sched/
H A Dautogroup.h17 struct rw_semaphore lock;
/linux/kernel/trace/
H A Dtrace_output.h47 extern struct rw_semaphore trace_event_sem;

12345