Searched refs:align_order (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/mm/ |
D | cma.c | 58 unsigned int align_order) in cma_bitmap_aligned_mask() argument 60 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask() 62 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask() 70 unsigned int align_order) in cma_bitmap_aligned_offset() argument 72 return (cma->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset()
|
/linux-6.1.9/arch/sparc/kernel/ |
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-6.1.9/arch/sparc/include/asm/ |
D | iommu-common.h | 47 unsigned int align_order);
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | iommu.c | 208 unsigned int align_order) in iommu_range_alloc() argument 219 align_mask = (1ull << align_order) - 1; in iommu_range_alloc() 338 unsigned long mask, unsigned int align_order, in iommu_alloc() argument 345 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order); in iommu_alloc()
|
/linux-6.1.9/drivers/pci/ |
D | pci.c | 6515 int align_order, count; in pci_specified_resource_alignment() local 6532 if (sscanf(p, "%d%n", &align_order, &count) == 1 && in pci_specified_resource_alignment() 6535 if (align_order > 63) { in pci_specified_resource_alignment() 6537 align_order); in pci_specified_resource_alignment() 6538 align_order = PAGE_SHIFT; in pci_specified_resource_alignment() 6541 align_order = PAGE_SHIFT; in pci_specified_resource_alignment() 6547 align = 1ULL << align_order; in pci_specified_resource_alignment()
|