/openbmc/linux/Documentation/translations/zh_CN/locking/ |
H A D | spinlocks.rst | 134 对于动态初始化,使用spin_lock_init()或rwlock_init()是合适的:: 142 rwlock_init(&xxx_rw_lock);
|
/openbmc/linux/include/linux/ |
H A D | rwlock.h | 20 # define rwlock_init(lock) \ macro 27 # define rwlock_init(lock) \ macro
|
H A D | rwlock_rt.h | 19 #define rwlock_init(rwl) \ macro
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_aux.c | 393 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()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_mm.h | 14 #define KVM_MMU_LOCK_INIT(kvm) rwlock_init(&(kvm)->mmu_lock)
|
H A D | pfncache.c | 346 rwlock_init(&gpc->lock); in kvm_gpc_init()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | event.h | 41 rwlock_init(&event->list_lock); in nvkm_event_init()
|
/openbmc/linux/include/drm/ |
H A D | drm_vma_manager.h | 152 rwlock_init(&node->vm_lock); in drm_vma_node_reset()
|
/openbmc/linux/net/can/j1939/ |
H A D | main.c | 135 rwlock_init(&priv->lock); in j1939_priv_create() 273 rwlock_init(&priv->j1939_socks_lock); in j1939_netdev_start()
|
/openbmc/linux/net/rxrpc/ |
H A D | net_ns.c | 50 rwlock_init(&rxnet->conn_lock); in rxrpc_init_net()
|
/openbmc/linux/fs/afs/ |
H A D | vl_list.c | 21 rwlock_init(&vlserver->lock); in afs_alloc_vlserver() 54 rwlock_init(&vllist->lock); in afs_alloc_vlserver_list()
|
H A D | server_list.c | 45 rwlock_init(&slist->lock); in afs_alloc_server_list()
|
H A D | volume.c | 94 rwlock_init(&volume->servers_lock); in afs_alloc_volume() 95 rwlock_init(&volume->cb_v_break_lock); in afs_alloc_volume()
|
H A D | main.c | 113 rwlock_init(&net->sysnames_lock); in afs_net_init()
|
/openbmc/linux/drivers/input/serio/ |
H A D | hp_sdc.c | 835 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()
|
/openbmc/linux/arch/arm/xen/ |
H A D | p2m.c | 207 rwlock_init(&p2m_lock); in p2m_init()
|
/openbmc/linux/drivers/net/wireguard/ |
H A D | peer.c | 52 rwlock_init(&peer->endpoint_lock); in wg_peer_create()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_vma_manager.c | 88 rwlock_init(&mgr->vm_lock); in drm_vma_offset_manager_init()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | smt.c | 54 rwlock_init(&s->lock); in t4_init_smt()
|
H A D | clip_tbl.c | 299 rwlock_init(&ctbl->lock); in t4_init_clip_tbl()
|
/openbmc/linux/Documentation/locking/ |
H A D | spinlocks.rst | 149 For dynamic initialization, use spin_lock_init() or rwlock_init() as 158 rwlock_init(&xxx_rw_lock);
|
/openbmc/linux/drivers/leds/ |
H A D | leds-ns2.c | 208 rwlock_init(&led->rw_lock); in ns2_led_register()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ptp.c | 304 rwlock_init(&priv->ptp_lock); in stmmac_ptp_register()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_userptr.c | 589 rwlock_init(&dev_priv->mm.notifier_lock); in i915_gem_init_userptr()
|
/openbmc/linux/fs/ |
H A D | file_table.c | 168 rwlock_init(&f->f_owner.lock); in init_file()
|