Home
last modified time | relevance | path

Searched refs:total_descs (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/net/xdp/
H A Dxsk_queue.h239 u32 total_descs = 0, nr_frags = 0; in xskq_cons_read_desc_batch() local
256 total_descs += (nr_frags + 1); in xskq_cons_read_desc_batch()
271 return total_descs; in xskq_cons_read_desc_batch()
/kernel/linux/linux-5.10/drivers/dma/ioat/
H A Ddma.c377 int total_descs = 1 << order; in ioat_alloc_ring() local
381 ring = kcalloc(total_descs, sizeof(*ring), flags); in ioat_alloc_ring()
385 chunks = (total_descs * IOAT_DESC_SZ) / IOAT_CHUNK_SIZE; in ioat_alloc_ring()
411 for (i = 0; i < total_descs; i++) { in ioat_alloc_ring()
436 for (i = 0; i < total_descs-1; i++) { in ioat_alloc_ring()
H A Dinit.c612 const int total_descs = 1 << ioat_chan->alloc_order; in ioat_free_chan_resources() local
643 if (descs < total_descs) in ioat_free_chan_resources()
645 total_descs - descs); in ioat_free_chan_resources()
647 for (i = 0; i < total_descs - descs; i++) { in ioat_free_chan_resources()
/kernel/linux/linux-6.6/drivers/dma/ioat/
H A Ddma.c377 int total_descs = 1 << order; in ioat_alloc_ring() local
381 ring = kcalloc(total_descs, sizeof(*ring), flags); in ioat_alloc_ring()
385 chunks = (total_descs * IOAT_DESC_SZ) / IOAT_CHUNK_SIZE; in ioat_alloc_ring()
411 for (i = 0; i < total_descs; i++) { in ioat_alloc_ring()
436 for (i = 0; i < total_descs-1; i++) { in ioat_alloc_ring()
H A Dinit.c612 const int total_descs = 1 << ioat_chan->alloc_order; in ioat_free_chan_resources() local
643 if (descs < total_descs) in ioat_free_chan_resources()
645 total_descs - descs); in ioat_free_chan_resources()
647 for (i = 0; i < total_descs - descs; i++) { in ioat_free_chan_resources()

Completed in 8 milliseconds