Home
last modified time | relevance | path

Searched refs:spin_lock_init (Results 1 – 25 of 2494) sorted by relevance

12345678910>>...100

/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dinit.c59 spin_lock_init(&dev->rd_msg_spinlock); in ishtp_device_init()
62 spin_lock_init(&dev->read_list_spinlock); in ishtp_device_init()
63 spin_lock_init(&dev->device_lock); in ishtp_device_init()
64 spin_lock_init(&dev->device_list_lock); in ishtp_device_init()
65 spin_lock_init(&dev->cl_list_lock); in ishtp_device_init()
66 spin_lock_init(&dev->fw_clients_lock); in ishtp_device_init()
/openbmc/linux/net/batman-adv/
H A Dmain.c155 spin_lock_init(&bat_priv->forw_bat_list_lock); in batadv_mesh_init()
156 spin_lock_init(&bat_priv->forw_bcast_list_lock); in batadv_mesh_init()
157 spin_lock_init(&bat_priv->tt.changes_list_lock); in batadv_mesh_init()
158 spin_lock_init(&bat_priv->tt.req_list_lock); in batadv_mesh_init()
159 spin_lock_init(&bat_priv->tt.roam_list_lock); in batadv_mesh_init()
161 spin_lock_init(&bat_priv->tt.commit_lock); in batadv_mesh_init()
162 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()
164 spin_lock_init(&bat_priv->mcast.mla_lock); in batadv_mesh_init()
165 spin_lock_init(&bat_priv->mcast.want_lists_lock); in batadv_mesh_init()
169 spin_lock_init(&bat_priv->softif_vlan_list_lock); in batadv_mesh_init()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dinit.c417 spin_lock_init(&adapter->int_lock); in mwifiex_init_lock_list()
418 spin_lock_init(&adapter->main_proc_lock); in mwifiex_init_lock_list()
419 spin_lock_init(&adapter->mwifiex_cmd_lock); in mwifiex_init_lock_list()
420 spin_lock_init(&adapter->queue_lock); in mwifiex_init_lock_list()
425 spin_lock_init(&priv->curr_bcn_buf_lock); in mwifiex_init_lock_list()
426 spin_lock_init(&priv->sta_list_spinlock); in mwifiex_init_lock_list()
427 spin_lock_init(&priv->auto_tdls_lock); in mwifiex_init_lock_list()
438 spin_lock_init(&adapter->cmd_free_q_lock); in mwifiex_init_lock_list()
441 spin_lock_init(&adapter->rx_proc_lock); in mwifiex_init_lock_list()
465 spin_lock_init(&priv->rx_reorder_tbl_lock); in mwifiex_init_lock_list()
[all …]
/openbmc/linux/sound/pci/asihpi/
H A Dhpios.h119 #define hpios_msgxlock_init(obj) spin_lock_init(&(obj)->lock)
123 #define hpios_dsplock_init(obj) spin_lock_init(&(obj)->dsp_lock.lock)
132 #define hpios_alistlock_init(obj) spin_lock_init(&((obj)->list_lock.lock))
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c15 spin_lock_init(&psta->lock); in _rtw_init_stainfo()
23 spin_lock_init(&psta->sleep_q.lock); in _rtw_init_stainfo()
67 spin_lock_init(&pstapriv->free_sta_queue.lock); in _rtw_init_sta_priv()
69 spin_lock_init(&pstapriv->sta_hash_lock); in _rtw_init_sta_priv()
74 spin_lock_init(&pstapriv->sleep_q.lock); in _rtw_init_sta_priv()
76 spin_lock_init(&pstapriv->wakeup_q.lock); in _rtw_init_sta_priv()
95 spin_lock_init(&pstapriv->asoc_list_lock); in _rtw_init_sta_priv()
96 spin_lock_init(&pstapriv->auth_list_lock); in _rtw_init_sta_priv()
250 spin_lock_init(&preorder_ctrl->pending_recvframe_queue.lock); in rtw_alloc_stainfo()
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_kms.c62 spin_lock_init(&vgvq->qlock); in virtio_gpu_init_vq()
141 spin_lock_init(&vgdev->display_info_lock); in virtio_gpu_init()
142 spin_lock_init(&vgdev->resource_export_lock); in virtio_gpu_init()
143 spin_lock_init(&vgdev->host_visible_lock); in virtio_gpu_init()
151 spin_lock_init(&vgdev->fence_drv.lock); in virtio_gpu_init()
160 spin_lock_init(&vgdev->obj_free_lock); in virtio_gpu_init()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_module.c119 spin_lock_init(&ieee->lock); in alloc_ieee80211()
120 spin_lock_init(&ieee->wpax_suitlist_lock); in alloc_ieee80211()
121 spin_lock_init(&ieee->bw_spinlock); in alloc_ieee80211()
122 spin_lock_init(&ieee->reorder_spinlock); in alloc_ieee80211()
/openbmc/linux/sound/isa/sb/
H A Dsb_common.c189 spin_lock_init(&chip->reg_lock); in snd_sbdsp_create()
190 spin_lock_init(&chip->open_lock); in snd_sbdsp_create()
191 spin_lock_init(&chip->midi_input_lock); in snd_sbdsp_create()
192 spin_lock_init(&chip->mixer_lock); in snd_sbdsp_create()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_module.c104 spin_lock_init(&ieee->lock); in alloc_rtllib()
105 spin_lock_init(&ieee->wpax_suitlist_lock); in alloc_rtllib()
106 spin_lock_init(&ieee->reorder_spinlock); in alloc_rtllib()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_legacy_misc.c48 spin_lock_init(&dev->buf_lock); in drm_legacy_init_members()
103 spin_lock_init(&master->lock.spinlock); in drm_master_legacy_init()
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defclib.c27 spin_lock_init(&efc->lock); in efcport_init()
30 spin_lock_init(&efc->pend_frames_lock); in efcport_init()
/openbmc/linux/fs/dlm/
H A Dlockspace.c235 spin_lock_init(&lslist_lock); in dlm_lockspace_init()
504 spin_lock_init(&ls->ls_rsbtbl[i].lock); in new_lockspace()
515 spin_lock_init(&ls->ls_lkbidr_spin); in new_lockspace()
523 spin_lock_init(&ls->ls_new_rsb_spin); in new_lockspace()
543 spin_lock_init(&ls->ls_cb_lock); in new_lockspace()
548 spin_lock_init(&ls->ls_recover_lock); in new_lockspace()
549 spin_lock_init(&ls->ls_rcom_spin); in new_lockspace()
560 spin_lock_init(&ls->ls_clear_proc_locks); in new_lockspace()
577 spin_lock_init(&ls->ls_recover_list_lock); in new_lockspace()
579 spin_lock_init(&ls->ls_recover_idr_lock); in new_lockspace()
/openbmc/linux/sound/isa/gus/
H A Dgus_main.c136 spin_lock_init(&gus->reg_lock); in snd_gus_create()
137 spin_lock_init(&gus->voice_alloc); in snd_gus_create()
138 spin_lock_init(&gus->active_voice_lock); in snd_gus_create()
139 spin_lock_init(&gus->event_lock); in snd_gus_create()
140 spin_lock_init(&gus->dma_lock); in snd_gus_create()
141 spin_lock_init(&gus->pcm_volume_level_lock); in snd_gus_create()
142 spin_lock_init(&gus->uart_cmd_lock); in snd_gus_create()
/openbmc/linux/Documentation/translations/zh_CN/locking/
H A Dspinlocks.rst134 对于动态初始化,使用spin_lock_init()或rwlock_init()是合适的::
141 spin_lock_init(&xxx_lock);
/openbmc/linux/drivers/target/
H A Dtarget_core_device.c333 spin_lock_init(&new->ua_lock); in core_enable_device_list_for_node()
705 spin_lock_init(&q->lock); in target_alloc_device()
721 spin_lock_init(&dev->delayed_cmd_lock); in target_alloc_device()
722 spin_lock_init(&dev->dev_reservation_lock); in target_alloc_device()
723 spin_lock_init(&dev->se_port_lock); in target_alloc_device()
724 spin_lock_init(&dev->se_tmr_lock); in target_alloc_device()
725 spin_lock_init(&dev->qf_cmd_lock); in target_alloc_device()
728 spin_lock_init(&dev->t10_wwn.t10_vpd_lock); in target_alloc_device()
732 spin_lock_init(&dev->t10_pr.aptpl_reg_lock); in target_alloc_device()
734 spin_lock_init(&dev->t10_alua.tg_pt_gps_lock); in target_alloc_device()
[all …]
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe.c116 spin_lock_init(&port->port_lock); in rxe_init_ports()
142 spin_lock_init(&rxe->mmap_offset_lock); in rxe_init()
143 spin_lock_init(&rxe->pending_lock); in rxe_init()
147 spin_lock_init(&rxe->mcg_lock); in rxe_init()
/openbmc/linux/net/sunrpc/
H A Dsunrpc_syms.c55 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net()
56 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_login.c286 spin_lock_init(&sess->conn_lock); in iscsi_login_zero_tsih_s1()
287 spin_lock_init(&sess->cr_a_lock); in iscsi_login_zero_tsih_s1()
288 spin_lock_init(&sess->cr_i_lock); in iscsi_login_zero_tsih_s1()
289 spin_lock_init(&sess->session_usage_lock); in iscsi_login_zero_tsih_s1()
290 spin_lock_init(&sess->ttt_lock); in iscsi_login_zero_tsih_s1()
1067 spin_lock_init(&conn->cmd_lock); in iscsit_alloc_conn()
1068 spin_lock_init(&conn->conn_usage_lock); in iscsit_alloc_conn()
1069 spin_lock_init(&conn->immed_queue_lock); in iscsit_alloc_conn()
1070 spin_lock_init(&conn->nopin_timer_lock); in iscsit_alloc_conn()
1072 spin_lock_init(&conn->state_lock); in iscsit_alloc_conn()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dcore.c283 spin_lock_init(&ar->lock); in ath6kl_core_create()
284 spin_lock_init(&ar->mcastpsq_lock); in ath6kl_core_create()
285 spin_lock_init(&ar->list_lock); in ath6kl_core_create()
308 spin_lock_init(&ar->sta_list[ctr].psq_lock); in ath6kl_core_create()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_vio.c344 spin_lock_init(&pv->buf_lock); in hvc_vio_probe()
398 spin_lock_init(&hvterm_priv0.buf_lock); in hvc_vio_init_early()
448 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar()
465 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar_hvsi()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.c1384 spin_lock_init(&rdev->mmio_idx_lock); in radeon_device_init()
1385 spin_lock_init(&rdev->smc_idx_lock); in radeon_device_init()
1386 spin_lock_init(&rdev->pll_idx_lock); in radeon_device_init()
1387 spin_lock_init(&rdev->mc_idx_lock); in radeon_device_init()
1388 spin_lock_init(&rdev->pcie_idx_lock); in radeon_device_init()
1390 spin_lock_init(&rdev->pif_idx_lock); in radeon_device_init()
1391 spin_lock_init(&rdev->cg_idx_lock); in radeon_device_init()
1392 spin_lock_init(&rdev->uvd_idx_lock); in radeon_device_init()
1393 spin_lock_init(&rdev->rcu_idx_lock); in radeon_device_init()
1394 spin_lock_init(&rdev->didt_idx_lock); in radeon_device_init()
[all …]
/openbmc/linux/net/rxrpc/
H A Dnet_ns.c44 spin_lock_init(&rxnet->call_lock); in rxrpc_init_net()
62 spin_lock_init(&rxnet->peer_hash_lock); in rxrpc_init_net()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c40 spin_lock_init(&cmdq->cmd_qlock); in nitrox_cmdq_init()
41 spin_lock_init(&cmdq->resp_qlock); in nitrox_cmdq_init()
42 spin_lock_init(&cmdq->backlog_qlock); in nitrox_cmdq_init()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dinit.c341 spin_lock_init(&rcd->exp_lock); in hfi1_create_ctxtdata()
648 spin_lock_init(&ppd->cc_state_lock); in hfi1_init_pportdata()
649 spin_lock_init(&ppd->cc_log_lock); in hfi1_init_pportdata()
1249 spin_lock_init(&dd->sc_lock); in hfi1_alloc_devdata()
1250 spin_lock_init(&dd->sendctrl_lock); in hfi1_alloc_devdata()
1251 spin_lock_init(&dd->rcvctrl_lock); in hfi1_alloc_devdata()
1252 spin_lock_init(&dd->uctxt_lock); in hfi1_alloc_devdata()
1254 spin_lock_init(&dd->sc_init_lock); in hfi1_alloc_devdata()
1257 spin_lock_init(&dd->sde_map_lock); in hfi1_alloc_devdata()
1258 spin_lock_init(&dd->pio_map_lock); in hfi1_alloc_devdata()
[all …]
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_diag.c48 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
57 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()

12345678910>>...100