Searched refs:rwlock_t (Results 1 - 115 of 115) sorted by relevance

/linux-4.1.27/include/linux/
H A Drwlock_api_smp.h18 void __lockfunc _raw_read_lock(rwlock_t *lock) __acquires(lock);
19 void __lockfunc _raw_write_lock(rwlock_t *lock) __acquires(lock);
20 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) __acquires(lock);
21 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock);
22 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock);
23 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock);
24 unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock)
26 unsigned long __lockfunc _raw_write_lock_irqsave(rwlock_t *lock)
28 int __lockfunc _raw_read_trylock(rwlock_t *lock);
29 int __lockfunc _raw_write_trylock(rwlock_t *lock);
30 void __lockfunc _raw_read_unlock(rwlock_t *lock) __releases(lock);
31 void __lockfunc _raw_write_unlock(rwlock_t *lock) __releases(lock);
32 void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) __releases(lock);
33 void __lockfunc _raw_write_unlock_bh(rwlock_t *lock) __releases(lock);
34 void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) __releases(lock);
35 void __lockfunc _raw_write_unlock_irq(rwlock_t *lock) __releases(lock);
37 _raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags)
40 _raw_write_unlock_irqrestore(rwlock_t *lock, unsigned long flags)
117 static inline int __raw_read_trylock(rwlock_t *lock) __raw_read_trylock()
128 static inline int __raw_write_trylock(rwlock_t *lock) __raw_write_trylock()
146 static inline void __raw_read_lock(rwlock_t *lock) __raw_read_lock()
153 static inline unsigned long __raw_read_lock_irqsave(rwlock_t *lock) __raw_read_lock_irqsave()
165 static inline void __raw_read_lock_irq(rwlock_t *lock) __raw_read_lock_irq()
173 static inline void __raw_read_lock_bh(rwlock_t *lock) __raw_read_lock_bh()
180 static inline unsigned long __raw_write_lock_irqsave(rwlock_t *lock) __raw_write_lock_irqsave()
192 static inline void __raw_write_lock_irq(rwlock_t *lock) __raw_write_lock_irq()
200 static inline void __raw_write_lock_bh(rwlock_t *lock) __raw_write_lock_bh()
207 static inline void __raw_write_lock(rwlock_t *lock) __raw_write_lock()
216 static inline void __raw_write_unlock(rwlock_t *lock) __raw_write_unlock()
223 static inline void __raw_read_unlock(rwlock_t *lock) __raw_read_unlock()
231 __raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) __raw_read_unlock_irqrestore()
239 static inline void __raw_read_unlock_irq(rwlock_t *lock) __raw_read_unlock_irq()
247 static inline void __raw_read_unlock_bh(rwlock_t *lock) __raw_read_unlock_bh()
254 static inline void __raw_write_unlock_irqrestore(rwlock_t *lock, __raw_write_unlock_irqrestore()
263 static inline void __raw_write_unlock_irq(rwlock_t *lock) __raw_write_unlock_irq()
271 static inline void __raw_write_unlock_bh(rwlock_t *lock) __raw_write_unlock_bh()
H A Drwlock_types.h23 } rwlock_t; typedef in typeref:struct:__anon12405
35 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
42 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
46 #define DEFINE_RWLOCK(x) rwlock_t x = __RW_LOCK_UNLOCKED(x)
H A Drwlock.h18 extern void __rwlock_init(rwlock_t *lock, const char *name,
32 extern void do_raw_read_lock(rwlock_t *lock) __acquires(lock);
34 extern int do_raw_read_trylock(rwlock_t *lock);
35 extern void do_raw_read_unlock(rwlock_t *lock) __releases(lock);
36 extern void do_raw_write_lock(rwlock_t *lock) __acquires(lock);
38 extern int do_raw_write_trylock(rwlock_t *lock);
39 extern void do_raw_write_unlock(rwlock_t *lock) __releases(lock);
H A Datalk.h135 extern rwlock_t atalk_sockets_lock;
138 extern rwlock_t atalk_routes_lock;
141 extern rwlock_t atalk_interfaces_lock;
H A Dhp_sdc.h262 rwlock_t ibf_lock;
263 rwlock_t lock; /* user/tasklet lock */
264 rwlock_t rtq_lock; /* isr/tasklet lock */
265 rwlock_t hook_lock; /* isr/user lock for handler add/del */
H A Dhil_mlc.h128 rwlock_t lock;
H A Datmdev.h220 extern rwlock_t vcc_sklist_lock;
H A Dleds.h218 rwlock_t leddev_list_lock;
H A DmISDNif.h482 rwlock_t lock;
H A Dparport.h235 rwlock_t cad_lock;
H A Djbd2.h777 rwlock_t j_state_lock;
H A Dsched.h316 extern rwlock_t tasklist_lock;
H A Dnetdevice.h2099 extern rwlock_t dev_base_lock; /* Device list lock */
H A Dfs.h799 rwlock_t lock; /* protects pid, uid, euid fields */
/linux-4.1.27/kernel/locking/
H A Dspinlock.c213 int __lockfunc _raw_read_trylock(rwlock_t *lock) _raw_read_trylock()
221 void __lockfunc _raw_read_lock(rwlock_t *lock) _raw_read_lock()
229 unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) _raw_read_lock_irqsave()
237 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) _raw_read_lock_irq()
245 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) _raw_read_lock_bh()
253 void __lockfunc _raw_read_unlock(rwlock_t *lock) _raw_read_unlock()
261 void __lockfunc _raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) _raw_read_unlock_irqrestore()
269 void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) _raw_read_unlock_irq()
277 void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) _raw_read_unlock_bh()
285 int __lockfunc _raw_write_trylock(rwlock_t *lock) _raw_write_trylock()
293 void __lockfunc _raw_write_lock(rwlock_t *lock) _raw_write_lock()
301 unsigned long __lockfunc _raw_write_lock_irqsave(rwlock_t *lock) _raw_write_lock_irqsave()
309 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) _raw_write_lock_irq()
317 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) _raw_write_lock_bh()
325 void __lockfunc _raw_write_unlock(rwlock_t *lock) _raw_write_unlock()
333 void __lockfunc _raw_write_unlock_irqrestore(rwlock_t *lock, unsigned long flags) _raw_write_unlock_irqrestore()
341 void __lockfunc _raw_write_unlock_irq(rwlock_t *lock) _raw_write_unlock_irq()
349 void __lockfunc _raw_write_unlock_bh(rwlock_t *lock) _raw_write_unlock_bh()
H A Dspinlock_debug.c34 void __rwlock_init(rwlock_t *lock, const char *name, __rwlock_init()
162 static void rwlock_bug(rwlock_t *lock, const char *msg) rwlock_bug()
176 static void __read_lock_debug(rwlock_t *lock)
201 void do_raw_read_lock(rwlock_t *lock) do_raw_read_lock()
207 int do_raw_read_trylock(rwlock_t *lock) do_raw_read_trylock()
220 void do_raw_read_unlock(rwlock_t *lock) do_raw_read_unlock()
226 static inline void debug_write_lock_before(rwlock_t *lock) debug_write_lock_before()
234 static inline void debug_write_lock_after(rwlock_t *lock) debug_write_lock_after()
240 static inline void debug_write_unlock(rwlock_t *lock) debug_write_unlock()
251 static void __write_lock_debug(rwlock_t *lock)
276 void do_raw_write_lock(rwlock_t *lock) do_raw_write_lock()
283 int do_raw_write_trylock(rwlock_t *lock) do_raw_write_trylock()
298 void do_raw_write_unlock(rwlock_t *lock) do_raw_write_unlock()
/linux-4.1.27/net/atm/
H A Dmpc.h23 rwlock_t ingress_lock;
27 rwlock_t egress_lock;
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.h26 rwlock_t lock;
H A Dl2t.c68 rwlock_t lock;
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dnamedb.h8 rwlock_t lock;
/linux-4.1.27/include/net/netns/
H A Dxfrm.h76 rwlock_t xfrm_policy_lock;
/linux-4.1.27/include/net/
H A Draw.h34 rwlock_t lock;
H A Dx25.h314 extern rwlock_t x25_list_lock;
316 extern rwlock_t x25_route_list_lock;
318 extern rwlock_t x25_forward_list_lock;
320 extern rwlock_t x25_neigh_list_lock;
H A Dif_inet6.h95 rwlock_t sflock;
188 rwlock_t lock;
H A Dipx.h126 extern rwlock_t ipx_routes_lock;
H A Dneighbour.h138 rwlock_t lock;
214 rwlock_t lock;
H A Dip6_fib.h254 rwlock_t tb6_lock;
H A Dipv6.h200 extern rwlock_t ip6_ra_lock;
H A Dip_vs.h13 #include <linux/spinlock.h> /* for struct rwlock_t */
H A Dxfrm.h528 rwlock_t lock;
H A Dsock.h405 rwlock_t sk_callback_lock;
/linux-4.1.27/net/netlink/
H A Daf_netlink.h87 extern rwlock_t nl_table_lock;
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_def.h159 rwlock_t port_list_lock; /* port list lock */
163 rwlock_t abort_lock; /* Protects against SCSI
174 rwlock_t erp_lock;
204 rwlock_t unit_list_lock; /* unit list lock */
/linux-4.1.27/fs/ocfs2/cluster/
H A Dnodemanager.h61 rwlock_t cl_nodes_lock;
/linux-4.1.27/include/sound/
H A Dseq_virmidi.h62 rwlock_t filelist_lock;
H A Dcore.h115 rwlock_t ctl_files_rwlock; /* ctl_files list lock */
/linux-4.1.27/fs/btrfs/
H A Dextent_map.h44 rwlock_t lock;
H A Dextent_io.h147 rwlock_t lock;
H A Dctree.h1555 rwlock_t tree_mod_log_lock;
/linux-4.1.27/net/mac802154/
H A Dllsec.h70 rwlock_t lock;
/linux-4.1.27/sound/core/seq/
H A Dseq_clientmgr.h60 rwlock_t ports_lock;
H A Dseq_ports.h55 rwlock_t list_lock;
/linux-4.1.27/drivers/isdn/mISDN/
H A Dlayer2.h28 rwlock_t lock;
H A Ddsp.h138 rwlock_t lock;
/linux-4.1.27/fs/udf/
H A Dudf_sb.h135 rwlock_t s_cred_lock;
/linux-4.1.27/include/net/iucv/
H A Daf_iucv.h151 rwlock_t lock;
/linux-4.1.27/arch/arm/xen/
H A Dp2m.c27 static rwlock_t p2m_lock;
/linux-4.1.27/net/rxrpc/
H A Dar-internal.h68 rwlock_t call_lock; /* lock for calls */
163 rwlock_t services_lock; /* lock for services list */
213 rwlock_t conn_lock; /* lock for active/dead connections */
260 rwlock_t lock; /* access lock */
349 rwlock_t state_lock; /* lock for state transition */
467 extern rwlock_t rxrpc_call_lock;
489 extern rwlock_t rxrpc_connection_lock;
530 extern rwlock_t rxrpc_local_lock;
/linux-4.1.27/include/drm/
H A Ddrm_vma_manager.h41 rwlock_t vm_lock;
48 rwlock_t vm_lock;
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h77 rwlock_t lock;
/linux-4.1.27/drivers/staging/lustre/lustre/fld/
H A Dfld_internal.h86 rwlock_t fci_lock;
/linux-4.1.27/include/linux/netfilter_bridge/
H A Debtables.h99 rwlock_t lock;
/linux-4.1.27/arch/ia64/kernel/
H A Dunwind_i.h157 rwlock_t lock;
/linux-4.1.27/net/nfc/
H A Dnfc.h46 rwlock_t lock;
H A Dllcp.h47 rwlock_t lock;
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_classes.h374 extern rwlock_t ehca_qp_idr_lock;
375 extern rwlock_t ehca_cq_idr_lock;
/linux-4.1.27/drivers/leds/
H A Dleds-ns2.c75 rwlock_t rw_lock; /* Lock GPIOs. */
/linux-4.1.27/drivers/net/ieee802154/
H A Dfakelb.c44 rwlock_t lock;
/linux-4.1.27/drivers/staging/unisys/visorutil/
H A Dperiodic_work.c28 rwlock_t lock;
/linux-4.1.27/include/linux/sunrpc/
H A Dcache.h77 rwlock_t hash_lock;
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.h173 rwlock_t hlist_lock; /* protect session_hlist */
/linux-4.1.27/include/net/bluetooth/
H A Dbluetooth.h238 rwlock_t lock;
H A Dhci_core.h512 extern rwlock_t hci_dev_list_lock;
/linux-4.1.27/fs/cachefiles/
H A Dinternal.h68 rwlock_t active_lock; /* lock for active_nodes */
/linux-4.1.27/net/netfilter/
H A Dnf_conntrack_proto_gre.c59 rwlock_t keymap_lock;
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h332 rwlock_t systime_lock;
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd.c746 rwlock_t *global_lock = &ksocknal_data.ksnd_global_lock; ksocknal_select_ips()
850 rwlock_t *global_lock = &ksocknal_data.ksnd_global_lock; ksocknal_create_routes()
1011 rwlock_t *global_lock = &ksocknal_data.ksnd_global_lock; ksocknal_create_conn()
1790 rwlock_t *glock = &ksocknal_data.ksnd_global_lock; ksocknal_query()
H A Dsocklnd.h148 rwlock_t ksnd_global_lock;
H A Dsocklnd_cb.c836 rwlock_t *g_lock; ksocknal_launch_packet()
/linux-4.1.27/drivers/bluetooth/
H A Dbfusb.c75 rwlock_t lock;
/linux-4.1.27/fs/ntfs/
H A Dinode.h48 rwlock_t size_lock; /* Lock serializing access to inode sizes. */
/linux-4.1.27/include/linux/netfilter/ipset/
H A Dip_set.h226 rwlock_t lock;
/linux-4.1.27/arch/arm/common/
H A Ddmabounce.c81 rwlock_t lock;
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Dxprt_rdma.h64 rwlock_t ri_qplock;
/linux-4.1.27/drivers/md/
H A Ddm-region-hash.c65 rwlock_t hash_lock;
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h406 rwlock_t clock_lock;
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_def.h751 rwlock_t hw_lock;
/linux-4.1.27/drivers/scsi/cxgbi/
H A Dlibcxgbi.h228 rwlock_t callback_lock;
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core.h826 rwlock_t rwlock;
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
H A Do2iblnd_cb.c505 rwlock_t *g_lock = &kiblnd_data.kib_global_lock; kiblnd_rx_complete()
1341 rwlock_t *g_lock = &kiblnd_data.kib_global_lock; kiblnd_launch_tx()
2180 rwlock_t *g_lock = &kiblnd_data.kib_global_lock; kiblnd_passive_connect()
3435 rwlock_t *glock = &kiblnd_data.kib_global_lock; kiblnd_failover_thread()
H A Do2iblnd.c645 rwlock_t *glock = &kiblnd_data.kib_global_lock; kiblnd_create_conn()
1058 rwlock_t *glock = &kiblnd_data.kib_global_lock; kiblnd_query()
2736 rwlock_t *g_lock = &kiblnd_data.kib_global_lock; kiblnd_shutdown()
H A Do2iblnd.h376 rwlock_t kib_global_lock;
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_plain.c52 rwlock_t pls_lock;
H A Dsec.c61 static rwlock_t policy_lock;
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h413 rwlock_t tx_lock;
/linux-4.1.27/include/linux/mlx5/
H A Ddriver.h466 rwlock_t lock;
/linux-4.1.27/fs/f2fs/
H A Df2fs.h312 rwlock_t lock; /* protect extent info rb-tree */
343 rwlock_t ext_lock; /* rwlock for single extent cache */
/linux-4.1.27/drivers/net/ppp/
H A Dpppoe.c109 rwlock_t hash_lock;
H A Dppp_generic.c177 rwlock_t upl; /* protects `ppp' */
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i.h441 rwlock_t ep_rdwr_lock;
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_hash.h83 rwlock_t rw; /**< rwlock */
/linux-4.1.27/drivers/s390/kvm/
H A Dvirtio_ccw.c130 rwlock_t lock;
/linux-4.1.27/drivers/staging/unisys/uislib/
H A Duislib.c73 static rwlock_t bus_list_lock;
/linux-4.1.27/drivers/parisc/
H A Dpdc_stable.c100 rwlock_t rw_lock; /* to protect path entry access */
/linux-4.1.27/drivers/net/wireless/hostap/
H A Dhostap_wlan.h655 rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
/linux-4.1.27/drivers/input/serio/
H A Dhp_sdc.c162 rwlock_t *lock; hp_sdc_spin_ibf()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.h431 rwlock_t resource_lock;
/linux-4.1.27/fs/afs/
H A Dinternal.h204 rwlock_t servers_lock; /* active server list lock */
/linux-4.1.27/fs/ext2/
H A Dext2.h686 rwlock_t i_meta_lock;
/linux-4.1.27/net/ipv4/
H A Dping.c58 rwlock_t lock;
/linux-4.1.27/kernel/trace/
H A Dtrace_uprobe.c44 rwlock_t rwlock;
/linux-4.1.27/lib/
H A Dlocking-selftest.c117 init_class_##class(raw_spinlock_t *lock, rwlock_t *rwlock, \
/linux-4.1.27/net/rds/
H A Drds.h503 rwlock_t rs_recv_lock;
/linux-4.1.27/drivers/scsi/
H A Dsg.c155 rwlock_t rq_list_lock; /* protect access to list in req_arr */
180 rwlock_t sfd_lock; /* protect access to sfd list */
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic.h595 rwlock_t crb_lock;
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dobd.h928 rwlock_t obd_pool_lock;
H A Dobd_class.h64 extern rwlock_t obd_dev_lock;
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic.h476 rwlock_t crb_lock;
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_worker.c63 rwlock_t global_state_lock;
H A Ddrbd_int.h1426 extern rwlock_t global_state_lock;
/linux-4.1.27/drivers/infiniband/core/
H A Dcm.c72 rwlock_t device_lock;
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_def.h3435 rwlock_t hw_lock;
/linux-4.1.27/include/net/sctp/
H A Dstructs.h108 rwlock_t lock;
/linux-4.1.27/include/rdma/
H A Dib_verbs.h1429 rwlock_t lock;
/linux-4.1.27/fs/ext4/
H A Dext4.h925 rwlock_t i_es_lock;

Completed in 3486 milliseconds