/linux-5.19.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-5.19.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-5.19.10/drivers/gpu/drm/i915/gt/ |
D | intel_migrate.c | 915 int ring_sz; in emit_clear() local 921 ring_sz = XY_FAST_COLOR_BLT_DW; in emit_clear() 923 ring_sz = 8; in emit_clear() 925 ring_sz = 6; in emit_clear() 927 cs = intel_ring_begin(rq, ring_sz); in emit_clear()
|
D | selftest_execlists.c | 2794 int queue_sz, int ring_sz) in __live_preempt_ring() argument 2814 tmp->ring_size = ring_sz; in __live_preempt_ring()
|
/linux-5.19.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 270 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL); in rtw_pci_init_rx_ring() 313 dma_free_coherent(&pdev->dev, ring_sz, head, dma); in rtw_pci_init_rx_ring()
|
/linux-5.19.10/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.c | 47 static u16 ocelot_fdma_idx_next(u16 idx, u16 ring_sz) in ocelot_fdma_idx_next() argument 49 return unlikely(idx == ring_sz - 1) ? 0 : idx + 1; in ocelot_fdma_idx_next() 52 static u16 ocelot_fdma_idx_prev(u16 idx, u16 ring_sz) in ocelot_fdma_idx_prev() argument 54 return unlikely(idx == 0) ? ring_sz - 1 : idx - 1; in ocelot_fdma_idx_prev()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/ |
D | pci.c | 2666 u32 ring_sz = page_size * page_num; in rtw89_pci_free_tx_wd_ring() local 2668 dma_free_coherent(&pdev->dev, ring_sz, head, dma); in rtw89_pci_free_tx_wd_ring() 2676 int ring_sz; in rtw89_pci_free_tx_ring() local 2682 ring_sz = tx_ring->bd_ring.desc_size * tx_ring->bd_ring.len; in rtw89_pci_free_tx_ring() 2683 dma_free_coherent(&pdev->dev, ring_sz, head, dma); in rtw89_pci_free_tx_ring() 2711 int ring_sz = rx_ring->bd_ring.desc_size * rx_ring->bd_ring.len; in rtw89_pci_free_rx_ring() local 2729 dma_free_coherent(&pdev->dev, ring_sz, head, dma); in rtw89_pci_free_rx_ring() 2793 u32 ring_sz = page_size * page_num; in rtw89_pci_alloc_tx_wd_ring() local 2801 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL); in rtw89_pci_alloc_tx_wd_ring() 2838 int ring_sz = desc_size * len; in rtw89_pci_alloc_tx_ring() local [all …]
|