/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_ring.c | 147 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 …]
|
D | radeon_fence.c | 917 mutex_lock(&rdev->ring_lock); in radeon_fence_driver_fini() 931 mutex_unlock(&rdev->ring_lock); in radeon_fence_driver_fini()
|
/linux-6.6.21/drivers/dma/ |
D | plx_dma.c | 110 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.6.21/drivers/tty/hvc/ |
D | hvc_xen.c | 46 spinlock_t ring_lock; member 95 spin_lock_irqsave(&xencons->ring_lock, flags); in __write_console() 101 spin_unlock_irqrestore(&xencons->ring_lock, flags); in __write_console() 111 spin_unlock_irqrestore(&xencons->ring_lock, flags); in __write_console() 160 spin_lock_irqsave(&xencons->ring_lock, flags); in domU_read_console() 166 spin_unlock_irqrestore(&xencons->ring_lock, flags); in domU_read_console() 193 spin_unlock_irqrestore(&xencons->ring_lock, flags); in domU_read_console() 253 spin_lock_init(&info->ring_lock); in xen_hvm_console_init() 290 spin_lock_init(&info->ring_lock); in xencons_info_pv_init() 341 spin_lock_init(&info->ring_lock); in xen_initial_domain_console_init() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 313 spin_lock_init(&kiq->ring_lock); in amdgpu_gfx_kiq_init_ring() 512 spin_lock(&kiq->ring_lock); in amdgpu_gfx_disable_kcq() 515 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_disable_kcq() 528 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_disable_kcq() 543 spin_lock(&kiq->ring_lock); in amdgpu_gfx_disable_kgq() 547 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_disable_kgq() 561 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_disable_kgq() 608 spin_lock(&kiq->ring_lock); in amdgpu_gfx_enable_kcq() 614 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_enable_kcq() 629 spin_unlock(&kiq->ring_lock); in amdgpu_gfx_enable_kcq() [all …]
|
D | amdgpu_ctx.c | 195 spin_lock(&ctx->ring_lock); in amdgpu_ctx_entity_time() 199 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_entity_time() 334 spin_lock_init(&ctx->ring_lock); in amdgpu_ctx_init() 763 spin_lock(&ctx->ring_lock); in amdgpu_ctx_add_fence() 766 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_add_fence() 782 spin_lock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 788 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 794 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 799 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence() 858 spin_lock(&ctx->ring_lock); in amdgpu_ctx_wait_prev_fence() [all …]
|
D | amdgpu_ctx.h | 51 spinlock_t ring_lock; member
|
D | amdgpu_amdkfd.c | 846 spin_lock(&kiq->ring_lock); in amdgpu_amdkfd_unmap_hiq() 849 spin_unlock(&kiq->ring_lock); in amdgpu_amdkfd_unmap_hiq() 859 spin_unlock(&kiq->ring_lock); in amdgpu_amdkfd_unmap_hiq()
|
D | gmc_v11_0.c | 339 spin_lock(&adev->gfx.kiq[0].ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid() 347 spin_unlock(&adev->gfx.kiq[0].ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid() 352 spin_unlock(&adev->gfx.kiq[0].ring_lock); in gmc_v11_0_flush_gpu_tlb_pasid()
|
D | mes_v10_1.c | 103 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() 863 spin_lock_init(&adev->gfx.kiq[0].ring_lock); in mes_v10_1_kiq_ring_init()
|
D | amdgpu_amdkfd_gfx_v10_3.c | 295 spin_lock(&adev->gfx.kiq[0].ring_lock); in hiq_mqd_load_v10_3() 322 spin_unlock(&adev->gfx.kiq[0].ring_lock); in hiq_mqd_load_v10_3()
|
D | gmc_v10_0.c | 429 spin_lock(&adev->gfx.kiq[0].ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid() 437 spin_unlock(&adev->gfx.kiq[0].ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid() 442 spin_unlock(&adev->gfx.kiq[0].ring_lock); in gmc_v10_0_flush_gpu_tlb_pasid()
|
D | mes_v11_0.c | 118 spin_lock_irqsave(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion() 120 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion() 130 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion() 969 spin_lock_init(&adev->gfx.kiq[0].ring_lock); in mes_v11_0_kiq_ring_init()
|
D | amdgpu_virt.c | 90 spin_lock_irqsave(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait() 99 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait() 121 spin_unlock_irqrestore(&kiq->ring_lock, flags); in amdgpu_virt_kiq_reg_write_reg_wait()
|
/linux-6.6.21/drivers/net/wwan/t7xx/ |
D | t7xx_hif_cldma.c | 78 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 …]
|
D | t7xx_hif_cldma.h | 81 spinlock_t ring_lock; member
|
/linux-6.6.21/drivers/hv/ |
D | ring_buffer.c | 243 spin_lock_init(&ring_info->ring_lock); in hv_ringbuffer_init() 270 return spin_is_locked(&rinfo->ring_lock); in hv_ringbuffer_spinlock_busy() 296 spin_lock_irqsave(&outring_info->ring_lock, flags); in hv_ringbuffer_write() 313 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write() 341 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write() 372 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
|
/linux-6.6.21/drivers/block/ |
D | xen-blkfront.c | 179 spinlock_t ring_lock; member 910 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_queue_rq() 921 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 925 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 930 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq() 1194 spin_lock_irqsave(&rinfo->ring_lock, flags); in kick_pending_request_queues() 1196 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in kick_pending_request_queues() 1528 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_interrupt() 1663 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt() 1672 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/carl9170/ |
D | debug.h | 125 struct mutex ring_lock; member
|
/linux-6.6.21/fs/ |
D | aio.c | 153 struct mutex ring_lock; member 437 if (!mutex_trylock(&ctx->ring_lock)) { in aio_migrate_folio() 477 mutex_unlock(&ctx->ring_lock); in aio_migrate_folio() 777 mutex_init(&ctx->ring_lock); in ioctx_alloc() 780 mutex_lock(&ctx->ring_lock); in ioctx_alloc() 823 mutex_unlock(&ctx->ring_lock); in ioctx_alloc() 837 mutex_unlock(&ctx->ring_lock); in ioctx_alloc() 1217 mutex_lock(&ctx->ring_lock); in aio_read_events_ring() 1274 mutex_unlock(&ctx->ring_lock); in aio_read_events_ring()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_nvmet.c | 1105 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() 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() 2037 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2040 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2045 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2064 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() 2068 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() 2071 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_process() [all …]
|
D | lpfc_sli.c | 3745 spin_lock_irqsave(&pring->ring_lock, iflag); in lpfc_sli_process_sol_iocb() 3750 spin_unlock_irqrestore(&pring->ring_lock, iflag); in lpfc_sli_process_sol_iocb() 4586 spin_lock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring() 4600 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring() 4689 spin_lock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings() 4699 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_flush_io_rings() 8083 spinlock_t *ring_lock = &rx_monitor->lock; in lpfc_rx_monitor_record() local 8086 spin_lock(ring_lock); in lpfc_rx_monitor_record() 8094 spin_unlock(ring_lock); in lpfc_rx_monitor_record() 8121 spinlock_t *ring_lock = &rx_monitor->lock; in lpfc_rx_monitor_report() local [all …]
|
D | lpfc_sli.h | 262 spinlock_t ring_lock; /* lock for issuing commands */ member
|
/linux-6.6.21/include/linux/ |
D | hyperv.h | 175 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()
|