Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A 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/drivers/ntb/
A 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/drivers/net/ethernet/mellanox/mlx4/
A 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()
189 spin_lock_irqsave(&priv->ctx_lock, flags); in mlx4_dispatch_event()
195 spin_unlock_irqrestore(&priv->ctx_lock, flags); in mlx4_dispatch_event()
255 spin_lock_irqsave(&priv->ctx_lock, flags); in mlx4_get_protocol_dev()
[all …]
A Dmlx4.h880 spinlock_t ctx_lock; member
A Dmain.c3347 spin_lock_init(&priv->ctx_lock); in mlx4_load_one()
/linux/drivers/crypto/ux500/cryp/
A Dcryp_core.c679 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()
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()
932 spin_unlock(&device_data->ctx_lock); in ablk_crypt()
1413 spin_lock(&device_data->ctx_lock); in ux500_cryp_remove()
1457 spin_lock(&device_data->ctx_lock); in ux500_cryp_shutdown()
1510 spin_lock(&device_data->ctx_lock); in ux500_cryp_suspend()
[all …]
A Dcryp.h244 spinlock_t ctx_lock; member
/linux/drivers/misc/habanalabs/common/
A Dcontext.c148 mutex_lock(&mgr->ctx_lock); in hl_ctx_create()
150 mutex_unlock(&mgr->ctx_lock); in hl_ctx_create()
175 mutex_lock(&mgr->ctx_lock); in hl_ctx_create()
177 mutex_unlock(&mgr->ctx_lock); in hl_ctx_create()
367 mutex_init(&mgr->ctx_lock); in hl_ctx_mgr_init()
392 mutex_destroy(&mgr->ctx_lock); in hl_ctx_mgr_fini()
A Dhabanalabs.h1460 struct mutex ctx_lock; member
/linux/drivers/video/fbdev/omap2/omapfb/
A 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/drivers/crypto/ux500/hash/
A Dhash_core.c96 spin_lock(&device_data->ctx_lock); in release_hash_device()
99 spin_unlock(&device_data->ctx_lock); in release_hash_device()
1775 spin_lock(&device_data->ctx_lock); in ux500_hash_remove()
1779 spin_unlock(&device_data->ctx_lock); in ux500_hash_remove()
1785 spin_unlock(&device_data->ctx_lock); in ux500_hash_remove()
1821 spin_lock(&device_data->ctx_lock); in ux500_hash_shutdown()
1834 spin_unlock(&device_data->ctx_lock); in ux500_hash_shutdown()
1866 spin_lock(&device_data->ctx_lock); in ux500_hash_suspend()
1869 spin_unlock(&device_data->ctx_lock); in ux500_hash_suspend()
1903 spin_lock(&device_data->ctx_lock); in ux500_hash_resume()
[all …]
A Dhash_alg.h369 spinlock_t ctx_lock; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_virtchnl_fdir.c1536 spin_lock_irqsave(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1538 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1549 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vf_fdir_timer()
1579 spin_lock_irqsave(&fdir->ctx_lock, flags); in ice_vc_fdir_irq_handler()
1593 spin_unlock_irqrestore(&fdir->ctx_lock, flags); in ice_vc_fdir_irq_handler()
1868 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1894 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1906 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_flush_fdir_ctx()
1929 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_vc_fdir_set_irq_ctx()
1962 spin_lock_irqsave(&vf->fdir.ctx_lock, flags); in ice_vc_fdir_clear_irq_ctx()
[all …]
A Dice_virtchnl_fdir.h36 spinlock_t ctx_lock; /* protects FDIR context info */ member
/linux/fs/
A Daio.c148 spinlock_t ctx_lock; member
618 spin_lock_irq(&ctx->ctx_lock); in free_ioctx_users()
627 spin_unlock_irq(&ctx->ctx_lock); in free_ioctx_users()
739 spin_lock_init(&ctx->ctx_lock); in ioctx_alloc()
1686 spin_lock_irq(&ctx->ctx_lock); in aio_poll_complete_work()
1700 spin_unlock_irq(&ctx->ctx_lock); in aio_poll_complete_work()
1708 spin_unlock_irq(&ctx->ctx_lock); in aio_poll_complete_work()
1872 spin_lock_irq(&ctx->ctx_lock); in aio_poll()
1907 spin_unlock_irq(&ctx->ctx_lock); in aio_poll()
2138 spin_lock_irq(&ctx->ctx_lock); in SYSCALL_DEFINE3()
[all …]
/linux/drivers/misc/bcm-vk/
A 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()
939 spin_lock_init(&vk->ctx_lock); in bcm_vk_data_init()
A 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()
A Dbcm_vk.h387 spinlock_t ctx_lock; /* Spinlock for component context */ member
/linux/include/linux/
A Dntb.h428 spinlock_t ctx_lock; member
/linux/include/linux/mlx5/
A Ddriver.h579 spinlock_t ctx_lock; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dmain.c1453 spin_lock_init(&priv->ctx_lock); in mlx5_mdev_init()

Completed in 87 milliseconds