Searched refs:align_order (Results 1 – 5 of 5) sorted by relevance
/linux/mm/ |
A D | cma.c | 57 unsigned int align_order) in cma_bitmap_aligned_mask() argument 59 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask() 61 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask() 69 unsigned int align_order) in cma_bitmap_aligned_offset() argument 71 return (cma->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset()
|
/linux/arch/sparc/kernel/ |
A D | iommu-common.c | 102 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/arch/sparc/include/asm/ |
A D | iommu-common.h | 47 unsigned int align_order);
|
/linux/arch/powerpc/kernel/ |
A D | iommu.c | 209 unsigned int align_order) in iommu_range_alloc() argument 220 align_mask = (1ull << align_order) - 1; in iommu_range_alloc() 339 unsigned long mask, unsigned int align_order, in iommu_alloc() argument 346 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order); in iommu_alloc()
|
/linux/drivers/pci/ |
A D | pci.c | 6478 int align_order, count; in pci_specified_resource_alignment() local 6495 if (sscanf(p, "%d%n", &align_order, &count) == 1 && in pci_specified_resource_alignment() 6498 if (align_order > 63) { in pci_specified_resource_alignment() 6500 align_order); in pci_specified_resource_alignment() 6501 align_order = PAGE_SHIFT; in pci_specified_resource_alignment() 6504 align_order = PAGE_SHIFT; in pci_specified_resource_alignment() 6510 align = 1ULL << align_order; in pci_specified_resource_alignment()
|
Completed in 19 milliseconds