Home
last modified time | relevance | path

Searched refs:total_descs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/dma/ioat/
Ddma.c376 int total_descs = 1 << order; in ioat_alloc_ring() local
380 ring = kcalloc(total_descs, sizeof(*ring), flags); in ioat_alloc_ring()
384 ioat_chan->desc_chunks = chunks = (total_descs * IOAT_DESC_SZ) / SZ_2M; in ioat_alloc_ring()
407 for (i = 0; i < total_descs; i++) { in ioat_alloc_ring()
432 for (i = 0; i < total_descs-1; i++) { in ioat_alloc_ring()
Dinit.c626 const int total_descs = 1 << ioat_chan->alloc_order; in ioat_free_chan_resources() local
648 if (descs < total_descs) in ioat_free_chan_resources()
650 total_descs - descs); in ioat_free_chan_resources()
652 for (i = 0; i < total_descs - descs; i++) { in ioat_free_chan_resources()