Searched refs:dma_pages (Results 1 – 2 of 2) sorted by relevance
208 if (!pool->dma_pages) { in xp_assign_dev()319 dma_map->dma_pages = kvcalloc(nr_pages, sizeof(*dma_map->dma_pages), GFP_KERNEL); in xp_create_dma_map()320 if (!dma_map->dma_pages) { in xp_create_dma_map()363 if (!pool->dma_pages) in xp_dma_unmap()376 kvfree(pool->dma_pages); in xp_dma_unmap()377 pool->dma_pages = NULL; in xp_dma_unmap()388 if (dma_map->dma_pages[i] + PAGE_SIZE == dma_map->dma_pages[i + 1]) in xp_check_dma_contiguity()408 if (!pool->dma_pages) in xp_init_dma_info()414 memcpy(pool->dma_pages, dma_map->dma_pages, in xp_init_dma_info()517 if (pool->dma_pages) in __xp_alloc()[all …]
38 dma_addr_t *dma_pages; member68 dma_addr_t *dma_pages; member126 dma_addr_t *dma_pages, u64 addr) in xp_init_xskb_dma() argument128 xskb->frame_dma = (dma_pages[addr >> PAGE_SHIFT] & ~XSK_NEXT_PG_CONTIG_MASK) + in xp_init_xskb_dma()185 return pool->dma_pages && in xp_desc_crosses_non_contig_pg()186 !(pool->dma_pages[addr >> PAGE_SHIFT] & XSK_NEXT_PG_CONTIG_MASK); in xp_desc_crosses_non_contig_pg()