Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Drwsem.h21 struct rw_semaphore;
27 struct rw_semaphore { struct
44 extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem); argument
45 extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem);
46 extern struct rw_semaphore *rwsem_wake(struct rw_semaphore *);
47 extern struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem);
53 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked()
82 struct rw_semaphore name = __RWSEM_INITIALIZER(name)
84 extern void __init_rwsem(struct rw_semaphore *sem, const char *name,
100 static inline int rwsem_is_contended(struct rw_semaphore *sem) in rwsem_is_contended()
[all …]
Drwsem-spinlock.h23 struct rw_semaphore { struct
34 extern void __down_read(struct rw_semaphore *sem); argument
35 extern int __down_read_trylock(struct rw_semaphore *sem);
36 extern void __down_write(struct rw_semaphore *sem);
37 extern void __down_write_nested(struct rw_semaphore *sem, int subclass);
38 extern int __down_write_trylock(struct rw_semaphore *sem);
39 extern void __up_read(struct rw_semaphore *sem);
40 extern void __up_write(struct rw_semaphore *sem);
41 extern void __downgrade_write(struct rw_semaphore *sem);
42 extern int rwsem_is_locked(struct rw_semaphore *sem);
Dpercpu-rwsem.h13 struct rw_semaphore rw_sem;
Dutsname.h82 extern struct rw_semaphore uts_sem;
Dposix-clock.h121 struct rw_semaphore rwsem;
Dipc_namespace.h16 struct rw_semaphore rwsem;
Duser_namespace.h40 struct rw_semaphore persistent_keyring_register_sem;
Dnotifier.h65 struct rw_semaphore rwsem;
Drmap.h29 struct rw_semaphore rwsem; /* W: modification, R: walking the list */
Dleds.h92 struct rw_semaphore trigger_lock;
Ddmar.h80 extern struct rw_semaphore dmar_global_lock;
Dmm_types.h364 struct rw_semaphore mmap_sem;
Dkey.h139 struct rw_semaphore sem; /* change vs change sem */
Dcgroup.h278 extern struct rw_semaphore css_set_rwsem;
Dcpufreq.h106 struct rw_semaphore rwsem;
Dnfs_fs.h183 struct rw_semaphore rwsem;
Dtty.h275 struct rw_semaphore termios_rwsem;
Dfs.h431 struct rw_semaphore i_mmap_rwsem; /* protect tree, count, list */
1291 struct rw_semaphore s_umount;
Dmm.h104 extern struct rw_semaphore nommu_region_sem;
Dsched.h747 struct rw_semaphore group_rwsem;
/linux-4.1.27/kernel/locking/
Drwsem.c19 void __sched down_read(struct rw_semaphore *sem) in down_read()
32 int down_read_trylock(struct rw_semaphore *sem) in down_read_trylock()
46 void __sched down_write(struct rw_semaphore *sem) in down_write()
60 int down_write_trylock(struct rw_semaphore *sem) in down_write_trylock()
77 void up_read(struct rw_semaphore *sem) in up_read()
89 void up_write(struct rw_semaphore *sem) in up_write()
102 void downgrade_write(struct rw_semaphore *sem) in downgrade_write()
116 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested()
126 void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest) in _down_write_nest_lock()
137 void down_read_non_owner(struct rw_semaphore *sem) in down_read_non_owner()
[all …]
Drwsem-spinlock.c23 int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked()
39 void __init_rwsem(struct rw_semaphore *sem, const char *name, in __init_rwsem()
64 static inline struct rw_semaphore *
65 __rwsem_do_wake(struct rw_semaphore *sem, int wakewrite) in __rwsem_do_wake()
114 static inline struct rw_semaphore *
115 __rwsem_wake_one_writer(struct rw_semaphore *sem) in __rwsem_wake_one_writer()
128 void __sched __down_read(struct rw_semaphore *sem) in __down_read()
172 int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
194 void __sched __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
230 void __sched __down_write(struct rw_semaphore *sem) in __down_write()
[all …]
Drwsem-xadd.c73 void __init_rwsem(struct rw_semaphore *sem, const char *name, in __init_rwsem()
121 static struct rw_semaphore *
122 __rwsem_do_wake(struct rw_semaphore *sem, enum rwsem_wake_type wake_type) in __rwsem_do_wake()
214 struct rw_semaphore __sched *rwsem_down_read_failed(struct rw_semaphore *sem) in rwsem_down_read_failed()
258 static inline bool rwsem_try_write_lock(long count, struct rw_semaphore *sem) in rwsem_try_write_lock()
280 static inline bool rwsem_try_write_lock_unqueued(struct rw_semaphore *sem) in rwsem_try_write_lock_unqueued()
298 static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem) in rwsem_can_spin_on_owner()
328 bool rwsem_spin_on_owner(struct rw_semaphore *sem, struct task_struct *owner) in rwsem_spin_on_owner()
364 static bool rwsem_optimistic_spin(struct rw_semaphore *sem) in rwsem_optimistic_spin()
413 static bool rwsem_optimistic_spin(struct rw_semaphore *sem) in rwsem_optimistic_spin()
[all …]
Drwsem.h2 static inline void rwsem_set_owner(struct rw_semaphore *sem) in rwsem_set_owner()
7 static inline void rwsem_clear_owner(struct rw_semaphore *sem) in rwsem_clear_owner()
13 static inline void rwsem_set_owner(struct rw_semaphore *sem) in rwsem_set_owner()
17 static inline void rwsem_clear_owner(struct rw_semaphore *sem) in rwsem_clear_owner()
/linux-4.1.27/arch/x86/include/asm/
Drwsem.h63 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
80 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
102 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
119 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
127 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
153 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
171 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
189 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
209 static inline void rwsem_atomic_add(long delta, struct rw_semaphore *sem) in rwsem_atomic_add()
219 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/arch/sparc/include/asm/
Drwsem.h26 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
32 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
48 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
58 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
63 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
75 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
87 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
97 static inline void rwsem_atomic_add(long delta, struct rw_semaphore *sem) in rwsem_atomic_add()
105 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
117 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/arch/sh/include/asm/
Drwsem.h25 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
33 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
50 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
62 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
75 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
88 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
99 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()
107 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
117 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
125 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/include/asm-generic/
Drwsem.h34 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
40 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
56 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
66 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
71 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
83 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
95 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
105 static inline void rwsem_atomic_add(long delta, struct rw_semaphore *sem) in rwsem_atomic_add()
113 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
126 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/arch/s390/include/asm/
Drwsem.h52 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
72 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
93 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()
111 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
119 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
139 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
160 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
182 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
203 static inline void rwsem_atomic_add(long delta, struct rw_semaphore *sem) in rwsem_atomic_add()
221 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update()
Dkvm_host.h537 struct rw_semaphore maps_lock;
/linux-4.1.27/arch/xtensa/include/asm/
Drwsem.h30 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
38 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
55 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
67 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
80 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
93 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
104 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()
112 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
125 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/arch/alpha/include/asm/
Drwsem.h24 static inline void __down_read(struct rw_semaphore *sem) in __down_read()
51 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()
66 static inline void __down_write(struct rw_semaphore *sem) in __down_write()
93 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()
102 static inline void __up_read(struct rw_semaphore *sem) in __up_read()
127 static inline void __up_write(struct rw_semaphore *sem) in __up_write()
156 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()
180 static inline void rwsem_atomic_add(long val, struct rw_semaphore *sem) in rwsem_atomic_add()
199 static inline long rwsem_atomic_update(long val, struct rw_semaphore *sem) in rwsem_atomic_update()
/linux-4.1.27/arch/ia64/include/asm/
Drwsem.h41 __down_read (struct rw_semaphore *sem) in __down_read()
53 __down_write (struct rw_semaphore *sem) in __down_write()
70 __up_read (struct rw_semaphore *sem) in __up_read()
82 __up_write (struct rw_semaphore *sem) in __up_write()
99 __down_read_trylock (struct rw_semaphore *sem) in __down_read_trylock()
114 __down_write_trylock (struct rw_semaphore *sem) in __down_write_trylock()
125 __downgrade_write (struct rw_semaphore *sem) in __downgrade_write()
/linux-4.1.27/drivers/usb/gadget/function/
Dstorage_common.h211 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem,
215 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem,
218 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem,
220 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem,
Dstorage_common.c336 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_show_file()
391 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_ro()
434 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_file()
465 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_cdrom()
Df_mass_storage.c265 struct rw_semaphore filesem;
2605 struct rw_semaphore *filesem = dev_get_drvdata(dev); in file_show()
2614 struct rw_semaphore *filesem = dev_get_drvdata(dev); in ro_store()
2631 struct rw_semaphore *filesem = dev_get_drvdata(dev); in file_store()
/linux-4.1.27/fs/jffs2/
Djffs2_fs_sb.h134 struct rw_semaphore wbuf_sem; /* Protects the write buffer */
154 struct rw_semaphore xattr_sem;
/linux-4.1.27/fs/ntfs/
Dvolume.h99 struct rw_semaphore mftbmp_lock; /* Lock for serializing accesses to the
109 struct rw_semaphore lcnbmp_lock; /* Lock for serializing accesses to the
Drunlist.h56 struct rw_semaphore lock;
/linux-4.1.27/fs/ocfs2/
Dinode.h41 struct rw_semaphore ip_alloc_sem;
44 struct rw_semaphore ip_xattr_sem;
Drefcounttree.h25 struct rw_semaphore rf_sem;
Djournal.h72 struct rw_semaphore j_trans_barrier;
/linux-4.1.27/drivers/i2c/
Di2c-core.h26 extern struct rw_semaphore __i2c_board_lock;
/linux-4.1.27/fs/jfs/
Djfs_incore.h67 struct rw_semaphore rdwrlock;
76 struct rw_semaphore xattr_sem;
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_cfg.h73 struct rw_semaphore lock;
/linux-4.1.27/fs/udf/
Dudf_i.h50 struct rw_semaphore i_data_sem;
/linux-4.1.27/drivers/gpu/drm/gma500/
Dgtt.h36 struct rw_semaphore sem;
Dmmu.h22 struct rw_semaphore sem;
/linux-4.1.27/kernel/sched/
Dauto_group.h14 struct rw_semaphore lock;
/linux-4.1.27/kernel/trace/
Dtrace_output.h36 extern struct rw_semaphore trace_event_sem;
/linux-4.1.27/drivers/block/zram/
Dzram_drv.h107 struct rw_semaphore init_lock;
/linux-4.1.27/drivers/mtd/ubi/
Dubi.h204 struct rw_semaphore mutex;
568 struct rw_semaphore fm_eba_sem;
569 struct rw_semaphore fm_protect;
586 struct rw_semaphore work_sem;
/linux-4.1.27/fs/dlm/
Ddlm_internal.h596 struct rw_semaphore ls_in_recovery; /* block local requests */
597 struct rw_semaphore ls_recv_active; /* block dlm_recv */
617 struct rw_semaphore ls_root_sem; /* protect root_list */
/linux-4.1.27/drivers/leds/
Dleds.h50 extern struct rw_semaphore leds_list_lock;
Dleds-bd2802.c74 struct rw_semaphore rwsem;
/linux-4.1.27/fs/xfs/
Dmrlock.h24 struct rw_semaphore mr_lock;
Dxfs_log_priv.h283 struct rw_semaphore xc_ctx_lock ____cacheline_aligned_in_smp;
/linux-4.1.27/fs/nilfs2/
Dthe_nilfs.h110 struct rw_semaphore ns_sem;
155 struct rw_semaphore ns_segctor_sem;
Dmdt.h58 struct rw_semaphore mi_sem;
Dbmap.h117 struct rw_semaphore b_sem;
Dnilfs.h70 struct rw_semaphore xattr_sem;
/linux-4.1.27/fs/afs/
Dinternal.h208 struct rw_semaphore vl_sem; /* volume management serialisation semaphore */
280 struct rw_semaphore sem; /* access lock */
317 struct rw_semaphore server_sem; /* lock for accessing current server */
469 extern struct rw_semaphore afs_proc_cells_sem;
/linux-4.1.27/sound/core/seq/
Dseq_ports.h54 struct rw_semaphore list_mutex;
/linux-4.1.27/drivers/net/wireless/prism54/
Dislpci_dev.h85 struct rw_semaphore mib_sem;
/linux-4.1.27/fs/ncpfs/
Dncp_fs_sb.h98 struct rw_semaphore auth_rwsem;
/linux-4.1.27/fs/9p/
Dv9fs.h118 struct rw_semaphore rename_sem;
/linux-4.1.27/crypto/
Dinternal.h50 extern struct rw_semaphore crypto_alg_sem;
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd.h312 struct rw_semaphore cl_sem;
482 struct rw_semaphore op_rw_sem; /* to protect ost_pool use */
504 struct rw_semaphore lq_rw_sem;
574 struct rw_semaphore lov_notify_lock;
866 struct rw_semaphore obd_observer_link_sem;
Dlustre_log.h286 struct rw_semaphore lgh_lock;
/linux-4.1.27/fs/configfs/
Dconfigfs_internal.h88 extern struct rw_semaphore configfs_rename_sem;
/linux-4.1.27/drivers/pcmcia/
Dcs_internal.h117 extern struct rw_semaphore pcmcia_socket_list_rwsem;
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb.h65 struct rw_semaphore lock;
/linux-4.1.27/fs/f2fs/
Df2fs.h336 struct rw_semaphore i_sem; /* protect fi info */
411 struct rw_semaphore nat_tree_lock; /* protect nat_tree_lock */
585 struct rw_semaphore io_rwsem; /* blocking op for bio */
626 struct rw_semaphore cp_rwsem; /* blocking FS operations */
627 struct rw_semaphore node_write; /* locking node writes */
642 struct rw_semaphore extent_tree_lock; /* locking extent radix tree */
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tracefile.c52 struct rw_semaphore cfs_tracefile_sem;
/linux-4.1.27/drivers/md/bcache/
Dbtree.h126 struct rw_semaphore lock;
Dbcache.h330 struct rw_semaphore writeback_lock;
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_base.h388 struct rw_semaphore lock;
391 struct rw_semaphore lock;
/linux-4.1.27/drivers/firewire/
Dcore.h134 extern struct rw_semaphore fw_device_rwsem;
/linux-4.1.27/fs/gfs2/
Dincore.h396 struct rw_semaphore i_rw_mutex;
795 struct rw_semaphore sd_log_flush_lock;
/linux-4.1.27/fs/ceph/
Dmds_client.h287 struct rw_semaphore snap_rwsem;
/linux-4.1.27/include/linux/lockd/
Dlockd.h56 struct rw_semaphore h_rwsem; /* Reboot recovery lock */
/linux-4.1.27/drivers/pci/
Dpci.h135 extern struct rw_semaphore pci_bus_sem;
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dmodule.c70 extern struct rw_semaphore cfs_tracefile_sem;
252 static struct rw_semaphore ioctl_list_sem;
/linux-4.1.27/fs/fscache/
Dinternal.h41 extern struct rw_semaphore fscache_addremove_sem;
/linux-4.1.27/include/linux/ceph/
Dosd_client.h206 struct rw_semaphore map_sem;
/linux-4.1.27/drivers/staging/comedi/
Dcomedidev.h276 struct rw_semaphore attach_lock;
/linux-4.1.27/net/rds/
Dib.h27 extern struct rw_semaphore rds_ib_devices_lock;
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_internal.h212 struct rw_semaphore f_trunc_sem;
215 struct rw_semaphore f_glimpse_sem;
267 struct rw_semaphore lli_xattrs_list_rwsem;
Dfile.c3195 struct rw_semaphore ioc_sem;
/linux-4.1.27/include/sound/
Dcore.h114 struct rw_semaphore controls_rwsem; /* controls list lock */
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrutables.h463 struct rw_semaphore bs_kgts_sema; /* lock for kgts */
/linux-4.1.27/fs/fuse/
Dfuse_i.h625 struct rw_semaphore killsb;
/linux-4.1.27/fs/nfsd/
Dstate.h545 struct rw_semaphore st_rwsem;
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h211 struct rw_semaphore lo_type_guard;
/linux-4.1.27/fs/fat/
Dfat.h127 struct rw_semaphore truncate_lock; /* protect bmap against truncate */
/linux-4.1.27/drivers/misc/mei/
Dmei_dev.h561 struct rw_semaphore me_clients_rwsem;
/linux-4.1.27/include/linux/usb/
Dhcd.h700 extern struct rw_semaphore ehci_cf_port_reset_rwsem;
/linux-4.1.27/fs/ext4/
Dext4.h867 struct rw_semaphore xattr_sem;
898 struct rw_semaphore i_data_sem;
907 struct rw_semaphore i_mmap_sem;
2682 struct rw_semaphore alloc_sem;
/linux-4.1.27/fs/ext2/
Dext2.h684 struct rw_semaphore xattr_sem;
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib.h320 struct rw_semaphore vlan_rwsem;
/linux-4.1.27/net/rxrpc/
Dar-internal.h158 struct rw_semaphore defrag_sem; /* control re-enablement of IP DF bit */
/linux-4.1.27/kernel/
Dtaskstats.c68 struct rw_semaphore sem;
/linux-4.1.27/fs/btrfs/
Dctree.h1188 struct rw_semaphore groups_sem;
1298 struct rw_semaphore data_rwsem;
1527 struct rw_semaphore commit_root_sem;
1529 struct rw_semaphore cleanup_work_sem;
1531 struct rw_semaphore subvol_sem;
/linux-4.1.27/include/rdma/
Dib_verbs.h1165 struct rw_semaphore umem_rwsem;
1184 struct rw_semaphore mutex; /* protects .live */
/linux-4.1.27/kernel/events/
Duprobes.c68 struct rw_semaphore register_rwsem;
69 struct rw_semaphore consumer_rwsem;
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_xs.c106 struct rw_semaphore watch_mutex;
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.h185 struct rw_semaphore rwsem;
/linux-4.1.27/drivers/md/
Ddm-snap.c50 struct rw_semaphore lock;
313 static struct rw_semaphore _origins_lock;
Ddm-cache-metadata.c109 struct rw_semaphore root_lock;
Ddm-thin-metadata.c179 struct rw_semaphore root_lock;
Ddm-thin.c138 struct rw_semaphore lock;
/linux-4.1.27/drivers/s390/block/
Ddcssblk.c79 static struct rw_semaphore dcssblk_devices_sem;
/linux-4.1.27/fs/ext3/
Dext3.h574 struct rw_semaphore xattr_sem;
/linux-4.1.27/fs/cifs/
Dcifsglob.h1131 struct rw_semaphore lock_sem; /* protect the fields above */
/linux-4.1.27/fs/ubifs/
Dubifs.h1267 struct rw_semaphore commit_sem;
/linux-4.1.27/drivers/vfio/
Dvfio.c61 struct rw_semaphore group_lock;
/linux-4.1.27/fs/reiserfs/
Dreiserfs.h98 struct rw_semaphore i_xattr_sem;
831 reiserfs_down_read_safe(struct rw_semaphore *sem, struct super_block *s) in reiserfs_down_read_safe()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon.h1603 struct rw_semaphore mclk_lock;
2317 struct rw_semaphore exclusive_lock;
/linux-4.1.27/lib/
Dlocking-selftest.c118 struct mutex *mutex, struct rw_semaphore *rwsem)\
/linux-4.1.27/drivers/staging/android/ion/
Dion.c57 struct rw_semaphore lock;
/linux-4.1.27/Documentation/RCU/
Dchecklist.txt390 Therefore, SRCU should be used in preference to rw_semaphore
/linux-4.1.27/sound/usb/
Dmidi.c119 struct rw_semaphore disc_rwsem;
/linux-4.1.27/drivers/net/ppp/
Dppp_generic.c172 struct rw_semaphore chan_sem; /* protects `chan' during chan ioctl */
/linux-4.1.27/sound/core/
Dpcm_native.c83 static inline void down_write_nonblock(struct rw_semaphore *lock) in down_write_nonblock()
/linux-4.1.27/drivers/block/
Drbd.c368 struct rw_semaphore header_rwsem;
/linux-4.1.27/Documentation/
Dmemory-barriers.txt2276 struct rw_semaphore {