/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/ |
D | init.c | 59 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()
|
/linux-6.6.21/net/batman-adv/ |
D | main.c | 155 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() 160 spin_lock_init(&bat_priv->tt.last_changeset_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() [all …]
|
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/ |
D | init.c | 417 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() 424 spin_lock_init(&priv->wmm.ra_list_spinlock); 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() 439 spin_lock_init(&adapter->cmd_pending_q_lock); in mwifiex_init_lock_list() [all …]
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_sta_mgt.c | 15 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()
|
/linux-6.6.21/sound/pci/asihpi/ |
D | hpios.h | 119 #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))
|
/linux-6.6.21/drivers/gpu/drm/virtio/ |
D | virtgpu_kms.c | 62 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()
|
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_module.c | 119 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()
|
/linux-6.6.21/sound/isa/sb/ |
D | sb_common.c | 189 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()
|
/linux-6.6.21/drivers/staging/rtl8192e/ |
D | rtllib_module.c | 104 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()
|
/linux-6.6.21/fs/dlm/ |
D | lockspace.c | 235 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()
|
/linux-6.6.21/sound/isa/gus/ |
D | gus_main.c | 136 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()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_legacy_misc.c | 48 spin_lock_init(&dev->buf_lock); in drm_legacy_init_members() 103 spin_lock_init(&master->lock.spinlock); in drm_master_legacy_init()
|
/linux-6.6.21/drivers/target/ |
D | target_core_device.c | 333 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() 731 spin_lock_init(&dev->t10_pr.registration_lock); in target_alloc_device() 732 spin_lock_init(&dev->t10_pr.aptpl_reg_lock); in target_alloc_device() [all …]
|
/linux-6.6.21/drivers/scsi/elx/libefc/ |
D | efclib.c | 27 spin_lock_init(&efc->lock); in efcport_init() 30 spin_lock_init(&efc->pend_frames_lock); in efcport_init()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe.c | 114 spin_lock_init(&port->port_lock); in rxe_init_ports() 140 spin_lock_init(&rxe->mmap_offset_lock); in rxe_init() 141 spin_lock_init(&rxe->pending_lock); in rxe_init() 145 spin_lock_init(&rxe->mcg_lock); in rxe_init()
|
/linux-6.6.21/Documentation/translations/zh_CN/locking/ |
D | spinlocks.rst | 134 对于动态初始化,使用spin_lock_init()或rwlock_init()是合适的:: 141 spin_lock_init(&xxx_lock);
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_login.c | 286 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() 1071 spin_lock_init(&conn->response_queue_lock); in iscsit_alloc_conn() [all …]
|
/linux-6.6.21/net/sunrpc/ |
D | sunrpc_syms.c | 55 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net() 56 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net()
|
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/ |
D | core.c | 283 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()
|
/linux-6.6.21/drivers/tty/hvc/ |
D | hvc_vio.c | 344 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()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 1384 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() 1389 spin_lock_init(&rdev->pciep_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() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | init.c | 341 spin_lock_init(&rcd->exp_lock); in hfi1_create_ctxtdata() 627 spin_lock_init(&ppd->qsfp_info.qsfp_lock); in hfi1_init_pportdata() 635 spin_lock_init(&ppd->cca_timer_lock); in hfi1_init_pportdata() 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() 1253 spin_lock_init(&dd->hfi1_diag_trans_lock); in hfi1_alloc_devdata() [all …]
|
/linux-6.6.21/net/rxrpc/ |
D | net_ns.c | 44 spin_lock_init(&rxnet->call_lock); in rxrpc_init_net() 62 spin_lock_init(&rxnet->peer_hash_lock); in rxrpc_init_net()
|
/linux-6.6.21/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 40 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()
|
/linux-6.6.21/drivers/s390/scsi/ |
D | zfcp_diag.c | 48 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup() 57 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
|