/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_ring.c | 148 mutex_lock(&rdev->ring_lock); in radeon_ring_lock() 151 mutex_unlock(&rdev->ring_lock); in radeon_ring_lock() 203 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_commit() 228 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_undo() 287 mutex_lock(&rdev->ring_lock); in radeon_ring_backup() 291 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup() 297 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup() 308 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup() 316 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup() 323 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup() [all …]
|
D | radeon_fence.c | 937 mutex_lock(&rdev->ring_lock); in radeon_fence_driver_fini() 951 mutex_unlock(&rdev->ring_lock); in radeon_fence_driver_fini()
|
D | radeon_pm.c | 263 mutex_lock(&rdev->ring_lock); in radeon_pm_set_clocks() 274 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks() 317 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks() 1108 mutex_lock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked() 1155 mutex_unlock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | plx_dma.c | 110 spinlock_t ring_lock; member 140 spin_lock_bh(&plxdev->ring_lock); in plx_dma_process_desc() 168 spin_unlock_bh(&plxdev->ring_lock); in plx_dma_process_desc() 178 spin_lock_bh(&plxdev->ring_lock); in plx_dma_abort_desc() 195 spin_unlock_bh(&plxdev->ring_lock); in plx_dma_abort_desc() 254 __acquires(plxdev->ring_lock) in plx_dma_prep_memcpy() 259 spin_lock_bh(&plxdev->ring_lock); in plx_dma_prep_memcpy() 294 __acquire(plxdev->ring_lock); in plx_dma_prep_memcpy() 296 spin_unlock_bh(&plxdev->ring_lock); in plx_dma_prep_memcpy() 301 __releases(plxdev->ring_lock) in plx_dma_tx_submit() [all …]
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | coalesced_mmio.c | 75 spin_lock(&dev->kvm->ring_lock); in coalesced_mmio_write() 80 spin_unlock(&dev->kvm->ring_lock); in coalesced_mmio_write() 92 spin_unlock(&dev->kvm->ring_lock); in coalesced_mmio_write() 125 spin_lock_init(&kvm->ring_lock); in kvm_coalesced_mmio_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ctx.c | 157 spin_lock_init(&ctx->ring_lock); in amdgpu_ctx_init() 451 spin_lock(&ctx->ring_lock); in amdgpu_ctx_add_fence() 454 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_add_fence() 468 spin_lock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 474 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 480 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 485 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 544 spin_lock(&ctx->ring_lock); in amdgpu_ctx_wait_prev_fence() 547 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_wait_prev_fence()
|
D | amdgpu_gfx.c | 298 spin_lock_init(&kiq->ring_lock); in amdgpu_gfx_kiq_init_ring() 719 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_kiq_rreg() 731 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_rreg() 763 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_rreg() 784 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_kiq_wreg() 792 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_wreg() 821 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_wreg()
|
D | amdgpu_ctx.h | 46 spinlock_t ring_lock; member
|
D | amdgpu_virt.c | 69 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait() 78 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait() 100 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait()
|
D | gmc_v10_0.c | 379 spin_lock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid() 387 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid() 392 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid()
|
D | amdgpu_amdkfd_gfx_v10.c | 325 spin_lock(&adev->gfx.kiq.ring_lock); in kgd_hiq_mqd_load() 352 spin_unlock(&adev->gfx.kiq.ring_lock); in kgd_hiq_mqd_load()
|
D | amdgpu_amdkfd_gfx_v9.c | 334 spin_lock(&adev->gfx.kiq.ring_lock); in kgd_gfx_v9_hiq_mqd_load() 361 spin_unlock(&adev->gfx.kiq.ring_lock); in kgd_gfx_v9_hiq_mqd_load()
|
D | gmc_v9_0.c | 864 spin_lock(&adev->gfx.kiq.ring_lock); in gmc_v9_0_flush_gpu_tlb_pasid() 875 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v9_0_flush_gpu_tlb_pasid() 881 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v9_0_flush_gpu_tlb_pasid()
|
D | amdgpu_gfx.h | 102 spinlock_t ring_lock; member
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | ring_buffer.c | 235 spin_lock_init(&ring_info->ring_lock); in hv_ringbuffer_init() 258 return spin_is_locked(&rinfo->ring_lock); in hv_ringbuffer_spinlock_busy() 281 spin_lock_irqsave(&outring_info->ring_lock, flags); in hv_ringbuffer_write() 298 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write() 331 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | xen-blkfront.c | 178 spinlock_t ring_lock; member 921 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_queue_rq() 932 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 936 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 941 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 1259 spin_lock_irqsave(&rinfo->ring_lock, flags); in kick_pending_request_queues() 1261 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in kick_pending_request_queues() 1600 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_interrupt() 1735 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt() 1744 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt() [all …]
|
/kernel/linux/linux-5.10/drivers/net/hamradio/ |
D | dmascc.c | 205 spinlock_t ring_lock; member 556 spin_lock_init(&priv->ring_lock); in setup_adapter() 930 spin_lock_irqsave(&priv->ring_lock, flags); in scc_send_packet() 952 spin_unlock_irqrestore(&priv->ring_lock, flags); in scc_send_packet() 1257 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh() 1259 spin_unlock_irqrestore(&priv->ring_lock, flags); in rx_bh() 1276 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh() 1281 spin_unlock_irqrestore(&priv->ring_lock, flags); in rx_bh()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | ni65.c | 245 spinlock_t ring_lock; member 456 spin_lock_init(&p->ring_lock); in ni65_probe1() 880 spin_lock(&p->ring_lock); in ni65_interrupt() 972 spin_unlock(&p->ring_lock); in ni65_interrupt() 1182 spin_lock_irqsave(&p->ring_lock, flags); in ni65_send_packet() 1190 spin_lock_irqsave(&p->ring_lock, flags); in ni65_send_packet() 1210 spin_unlock_irqrestore(&p->ring_lock, flags); in ni65_send_packet()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | debug.h | 125 struct mutex ring_lock; member
|
/kernel/linux/linux-5.10/fs/ |
D | aio.c | 154 struct mutex ring_lock; member 407 if (!mutex_trylock(&ctx->ring_lock)) { in aio_migratepage() 447 mutex_unlock(&ctx->ring_lock); in aio_migratepage() 743 mutex_init(&ctx->ring_lock); in ioctx_alloc() 746 mutex_lock(&ctx->ring_lock); in ioctx_alloc() 789 mutex_unlock(&ctx->ring_lock); in ioctx_alloc() 803 mutex_unlock(&ctx->ring_lock); in ioctx_alloc() 1189 mutex_lock(&ctx->ring_lock); in aio_read_events_ring() 1249 mutex_unlock(&ctx->ring_lock); in aio_read_events_ring()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_nvmet.c | 1107 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op() 1110 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op() 2018 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2025 spin_unlock_irqrestore(&pring->ring_lock, in lpfc_nvmet_wqfull_flush() 2035 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2037 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2042 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2061 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() 2065 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() 2068 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() [all …]
|
D | lpfc_sli.c | 1143 lockdep_assert_held(&pring->ring_lock); in __lpfc_sli_get_els_sglq() 1600 lockdep_assert_held(&pring->ring_lock); in lpfc_sli_ringtxcmpl_put() 3150 temp_lock = &pring->ring_lock; in lpfc_sli_iocbq_lookup() 3199 temp_lock = &pring->ring_lock; in lpfc_sli_iocbq_lookup_by_tag() 4072 spin_lock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring() 4075 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring() 4161 spin_lock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings() 4171 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings() 9221 lockdep_assert_held(&pring->ring_lock); in __lpfc_sli_ringtx_put() 10142 lockdep_assert_held(&pring->ring_lock); in __lpfc_sli_issue_iocb_s4() [all …]
|
D | lpfc_sli.h | 230 spinlock_t ring_lock; /* lock for issuing commands */ member
|
/kernel/linux/linux-5.10/include/linux/ |
D | hyperv.h | 175 spinlock_t ring_lock; member 1026 spin_lock_irqsave(&c->outbound.ring_lock, flags); in set_channel_pending_send_size() 1033 spin_unlock_irqrestore(&c->outbound.ring_lock, flags); in set_channel_pending_send_size()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | xen-scsiback.c | 95 spinlock_t ring_lock; member 295 spin_lock_irqsave(&info->ring_lock, flags); in scsiback_send_response() 317 spin_unlock_irqrestore(&info->ring_lock, flags); in scsiback_send_response() 1227 spin_lock_init(&info->ring_lock); in scsiback_probe()
|