Home
last modified time | relevance | path

Searched refs:ring_lock (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_ring.c147 mutex_lock(&rdev->ring_lock); in radeon_ring_lock()
150 mutex_unlock(&rdev->ring_lock); in radeon_ring_lock()
202 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_commit()
228 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_undo()
289 mutex_lock(&rdev->ring_lock); in radeon_ring_backup()
293 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
299 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
310 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
318 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
325 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
[all …]
Dradeon_fence.c917 mutex_lock(&rdev->ring_lock); in radeon_fence_driver_fini()
931 mutex_unlock(&rdev->ring_lock); in radeon_fence_driver_fini()
/linux-6.1.9/drivers/dma/
Dplx_dma.c110 spinlock_t ring_lock; member
140 spin_lock(&plxdev->ring_lock); in plx_dma_process_desc()
168 spin_unlock(&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 …]
/linux-6.1.9/virt/kvm/
Dcoalesced_mmio.c75 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()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_cldma.c78 spin_lock_init(&queue->ring_lock); in md_cd_queue_struct_init()
172 spin_lock_irqsave(&queue->ring_lock, flags); in t7xx_cldma_gpd_rx_from_q()
174 spin_unlock_irqrestore(&queue->ring_lock, flags); in t7xx_cldma_gpd_rx_from_q()
186 spin_lock_irqsave(&queue->ring_lock, flags); in t7xx_cldma_gpd_rx_from_q()
188 spin_unlock_irqrestore(&queue->ring_lock, flags); in t7xx_cldma_gpd_rx_from_q()
269 spin_lock_irqsave(&queue->ring_lock, flags); in t7xx_cldma_gpd_tx_collect()
272 spin_unlock_irqrestore(&queue->ring_lock, flags); in t7xx_cldma_gpd_tx_collect()
277 spin_unlock_irqrestore(&queue->ring_lock, flags); in t7xx_cldma_gpd_tx_collect()
286 spin_unlock_irqrestore(&queue->ring_lock, flags); in t7xx_cldma_gpd_tx_collect()
310 spin_lock_irqsave(&queue->ring_lock, flags); in t7xx_cldma_txq_empty_hndl()
[all …]
Dt7xx_hif_cldma.h81 spinlock_t ring_lock; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c193 spin_lock(&ctx->ring_lock); in amdgpu_ctx_entity_time()
197 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_entity_time()
317 spin_lock_init(&ctx->ring_lock); in amdgpu_ctx_init()
734 spin_lock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
737 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
753 spin_lock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
759 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
765 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
770 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
829 spin_lock(&ctx->ring_lock); in amdgpu_ctx_wait_prev_fence()
[all …]
Damdgpu_gfx.c302 spin_lock_init(&kiq->ring_lock); in amdgpu_gfx_kiq_init_ring()
473 spin_lock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_disable_kcq()
476 spin_unlock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_disable_kcq()
486 spin_unlock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_disable_kcq()
531 spin_lock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_enable_kcq()
537 spin_unlock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_enable_kcq()
549 spin_unlock(&adev->gfx.kiq.ring_lock); in amdgpu_gfx_enable_kcq()
754 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_kiq_rreg()
766 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_rreg()
798 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_kiq_rreg()
[all …]
Damdgpu_ctx.h51 spinlock_t ring_lock; member
Dgmc_v11_0.c320 spin_lock(&adev->gfx.kiq.ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid()
328 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid()
333 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid()
Dmes_v10_1.c103 spin_lock_irqsave(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
105 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
115 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
949 spin_lock_init(&adev->gfx.kiq.ring_lock); in mes_v10_1_kiq_ring_init()
Damdgpu_amdkfd_gfx_v10.c306 spin_lock(&adev->gfx.kiq.ring_lock); in kgd_hiq_mqd_load()
333 spin_unlock(&adev->gfx.kiq.ring_lock); in kgd_hiq_mqd_load()
Damdgpu_amdkfd_gfx_v11.c278 spin_lock(&adev->gfx.kiq.ring_lock); in hiq_mqd_load_v11()
305 spin_unlock(&adev->gfx.kiq.ring_lock); in hiq_mqd_load_v11()
Damdgpu_virt.c85 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait()
94 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait()
116 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait()
Dgmc_v10_0.c427 spin_lock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid()
435 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid()
440 spin_unlock(&adev->gfx.kiq.ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid()
Dmes_v11_0.c111 spin_lock_irqsave(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
113 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
123 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
1026 spin_lock_init(&adev->gfx.kiq.ring_lock); in mes_v11_0_kiq_ring_init()
Damdgpu_amdkfd_gfx_v9.c318 spin_lock(&adev->gfx.kiq.ring_lock); in kgd_gfx_v9_hiq_mqd_load()
345 spin_unlock(&adev->gfx.kiq.ring_lock); in kgd_gfx_v9_hiq_mqd_load()
/linux-6.1.9/drivers/hv/
Dring_buffer.c265 spin_lock_init(&ring_info->ring_lock); in hv_ringbuffer_init()
292 return spin_is_locked(&rinfo->ring_lock); in hv_ringbuffer_spinlock_busy()
318 spin_lock_irqsave(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
335 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
363 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
394 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
/linux-6.1.9/drivers/block/
Dxen-blkfront.c179 spinlock_t ring_lock; member
909 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_queue_rq()
920 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
924 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
929 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
1193 spin_lock_irqsave(&rinfo->ring_lock, flags); in kick_pending_request_queues()
1195 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in kick_pending_request_queues()
1527 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_interrupt()
1662 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt()
1671 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Ddebug.h125 struct mutex ring_lock; member
/linux-6.1.9/fs/
Daio.c153 struct mutex ring_lock; member
433 if (!mutex_trylock(&ctx->ring_lock)) { in aio_migrate_folio()
473 mutex_unlock(&ctx->ring_lock); in aio_migrate_folio()
768 mutex_init(&ctx->ring_lock); in ioctx_alloc()
771 mutex_lock(&ctx->ring_lock); in ioctx_alloc()
814 mutex_unlock(&ctx->ring_lock); in ioctx_alloc()
828 mutex_unlock(&ctx->ring_lock); in ioctx_alloc()
1211 mutex_lock(&ctx->ring_lock); in aio_read_events_ring()
1271 mutex_unlock(&ctx->ring_lock); in aio_read_events_ring()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_nvmet.c1105 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
1108 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
2021 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2028 spin_unlock_irqrestore(&pring->ring_lock, in lpfc_nvmet_wqfull_flush()
2040 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2043 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2048 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2067 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process()
2071 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process()
2074 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process()
[all …]
Dlpfc_sli.c3729 spin_lock_irqsave(&pring->ring_lock, iflag); in lpfc_sli_process_sol_iocb()
3734 spin_unlock_irqrestore(&pring->ring_lock, iflag); in lpfc_sli_process_sol_iocb()
4568 spin_lock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
4582 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
4671 spin_lock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings()
4681 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings()
8097 spinlock_t *ring_lock = &rx_monitor->lock; in lpfc_rx_monitor_record() local
8100 spin_lock(ring_lock); in lpfc_rx_monitor_record()
8108 spin_unlock(ring_lock); in lpfc_rx_monitor_record()
8135 spinlock_t *ring_lock = &rx_monitor->lock; in lpfc_rx_monitor_report() local
[all …]
Dlpfc_sli.h262 spinlock_t ring_lock; /* lock for issuing commands */ member
/linux-6.1.9/include/linux/
Dhyperv.h175 spinlock_t ring_lock; member
1108 spin_lock_irqsave(&c->outbound.ring_lock, flags); in set_channel_pending_send_size()
1115 spin_unlock_irqrestore(&c->outbound.ring_lock, flags); in set_channel_pending_send_size()

12