Home
last modified time | relevance | path

Searched refs:context_lock (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dmmu_context.c87 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c118 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()
Dhns_roce_device.h576 spinlock_t context_lock; member
/kernel/linux/linux-5.10/drivers/net/can/usb/
Ducan.c301 spinlock_t context_lock; member
363 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c265 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open()
292 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
Dvirtgpu_ioctl.c43 mutex_lock(&vfpriv->context_lock); in virtio_gpu_create_context()
53 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_create_context()
Dvirtgpu_drv.h229 struct mutex context_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c348 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()
Dmlx4.h635 spinlock_t context_lock; member
Dmain.c3354 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_cmd.c420 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()
Dmthca_dev.h125 spinlock_t context_lock; member