Lines Matching refs:align
34 mask = dev_dax->align - 1; in check_vma()
114 if (dev_dax->align > PAGE_SIZE) { in __dev_dax_pte_fault()
116 dev_dax->align, fault_size); in __dev_dax_pte_fault()
120 if (fault_size != dev_dax->align) in __dev_dax_pte_fault()
149 if (dev_dax->align > PMD_SIZE) { in __dev_dax_pmd_fault()
151 dev_dax->align, fault_size); in __dev_dax_pmd_fault()
155 if (fault_size < dev_dax->align) in __dev_dax_pmd_fault()
157 else if (fault_size > dev_dax->align) in __dev_dax_pmd_fault()
194 if (dev_dax->align > PUD_SIZE) { in __dev_dax_pud_fault()
196 dev_dax->align, fault_size); in __dev_dax_pud_fault()
200 if (fault_size < dev_dax->align) in __dev_dax_pud_fault()
202 else if (fault_size > dev_dax->align) in __dev_dax_pud_fault()
267 if (!IS_ALIGNED(addr, dev_dax->align)) in dev_dax_may_split()
277 return dev_dax->align; in dev_dax_pagesize()
314 unsigned long off, off_end, off_align, len_align, addr_align, align; in dax_get_unmapped_area() local
320 align = dev_dax->align; in dax_get_unmapped_area()
323 off_align = round_up(off, align); in dax_get_unmapped_area()
325 if ((off_end <= off_align) || ((off_end - off_align) < align)) in dax_get_unmapped_area()
328 len_align = len + align; in dax_get_unmapped_area()
335 addr_align += (off - addr_align) & (align - 1); in dax_get_unmapped_area()
445 if (dev_dax->align > PAGE_SIZE) in dev_dax_probe()
447 order_base_2(dev_dax->align >> PAGE_SHIFT); in dev_dax_probe()