Searched refs:order_mask (Results 1 – 2 of 2) sorted by relevance
38 unsigned int order_mask = 1; in imgu_dmamap_alloc_buffer() local53 for (order_mask &= (2U << __fls(count)) - 1; in imgu_dmamap_alloc_buffer()54 order_mask; order_mask &= ~order_size) { in imgu_dmamap_alloc_buffer()55 unsigned int order = __fls(order_mask); in imgu_dmamap_alloc_buffer()58 page = alloc_pages((order_mask - order_size) ? in imgu_dmamap_alloc_buffer()
778 unsigned int count, unsigned long order_mask, gfp_t gfp) in __iommu_dma_alloc_pages() argument783 order_mask &= GENMASK(MAX_ORDER, 0); in __iommu_dma_alloc_pages()784 if (!order_mask) in __iommu_dma_alloc_pages()803 for (order_mask &= GENMASK(__fls(count), 0); in __iommu_dma_alloc_pages()804 order_mask; order_mask &= ~order_size) { in __iommu_dma_alloc_pages()805 unsigned int order = __fls(order_mask); in __iommu_dma_alloc_pages()809 if (order_mask > order_size) in __iommu_dma_alloc_pages()