Searched refs:ring_sz (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/tools/io_uring/ |
D | setup.c | 17 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); in io_uring_mmap() 18 ptr = mmap(0, sq->ring_sz, PROT_READ | PROT_WRITE, in io_uring_mmap() 37 munmap(sq->khead, sq->ring_sz); in io_uring_mmap() 41 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap() 42 ptr = mmap(0, cq->ring_sz, PROT_READ | PROT_WRITE, in io_uring_mmap() 104 munmap(sq->khead, sq->ring_sz); in io_uring_queue_exit() 105 munmap(cq->khead, cq->ring_sz); in io_uring_queue_exit()
|
D | liburing.h | 32 size_t ring_sz; member 43 size_t ring_sz; member
|
/Linux-v5.10/drivers/dma/ |
D | plx_dma.c | 410 size_t ring_sz = PLX_DMA_RING_COUNT * sizeof(*plxdev->hw_ring); in plx_dma_alloc_chan_resources() local 414 plxdev->hw_ring = dma_alloc_coherent(plxdev->dma_dev.dev, ring_sz, in plx_dma_alloc_chan_resources() 447 dma_free_coherent(plxdev->dma_dev.dev, ring_sz, plxdev->hw_ring, in plx_dma_alloc_chan_resources() 455 size_t ring_sz = PLX_DMA_RING_COUNT * sizeof(*plxdev->hw_ring); in plx_dma_free_chan_resources() local 483 dma_free_coherent(plxdev->dma_dev.dev, ring_sz, plxdev->hw_ring, in plx_dma_free_chan_resources()
|
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/ |
D | pci.c | 123 int ring_sz = len * tx_ring->r.desc_size; in rtw_pci_free_tx_ring() local 128 dma_free_coherent(&pdev->dev, ring_sz, head, tx_ring->r.dma); in rtw_pci_free_tx_ring() 158 int ring_sz = rx_ring->r.desc_size * rx_ring->r.len; in rtw_pci_free_rx_ring() local 162 dma_free_coherent(&pdev->dev, ring_sz, head, rx_ring->r.dma); in rtw_pci_free_rx_ring() 188 int ring_sz = desc_size * len; in rtw_pci_init_tx_ring() local 197 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL); in rtw_pci_init_tx_ring() 265 int ring_sz = desc_size * len; in rtw_pci_init_rx_ring() local 275 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL); in rtw_pci_init_rx_ring() 318 dma_free_coherent(&pdev->dev, ring_sz, head, dma); in rtw_pci_init_rx_ring()
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_lrc.c | 2748 int queue_sz, int ring_sz) in __live_preempt_ring() argument 2768 tmp->ring = __intel_context_ring_size(ring_sz); in __live_preempt_ring()
|