Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/mm/
Dcma.c54 unsigned int align_order) in cma_bitmap_aligned_mask() argument
56 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask()
58 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask()
66 unsigned int align_order) in cma_bitmap_aligned_offset() argument
68 return (cma->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset()
/linux-6.12.1/arch/sparc/include/asm/
Diommu-common.h47 unsigned int align_order);
/linux-6.12.1/arch/powerpc/kernel/
Diommu.c219 unsigned int align_order) in iommu_range_alloc() argument
230 align_mask = (1ull << align_order) - 1; in iommu_range_alloc()
349 unsigned long mask, unsigned int align_order, in iommu_alloc() argument
356 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order); in iommu_alloc()
/linux-6.12.1/drivers/pci/
Dpci.c6548 int align_order, count; in pci_specified_resource_alignment() local
6565 if (sscanf(p, "%d%n", &align_order, &count) == 1 && in pci_specified_resource_alignment()
6568 if (align_order > 63) { in pci_specified_resource_alignment()
6570 align_order); in pci_specified_resource_alignment()
6571 align_order = PAGE_SHIFT; in pci_specified_resource_alignment()
6574 align_order = PAGE_SHIFT; in pci_specified_resource_alignment()
6580 align = 1ULL << align_order; in pci_specified_resource_alignment()