Home
last modified time | relevance | path

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

/linux/arch/powerpc/mm/nohash/
A Dmmu_context.c75 static DEFINE_RAW_SPINLOCK(context_lock);
140 raw_spin_unlock(&context_lock); in steal_context_smp()
142 raw_spin_lock(&context_lock); in steal_context_smp()
237 raw_spin_lock(&context_lock); in switch_mmu_context()
308 raw_spin_unlock(&context_lock); in switch_mmu_context()
344 raw_spin_lock_irqsave(&context_lock, flags); in destroy_context()
352 raw_spin_unlock_irqrestore(&context_lock, flags); in destroy_context()
/linux/arch/riscv/mm/
A Dcontext.c29 static DEFINE_RAW_SPINLOCK(context_lock);
67 lockdep_assert_held(&context_lock); in __flush_context()
102 lockdep_assert_held(&context_lock); in __new_context()
176 raw_spin_lock_irqsave(&context_lock, flags); in set_mm_asid()
190 raw_spin_unlock_irqrestore(&context_lock, flags); in set_mm_asid()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_cmd.c114 spin_lock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()
124 spin_unlock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()
230 spin_lock_init(&hr_cmd->context_lock); in hns_roce_cmd_use_events()
A Dhns_roce_device.h584 spinlock_t context_lock; member
/linux/drivers/net/can/usb/
A 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()
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_ioctl.c90 mutex_lock(&vfpriv->context_lock); in virtio_gpu_create_context()
97 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_create_context()
760 mutex_lock(&vfpriv->context_lock); in virtio_gpu_context_init_ioctl()
834 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_context_init_ioctl()
A Dvirtgpu_kms.c319 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open()
346 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
A Dvirtgpu_drv.h276 struct mutex context_lock; member
/linux/drivers/net/ethernet/mellanox/mlx4/
A 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()
2765 spin_lock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
2775 spin_unlock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
A Dmlx4.h636 spinlock_t context_lock; member
A Dmain.c3354 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
/linux/drivers/infiniband/hw/mthca/
A 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()
A Dmthca_dev.h125 spinlock_t context_lock; member

Completed in 65 milliseconds