Home
last modified time | relevance | path

Searched refs:rwlock_init (Results 1 – 25 of 115) sorted by relevance

12345

/linux-6.6.21/Documentation/translations/zh_CN/locking/
Dspinlocks.rst134 对于动态初始化,使用spin_lock_init()或rwlock_init()是合适的::
142 rwlock_init(&xxx_rw_lock);
/linux-6.6.21/include/linux/
Drwlock.h20 # define rwlock_init(lock) \ macro
27 # define rwlock_init(lock) \ macro
Drwlock_rt.h19 #define rwlock_init(rwl) \ macro
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_aux.c393 rwlock_init(&adapter->port_list_lock); in zfcp_adapter_enqueue()
406 rwlock_init(&adapter->erp_lock); in zfcp_adapter_enqueue()
407 rwlock_init(&adapter->abort_lock); in zfcp_adapter_enqueue()
528 rwlock_init(&port->unit_list_lock); in zfcp_port_enqueue()
/linux-6.6.21/virt/kvm/
Dkvm_mm.h14 #define KVM_MMU_LOCK_INIT(kvm) rwlock_init(&(kvm)->mmu_lock)
Dpfncache.c346 rwlock_init(&gpc->lock); in kvm_gpc_init()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/
Devent.h41 rwlock_init(&event->list_lock); in nvkm_event_init()
/linux-6.6.21/include/drm/
Ddrm_vma_manager.h152 rwlock_init(&node->vm_lock); in drm_vma_node_reset()
/linux-6.6.21/net/rxrpc/
Dnet_ns.c50 rwlock_init(&rxnet->conn_lock); in rxrpc_init_net()
/linux-6.6.21/fs/afs/
Dvl_list.c21 rwlock_init(&vlserver->lock); in afs_alloc_vlserver()
54 rwlock_init(&vllist->lock); in afs_alloc_vlserver_list()
Dserver_list.c45 rwlock_init(&slist->lock); in afs_alloc_server_list()
Dvolume.c94 rwlock_init(&volume->servers_lock); in afs_alloc_volume()
95 rwlock_init(&volume->cb_v_break_lock); in afs_alloc_volume()
Dmain.c113 rwlock_init(&net->sysnames_lock); in afs_net_init()
/linux-6.6.21/net/can/j1939/
Dmain.c139 rwlock_init(&priv->lock); in j1939_priv_create()
277 rwlock_init(&priv->j1939_socks_lock); in j1939_netdev_start()
/linux-6.6.21/drivers/input/serio/
Dhp_sdc.c835 rwlock_init(&hp_sdc.lock); in hp_sdc_init()
836 rwlock_init(&hp_sdc.ibf_lock); in hp_sdc_init()
837 rwlock_init(&hp_sdc.rtq_lock); in hp_sdc_init()
838 rwlock_init(&hp_sdc.hook_lock); in hp_sdc_init()
/linux-6.6.21/drivers/net/wireguard/
Dpeer.c52 rwlock_init(&peer->endpoint_lock); in wg_peer_create()
/linux-6.6.21/arch/arm/xen/
Dp2m.c207 rwlock_init(&p2m_lock); in p2m_init()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vma_manager.c88 rwlock_init(&mgr->vm_lock); in drm_vma_offset_manager_init()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.c54 rwlock_init(&s->lock); in t4_init_smt()
Dclip_tbl.c299 rwlock_init(&ctbl->lock); in t4_init_clip_tbl()
/linux-6.6.21/Documentation/locking/
Dspinlocks.rst149 For dynamic initialization, use spin_lock_init() or rwlock_init() as
158 rwlock_init(&xxx_rw_lock);
/linux-6.6.21/drivers/leds/
Dleds-ns2.c208 rwlock_init(&led->rw_lock); in ns2_led_register()
/linux-6.6.21/fs/smb/server/
Dvfs_cache.c168 rwlock_init(&ci->m_lock); in ksmbd_inode_init()
697 rwlock_init(&ft->lock); in ksmbd_init_file_table()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c304 rwlock_init(&priv->ptp_lock); in stmmac_ptp_register()
/linux-6.6.21/fs/smb/server/mgmt/
Duser_session.c358 rwlock_init(&sess->tree_conns_lock); in __session_create()

12345