Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/mm/nohash/
Dmmu_context.c76 static DEFINE_RAW_SPINLOCK(context_lock);
141 raw_spin_unlock(&context_lock); in steal_context_smp()
143 raw_spin_lock(&context_lock); in steal_context_smp()
235 raw_spin_lock(&context_lock); in switch_mmu_context()
309 raw_spin_unlock(&context_lock); in switch_mmu_context()
336 raw_spin_lock_irqsave(&context_lock, flags); in destroy_context()
344 raw_spin_unlock_irqrestore(&context_lock, flags); in destroy_context()
/linux-6.12.1/arch/riscv/mm/
Dcontext.c28 static DEFINE_RAW_SPINLOCK(context_lock);
66 lockdep_assert_held(&context_lock); in __flush_context()
101 lockdep_assert_held(&context_lock); in __new_context()
175 raw_spin_lock_irqsave(&context_lock, flags); in set_mm_asid()
189 raw_spin_unlock_irqrestore(&context_lock, flags); in set_mm_asid()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c117 spin_lock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()
127 spin_unlock(&cmd->context_lock); in __hns_roce_cmd_mbox_wait()
237 spin_lock_init(&hr_cmd->context_lock); in hns_roce_cmd_use_events()
Dhns_roce_device.h565 spinlock_t context_lock; member
/linux-6.12.1/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()
1287 spin_lock_irqsave(&up->context_lock, flags); in ucan_set_mode()
1292 spin_unlock_irqrestore(&up->context_lock, flags); in ucan_set_mode()
1516 spin_lock_init(&up->context_lock); in ucan_probe()
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c67 mutex_lock(&vfpriv->context_lock); in virtio_gpu_create_context()
74 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_create_context()
602 mutex_lock(&vfpriv->context_lock); in virtio_gpu_context_init_ioctl()
691 mutex_unlock(&vfpriv->context_lock); in virtio_gpu_context_init_ioctl()
Dvirtgpu_kms.c322 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open()
349 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
Dvirtgpu_drv.h279 struct mutex context_lock; member
/linux-6.12.1/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()
2755 spin_lock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
2765 spin_unlock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
Dmlx4.h638 spinlock_t context_lock; member
Dmain.c3413 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
/linux-6.12.1/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