Home
last modified time | relevance | path

Searched refs:ctx_lock (Results 1 – 24 of 24) sorted by relevance

/linux-5.19.10/fs/ksmbd/
Dcrypto_ctx.c17 spinlock_t ctx_lock; member
116 spin_lock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
122 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
127 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
134 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
138 spin_lock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
140 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
155 spin_lock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
158 spin_unlock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
164 spin_unlock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
[all …]
/linux-5.19.10/drivers/ntb/
Dcore.c121 spin_lock_init(&ntb->ctx_lock); in ntb_register_device()
144 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
149 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
159 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
164 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
172 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_link_event()
177 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_link_event()
185 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_db_event()
190 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_db_event()
198 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_msg_event()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Dintf.c64 spin_lock_irq(&priv->ctx_lock); in mlx4_add_device()
66 spin_unlock_irq(&priv->ctx_lock); in mlx4_add_device()
80 spin_lock_irq(&priv->ctx_lock); in mlx4_remove_device()
82 spin_unlock_irq(&priv->ctx_lock); in mlx4_remove_device()
158 spin_lock_irqsave(&priv->ctx_lock, flags); in mlx4_do_bond()
165 spin_unlock_irqrestore(&priv->ctx_lock, flags); in mlx4_do_bond()
171 spin_lock_irqsave(&priv->ctx_lock, flags); in mlx4_do_bond()
173 spin_unlock_irqrestore(&priv->ctx_lock, flags); in mlx4_do_bond()
189 spin_lock_irqsave(&priv->ctx_lock, flags); in mlx4_dispatch_event()
195 spin_unlock_irqrestore(&priv->ctx_lock, flags); in mlx4_dispatch_event()
[all …]
Dmlx4.h880 spinlock_t ctx_lock; member
Dmain.c3347 spin_lock_init(&priv->ctx_lock); in mlx4_load_one()
/linux-5.19.10/drivers/crypto/ux500/cryp/
Dcryp_core.c438 spin_lock(&local_device_data->ctx_lock); in cryp_get_device_data()
445 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()
448 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()
679 spin_lock(&device_data->ctx_lock); in cryp_disable_power()
686 spin_unlock(&device_data->ctx_lock); in cryp_disable_power()
732 spin_lock(&device_data->ctx_lock); in cryp_enable_power()
738 spin_unlock(&device_data->ctx_lock); in cryp_enable_power()
865 spin_lock(&device_data->ctx_lock); in ablk_dma_crypt()
868 spin_unlock(&device_data->ctx_lock); in ablk_dma_crypt()
929 spin_lock(&device_data->ctx_lock); in ablk_crypt()
[all …]
Dcryp.h246 spinlock_t ctx_lock; member
/linux-5.19.10/drivers/misc/habanalabs/common/
Dcontext.c146 mutex_lock(&mgr->ctx_lock); in hl_ctx_create()
148 mutex_unlock(&mgr->ctx_lock); in hl_ctx_create()
173 mutex_lock(&mgr->ctx_lock); in hl_ctx_create()
175 mutex_unlock(&mgr->ctx_lock); in hl_ctx_create()
386 mutex_init(&mgr->ctx_lock); in hl_ctx_mgr_init()
411 mutex_destroy(&mgr->ctx_lock); in hl_ctx_mgr_fini()
Dhabanalabs.h1608 struct mutex ctx_lock; member
/linux-5.19.10/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c55 static DEFINE_MUTEX(ctx_lock);
259 mutex_lock(&ctx_lock); in omap_vrfb_release_ctx()
274 mutex_unlock(&ctx_lock); in omap_vrfb_release_ctx()
287 mutex_lock(&ctx_lock); in omap_vrfb_request_ctx()
325 mutex_unlock(&ctx_lock); in omap_vrfb_request_ctx()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c1263 spin_lock_irqsave(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1265 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1276 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1307 spin_lock_irqsave(&fdir->ctx_lock, flags); in ice_vc_fdir_irq_handler()
1309 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vc_fdir_irq_handler()
1321 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vc_fdir_irq_handler()
1602 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1604 spin_unlock_irqrestore(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1607 spin_unlock_irqrestore(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1628 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
[all …]
Dice_virtchnl_fdir.h37 spinlock_t ctx_lock; /* protects FDIR context info */ member
/linux-5.19.10/drivers/crypto/ux500/hash/
Dhash_core.c96 spin_lock(&device_data->ctx_lock); in release_hash_device()
99 spin_unlock(&device_data->ctx_lock); in release_hash_device()
385 spin_lock(&local_device_data->ctx_lock); in hash_get_device_data()
392 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()
395 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()
1681 spin_lock_init(&device_data->ctx_lock); in ux500_hash_probe()
1773 spin_lock(&device_data->ctx_lock); in ux500_hash_remove()
1777 spin_unlock(&device_data->ctx_lock); in ux500_hash_remove()
1783 spin_unlock(&device_data->ctx_lock); in ux500_hash_remove()
1819 spin_lock(&device_data->ctx_lock); in ux500_hash_shutdown()
[all …]
Dhash_alg.h369 spinlock_t ctx_lock; member
/linux-5.19.10/fs/
Daio.c148 spinlock_t ctx_lock; member
597 spin_lock_irqsave(&ctx->ctx_lock, flags); in kiocb_set_cancel_fn()
600 spin_unlock_irqrestore(&ctx->ctx_lock, flags); in kiocb_set_cancel_fn()
645 spin_lock_irq(&ctx->ctx_lock); in free_ioctx_users()
654 spin_unlock_irq(&ctx->ctx_lock); in free_ioctx_users()
766 spin_lock_init(&ctx->ctx_lock); in ioctx_alloc()
1442 spin_lock_irqsave(&ctx->ctx_lock, flags); in aio_remove_iocb()
1444 spin_unlock_irqrestore(&ctx->ctx_lock, flags); in aio_remove_iocb()
1711 spin_lock_irq(&ctx->ctx_lock); in aio_poll_complete_work()
1725 spin_unlock_irq(&ctx->ctx_lock); in aio_poll_complete_work()
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_drm_client.h32 spinlock_t ctx_lock; /* For add/remove from ctx_list. */ member
Di915_drm_client.c47 spin_lock_init(&client->ctx_lock); in i915_drm_client_add()
/linux-5.19.10/drivers/misc/bcm-vk/
Dbcm_vk_msg.c216 spin_lock(&vk->ctx_lock); in bcm_vk_get_ctx()
256 spin_unlock(&vk->ctx_lock); in bcm_vk_get_ctx()
306 spin_lock(&vk->ctx_lock); in bcm_vk_free_ctx()
323 spin_unlock(&vk->ctx_lock); in bcm_vk_free_ctx()
938 spin_lock_init(&vk->ctx_lock); in bcm_vk_data_init()
Dbcm_vk_dev.c512 spin_lock(&vk->ctx_lock); in bcm_vk_blk_drv_access()
530 spin_unlock(&vk->ctx_lock); in bcm_vk_blk_drv_access()
1169 spin_lock(&vk->ctx_lock); in bcm_vk_reset()
1177 spin_unlock(&vk->ctx_lock); in bcm_vk_reset()
Dbcm_vk.h387 spinlock_t ctx_lock; /* Spinlock for component context */ member
/linux-5.19.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.c1523 spin_lock(&client->ctx_lock); in context_close()
1525 spin_unlock(&client->ctx_lock); in context_close()
1709 spin_lock(&ctx->client->ctx_lock); in gem_context_register()
1711 spin_unlock(&ctx->client->ctx_lock); in gem_context_register()
/linux-5.19.10/include/linux/
Dntb.h428 spinlock_t ctx_lock; member
/linux-5.19.10/include/linux/mlx5/
Ddriver.h606 spinlock_t ctx_lock; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c1527 spin_lock_init(&priv->ctx_lock); in mlx5_mdev_init()