Searched refs:context_lock (Results 1 – 13 of 13) sorted by relevance
/linux/arch/powerpc/mm/nohash/ |
A D | mmu_context.c | 75 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 D | context.c | 29 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 D | hns_roce_cmd.c | 114 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 D | hns_roce_device.h | 584 spinlock_t context_lock; member
|
/linux/drivers/net/can/usb/ |
A 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() 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 D | virtgpu_ioctl.c | 90 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 D | virtgpu_kms.c | 319 mutex_init(&vfpriv->context_lock); in virtio_gpu_driver_open() 346 mutex_destroy(&vfpriv->context_lock); in virtio_gpu_driver_postclose()
|
A D | virtgpu_drv.h | 276 struct mutex context_lock; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A 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() 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 D | mlx4.h | 636 spinlock_t context_lock; member
|
A D | main.c | 3354 spin_lock_init(&priv->cmd.context_lock); in mlx4_load_one()
|
/linux/drivers/infiniband/hw/mthca/ |
A 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()
|
A D | mthca_dev.h | 125 spinlock_t context_lock; member
|
Completed in 65 milliseconds