Home
last modified time | relevance | path

Searched refs:align_order (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/mm/
Dcma.c59 unsigned int align_order) in cma_bitmap_aligned_mask() argument
61 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask()
63 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask()
71 unsigned int align_order) in cma_bitmap_aligned_offset() argument
73 return (cma->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset()
/Linux-v6.6/arch/sparc/kernel/
Diommu-common.c102 unsigned int align_order) in iommu_tbl_range_alloc() argument
116 if (align_order > 0) in iommu_tbl_range_alloc()
117 align_mask = ~0ul >> (BITS_PER_LONG - align_order); in iommu_tbl_range_alloc()
/Linux-v6.6/arch/sparc/include/asm/
Diommu-common.h47 unsigned int align_order);
/Linux-v6.6/arch/powerpc/kernel/
Diommu.c218 unsigned int align_order) in iommu_range_alloc() argument
229 align_mask = (1ull << align_order) - 1; in iommu_range_alloc()
348 unsigned long mask, unsigned int align_order, in iommu_alloc() argument
355 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order); in iommu_alloc()
/Linux-v6.6/drivers/pci/
Dpci.c6636 int align_order, count; in pci_specified_resource_alignment() local
6653 if (sscanf(p, "%d%n", &align_order, &count) == 1 && in pci_specified_resource_alignment()
6656 if (align_order > 63) { in pci_specified_resource_alignment()
6658 align_order); in pci_specified_resource_alignment()
6659 align_order = PAGE_SHIFT; in pci_specified_resource_alignment()
6662 align_order = PAGE_SHIFT; in pci_specified_resource_alignment()
6668 align = 1ULL << align_order; in pci_specified_resource_alignment()