Home
last modified time | relevance | path

Searched refs:mutex_init (Results 1 – 25 of 2556) sorted by relevance

12345678910>>...103

/Linux-v6.1/drivers/gpu/drm/qxl/
Dqxl_kms.c114 mutex_init(&qdev->gem.mutex); in qxl_device_init()
115 mutex_init(&qdev->update_area_mutex); in qxl_device_init()
116 mutex_init(&qdev->release_mutex); in qxl_device_init()
117 mutex_init(&qdev->surf_evict_mutex); in qxl_device_init()
236 mutex_init(&qdev->async_io_mutex); in qxl_device_init()
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.c29 mutex_init(&ctx->mutex); in mock_context()
48 mutex_init(&ctx->engines_mutex); in mock_context()
55 mutex_init(&ctx->lut_mutex); in mock_context()
/Linux-v6.1/arch/powerpc/platforms/cell/spufs/
Dcontext.c38 mutex_init(&ctx->mapping_lock); in alloc_spu_context()
40 mutex_init(&ctx->state_mutex); in alloc_spu_context()
41 mutex_init(&ctx->run_mutex); in alloc_spu_context()
Dgang.c24 mutex_init(&gang->mutex); in alloc_spu_gang()
25 mutex_init(&gang->aff_mutex); in alloc_spu_gang()
/Linux-v6.1/fs/afs/
Dmain.c78 mutex_init(&net->socket_mutex); in afs_net_init()
85 mutex_init(&net->cells_alias_lock); in afs_net_init()
86 mutex_init(&net->proc_cells_lock); in afs_net_init()
/Linux-v6.1/drivers/misc/ocxl/
Dcontext.c31 mutex_init(&ctx->status_mutex); in ocxl_context_alloc()
33 mutex_init(&ctx->mapping_lock); in ocxl_context_alloc()
35 mutex_init(&ctx->xsl_error_lock); in ocxl_context_alloc()
36 mutex_init(&ctx->irq_lock); in ocxl_context_alloc()
/Linux-v6.1/drivers/w1/
Dw1_int.c61 mutex_init(&dev->mutex); in w1_alloc_dev()
62 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
63 mutex_init(&dev->list_mutex); in w1_alloc_dev()
/Linux-v6.1/drivers/net/wireless/rsi/
Drsi_91x_main.c326 mutex_init(&common->mutex); in rsi_91x_init()
327 mutex_init(&common->tx_lock); in rsi_91x_init()
328 mutex_init(&common->rx_lock); in rsi_91x_init()
329 mutex_init(&common->tx_bus_mutex); in rsi_91x_init()
/Linux-v6.1/sound/aoa/core/
Dgpio-pmf.c90 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init()
91 mutex_init(&rt->line_in_notify.mutex); in pmf_gpio_init()
92 mutex_init(&rt->line_out_notify.mutex); in pmf_gpio_init()
Dgpio-feature.c278 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init()
279 mutex_init(&rt->line_in_notify.mutex); in ftr_gpio_init()
280 mutex_init(&rt->line_out_notify.mutex); in ftr_gpio_init()
/Linux-v6.1/drivers/s390/crypto/
Dvfio_ap_drv.c104 mutex_init(&matrix_dev->mdevs_lock); in vfio_ap_matrix_dev_create()
106 mutex_init(&matrix_dev->guests_lock); in vfio_ap_matrix_dev_create()
/Linux-v6.1/include/linux/
Dmutex.h101 #define mutex_init(mutex) \ macro
165 #define mutex_init(mutex) \ macro
/Linux-v6.1/drivers/bcma/
Ddriver_gmac_cmn.c13 mutex_init(&gc->phy_mutex); in bcma_core_gmac_cmn_init()
/Linux-v6.1/fs/dlm/
Dlockspace.c234 mutex_init(&ls_lock); in dlm_lockspace_init()
541 mutex_init(&ls->ls_waiters_mutex); in new_lockspace()
543 mutex_init(&ls->ls_orphans_mutex); in new_lockspace()
546 mutex_init(&ls->ls_timeout_mutex); in new_lockspace()
570 mutex_init(&ls->ls_cb_mutex); in new_lockspace()
574 mutex_init(&ls->ls_recoverd_active); in new_lockspace()
586 mutex_init(&ls->ls_requestqueue_mutex); in new_lockspace()
/Linux-v6.1/drivers/net/wireless/ath/ath9k/
Dwmi.c104 mutex_init(&wmi->op_mutex); in ath9k_init_wmi()
105 mutex_init(&wmi->multi_write_mutex); in ath9k_init_wmi()
106 mutex_init(&wmi->multi_rmw_mutex); in ath9k_init_wmi()
/Linux-v6.1/drivers/video/fbdev/mmp/
Dcore.c164 mutex_init(&path->access_ok); in mmp_register_path()
198 mutex_init(&path->overlays[i].access_ok); in mmp_register_path()
/Linux-v6.1/scripts/coccinelle/misc/
Dcond_no_effect.cocci34 // mutex_init(&of->mutex);
36 // mutex_init(&of->mutex);
/Linux-v6.1/fs/jffs2/
Dsuper.c60 mutex_init(&f->sem); in jffs2_i_init_once()
274 mutex_init(&c->alloc_sem); in jffs2_fill_super()
275 mutex_init(&c->erase_free_sem); in jffs2_fill_super()
/Linux-v6.1/sound/soc/sof/
Dcore.c398 mutex_init(&sdev->power_state_access); in snd_sof_device_probe()
399 mutex_init(&sdev->ipc_client_mutex); in snd_sof_device_probe()
400 mutex_init(&sdev->client_event_handler_mutex); in snd_sof_device_probe()
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_drv.c174 mutex_init(&ctx->lock); in fops_vcodec_open()
333 mutex_init(&dev->dec_mutex[i]); in mtk_vcodec_probe()
334 mutex_init(&dev->dev_mutex); in mtk_vcodec_probe()
398 mutex_init(&dev->dec_racing_info_mutex); in mtk_vcodec_probe()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dfs.h21 mutex_init(&dev->flow_db->lock); in mlx5_ib_fs_init()
/Linux-v6.1/drivers/gpu/drm/i915/gt/selftests/
Dmock_timeline.c16 mutex_init(&timeline->mutex); in mock_timeline_init()
/Linux-v6.1/drivers/media/pci/ddbridge/
Dddbridge-mci.c144 mutex_init(&base->mci_lock); in ddb_mci_attach()
145 mutex_init(&base->tuner_lock); in ddb_mci_attach()
/Linux-v6.1/drivers/misc/habanalabs/common/
Dhabanalabs_drv.c150 mutex_init(&hpriv->notifier_event.lock); in hl_device_open()
151 mutex_init(&hpriv->restore_phase_mutex); in hl_device_open()
152 mutex_init(&hpriv->ctx_lock); in hl_device_open()
266 mutex_init(&hpriv->notifier_event.lock); in hl_device_open_ctrl()
/Linux-v6.1/drivers/hwmon/peci/
Dcputemp.c436 mutex_init(&priv->temp.target.state.lock); in sensor_init()
437 mutex_init(&priv->temp.die.state.lock); in sensor_init()
438 mutex_init(&priv->temp.dts.state.lock); in sensor_init()
441 mutex_init(&priv->temp.core[i].state.lock); in sensor_init()

12345678910>>...103