Searched refs:context_lock (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 76 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/ |
D | context.c | 28 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/ |
D | hns_roce_cmd.c | 117 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()
|
D | hns_roce_device.h | 565 spinlock_t context_lock; member
|
/linux-6.12.1/drivers/net/can/usb/ |
D | ucan.c | 301 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/ |
D | virtgpu_ioctl.c | 67 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()
|
D | virtgpu_kms.c | 322 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open() 349 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
|
D | virtgpu_drv.h | 279 struct mutex context_lock; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 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() 2755 spin_lock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions() 2765 spin_unlock(&priv->cmd.context_lock); in mlx4_cmd_wake_completions()
|
D | mlx4.h | 638 spinlock_t context_lock; member
|
D | main.c | 3413 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 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()
|
D | mthca_dev.h | 125 spinlock_t context_lock; member
|