Home
last modified time | relevance | path

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

1234

/linux/Documentation/translations/zh_CN/locking/
H A Dspinlocks.rst134 对于动态初始化,使用spin_lock_init()或rwlock_init()是合适的::
142 rwlock_init(&xxx_rw_lock);
/linux/include/linux/
H A Drwlock.h20 # define rwlock_init(lock) \ macro
27 # define rwlock_init(lock) \ macro
/linux/fs/dlm/
H A Dlockspace.c451 rwlock_init(&ls->ls_rsbtbl_lock); in new_lockspace()
458 rwlock_init(&ls->ls_lkbxa_lock); in new_lockspace()
497 rwlock_init(&ls->ls_recv_active); in new_lockspace()
499 rwlock_init(&ls->ls_requestqueue_lock); in new_lockspace()
525 rwlock_init(&ls->ls_masters_lock); in new_lockspace()
527 rwlock_init(&ls->ls_dir_dump_lock); in new_lockspace()
/linux/drivers/s390/scsi/
H A 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/virt/kvm/
H A Dkvm_mm.h14 #define KVM_MMU_LOCK_INIT(kvm) rwlock_init(&(kvm)->mmu_lock)
H A Dpfncache.c387 rwlock_init(&gpc->lock); in kvm_gpc_init()
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Devent.h41 rwlock_init(&event->list_lock); in nvkm_event_init()
/linux/include/drm/
H A Ddrm_vma_manager.h152 rwlock_init(&node->vm_lock); in drm_vma_node_reset()
/linux/net/can/j1939/
H A Dmain.c135 rwlock_init(&priv->lock); in j1939_priv_create()
273 rwlock_init(&priv->j1939_socks_lock); in j1939_netdev_start()
/linux/fs/afs/
H A Dvl_list.c22 rwlock_init(&vlserver->lock); in afs_alloc_vlserver()
58 rwlock_init(&vllist->lock); in afs_alloc_vlserver_list()
H A Dvolume.c99 rwlock_init(&volume->servers_lock); in afs_alloc_volume()
102 rwlock_init(&volume->cb_v_break_lock); in afs_alloc_volume()
H A Dmain.c110 rwlock_init(&net->sysnames_lock); in afs_net_init()
H A Dserver_list.c68 rwlock_init(&slist->lock); in afs_alloc_server_list()
/linux/drivers/input/serio/
H A 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/net/rxrpc/
H A Dnet_ns.c51 rwlock_init(&rxnet->conn_lock); in rxrpc_init_net()
/linux/drivers/net/wireguard/
H A Dpeer.c52 rwlock_init(&peer->endpoint_lock); in wg_peer_create()
/linux/drivers/gpu/drm/
H A Ddrm_vma_manager.c88 rwlock_init(&mgr->vm_lock); in drm_vma_offset_manager_init()
/linux/arch/arm/xen/
H A Dp2m.c207 rwlock_init(&p2m_lock); in p2m_init()
/linux/Documentation/locking/
H A Dspinlocks.rst149 For dynamic initialization, use spin_lock_init() or rwlock_init() as
158 rwlock_init(&xxx_rw_lock);
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c54 rwlock_init(&s->lock); in t4_init_smt()
/linux/drivers/leds/
H A Dleds-ns2.c208 rwlock_init(&led->rw_lock); in ns2_led_register()
/linux/net/smc/
H A Dsmc_loopback.c361 rwlock_init(&ldev->dmb_ht_lock); in smc_lo_dev_init()
/linux/net/nfc/
H A Dllcp_core.c1647 rwlock_init(&local->sockets.lock); in nfc_llcp_register_device()
1648 rwlock_init(&local->connecting_sockets.lock); in nfc_llcp_register_device()
1649 rwlock_init(&local->raw_sockets.lock); in nfc_llcp_register_device()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c455 rwlock_init(&d->lock); in t3_init_l2t()
/linux/sound/core/seq/
H A Dseq_virmidi.c511 rwlock_init(&rdev->filelist_lock); in snd_virmidi_new()

1234