Home
last modified time | relevance | path

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

/linux-6.1.9/net/xdp/
Dxsk_buff_pool.c315 dma_map->dma_pages_cnt = nr_pages; in xp_create_dma_map()
333 for (i = 0; i < dma_map->dma_pages_cnt; i++) { in __xp_dma_unmap()
350 if (pool->dma_pages_cnt == 0) in xp_dma_unmap()
364 pool->dma_pages_cnt = 0; in xp_dma_unmap()
373 for (i = 0; i < dma_map->dma_pages_cnt - 1; i++) { in xp_check_dma_contiguity()
393 pool->dma_pages = kvcalloc(dma_map->dma_pages_cnt, sizeof(*pool->dma_pages), GFP_KERNEL); in xp_init_dma_info()
398 pool->dma_pages_cnt = dma_map->dma_pages_cnt; in xp_init_dma_info()
401 pool->dma_pages_cnt * sizeof(*pool->dma_pages)); in xp_init_dma_info()
428 for (i = 0; i < dma_map->dma_pages_cnt; i++) { in xp_dma_map()
503 if (pool->dma_pages_cnt) in __xp_alloc()
[all …]
/linux-6.1.9/include/net/
Dxsk_buff_pool.h37 u32 dma_pages_cnt; member
67 u32 dma_pages_cnt; member
178 if (pool->dma_pages_cnt) { in xp_desc_crosses_non_contig_pg()