Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Ddma-iommu.c578 static struct page **iommu_dma_alloc_pages_ext(struct device *dev, unsigned int count, unsigned long order_mask, in iommu_dma_alloc_pages_ext() argument
584 order_mask &= (2U << MAX_ORDER) - 1; in iommu_dma_alloc_pages_ext()
585 if (!order_mask) { in iommu_dma_alloc_pages_ext()
609 for (order_mask &= (2U << __fls(count)) - 1; order_mask; order_mask &= ~order_size) { in iommu_dma_alloc_pages_ext()
610 unsigned int order = __fls(order_mask); in iommu_dma_alloc_pages_ext()
614 if (order_mask > (unsigned long)order_size) { in iommu_dma_alloc_pages_ext()

Completed in 2 milliseconds