Lines Matching refs:align
112 xfs_extlen_t align = 0; in xfs_eof_alignment() local
124 align = mp->m_swidth; in xfs_eof_alignment()
126 align = mp->m_dalign; in xfs_eof_alignment()
128 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment()
129 align = 0; in xfs_eof_alignment()
137 if (align) in xfs_eof_alignment()
138 align = roundup_64(align, extsize); in xfs_eof_alignment()
140 align = extsize; in xfs_eof_alignment()
143 return align; in xfs_eof_alignment()
152 xfs_extlen_t align = xfs_eof_alignment(ip, extsize); in xfs_iomap_eof_align_last_fsb() local
154 if (align) { in xfs_iomap_eof_align_last_fsb()
155 xfs_fileoff_t new_last_fsb = roundup_64(*last_fsb, align); in xfs_iomap_eof_align_last_fsb()
666 xfs_extlen_t align; in xfs_file_iomap_begin_delay() local
674 align = xfs_eof_alignment(ip, 0); in xfs_file_iomap_begin_delay()
675 if (align) in xfs_file_iomap_begin_delay()
676 p_end_fsb = roundup_64(p_end_fsb, align); in xfs_file_iomap_begin_delay()