Searched refs:context_lock (Results 1 – 12 of 12) sorted by relevance
87 static DEFINE_RAW_SPINLOCK(context_lock);154 raw_spin_unlock(&context_lock); in steal_context_smp()156 raw_spin_lock(&context_lock); in steal_context_smp()271 raw_spin_lock(&context_lock); in switch_mmu_context()361 raw_spin_unlock(&context_lock); in switch_mmu_context()399 raw_spin_lock_irqsave(&context_lock, flags); in destroy_context()410 raw_spin_unlock_irqrestore(&context_lock, flags); in destroy_context()
118 spin_lock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()123 spin_unlock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()152 spin_lock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()155 spin_unlock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()249 spin_lock_init(&hr_cmd->context_lock); in hns_roce_cmd_use_events()
576 spinlock_t context_lock; member
301 spinlock_t context_lock; member363 spin_lock_irqsave(&up->context_lock, flags); in ucan_alloc_context()380 spin_unlock_irqrestore(&up->context_lock, flags); in ucan_alloc_context()394 spin_lock_irqsave(&up->context_lock, flags); in ucan_release_context()408 spin_unlock_irqrestore(&up->context_lock, flags); in ucan_release_context()1283 spin_lock_irqsave(&up->context_lock, flags); in ucan_set_mode()1288 spin_unlock_irqrestore(&up->context_lock, flags); in ucan_set_mode()1513 spin_lock_init(&up->context_lock); in ucan_probe()
265 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open()292 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
43 mutex_lock(&vfpriv->context_lock); in virtio_gpu_create_context()53 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_create_context()
229 struct mutex context_lock; member
348 spin_lock(&cmd->context_lock); in mlx4_comm_cmd_wait()353 spin_unlock(&cmd->context_lock); in mlx4_comm_cmd_wait()398 spin_lock(&cmd->context_lock); in mlx4_comm_cmd_wait()401 spin_unlock(&cmd->context_lock); in mlx4_comm_cmd_wait()688 spin_lock(&cmd->context_lock); in mlx4_cmd_wait()693 spin_unlock(&cmd->context_lock); in mlx4_cmd_wait()765 spin_lock(&cmd->context_lock); in mlx4_cmd_wait()768 spin_unlock(&cmd->context_lock); in mlx4_cmd_wait()2756 spin_lock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()2766 spin_unlock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
635 spinlock_t context_lock; member
3354 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
420 spin_lock(&dev->cmd.context_lock); in mthca_cmd_wait()425 spin_unlock(&dev->cmd.context_lock); in mthca_cmd_wait()459 spin_lock(&dev->cmd.context_lock); in mthca_cmd_wait()462 spin_unlock(&dev->cmd.context_lock); in mthca_cmd_wait()577 spin_lock_init(&dev->cmd.context_lock); in mthca_cmd_use_events()
125 spinlock_t context_lock; member