Lines Matching refs:align_alen

2866 	xfs_extlen_t	align_alen;	/* temp for length */  in xfs_bmap_extsize_align()  local
2873 orig_alen = align_alen = *lenp; in xfs_bmap_extsize_align()
2895 align_alen += temp; in xfs_bmap_extsize_align()
2900 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
2902 align_alen += extsz - temp; in xfs_bmap_extsize_align()
2912 while (align_alen > XFS_MAX_BMBT_EXTLEN) in xfs_bmap_extsize_align()
2913 align_alen -= extsz; in xfs_bmap_extsize_align()
2914 ASSERT(align_alen <= XFS_MAX_BMBT_EXTLEN); in xfs_bmap_extsize_align()
2946 align_off + align_alen != orig_end && in xfs_bmap_extsize_align()
2947 align_off + align_alen > nexto) in xfs_bmap_extsize_align()
2948 align_off = nexto > align_alen ? nexto - align_alen : 0; in xfs_bmap_extsize_align()
2957 if (align_off + align_alen != orig_end && in xfs_bmap_extsize_align()
2958 align_off + align_alen > nexto && in xfs_bmap_extsize_align()
2961 align_alen = nexto - align_off; in xfs_bmap_extsize_align()
2968 if (rt && (temp = (align_alen % mp->m_sb.sb_rextsize))) { in xfs_bmap_extsize_align()
2974 orig_end > align_off + align_alen || in xfs_bmap_extsize_align()
2975 align_alen - temp < orig_alen) in xfs_bmap_extsize_align()
2981 align_alen -= temp; in xfs_bmap_extsize_align()
2987 else if (align_off + align_alen - temp >= orig_end) in xfs_bmap_extsize_align()
2988 align_alen -= temp; in xfs_bmap_extsize_align()
2993 align_alen -= orig_off - align_off; in xfs_bmap_extsize_align()
2995 align_alen -= align_alen % mp->m_sb.sb_rextsize; in xfs_bmap_extsize_align()
3000 if (orig_off < align_off || orig_end > align_off + align_alen) in xfs_bmap_extsize_align()
3005 ASSERT(orig_end <= align_off + align_alen || in xfs_bmap_extsize_align()
3006 align_alen + extsz > XFS_MAX_BMBT_EXTLEN); in xfs_bmap_extsize_align()
3011 ASSERT(align_off + align_alen <= gotp->br_startoff); in xfs_bmap_extsize_align()
3016 *lenp = align_alen; in xfs_bmap_extsize_align()