Lines Matching refs:align_off
2886 xfs_fileoff_t align_off; /* temp for offset */ in xfs_bmap_extsize_align() local
2893 orig_off = align_off = *offp; in xfs_bmap_extsize_align()
2917 align_off -= temp; in xfs_bmap_extsize_align()
2948 if (align_off != orig_off && align_off < prevo) in xfs_bmap_extsize_align()
2949 align_off = prevo; in xfs_bmap_extsize_align()
2967 align_off + align_alen != orig_end && in xfs_bmap_extsize_align()
2968 align_off + align_alen > nexto) in xfs_bmap_extsize_align()
2969 align_off = nexto > align_alen ? nexto - align_alen : 0; in xfs_bmap_extsize_align()
2976 if (align_off != orig_off && align_off < prevo) in xfs_bmap_extsize_align()
2977 align_off = prevo; in xfs_bmap_extsize_align()
2978 if (align_off + align_alen != orig_end && in xfs_bmap_extsize_align()
2979 align_off + align_alen > nexto && in xfs_bmap_extsize_align()
2982 align_alen = nexto - align_off; in xfs_bmap_extsize_align()
2994 if (orig_off < align_off || in xfs_bmap_extsize_align()
2995 orig_end > align_off + align_alen || in xfs_bmap_extsize_align()
3001 if (align_off + temp <= orig_off) { in xfs_bmap_extsize_align()
3003 align_off += temp; in xfs_bmap_extsize_align()
3008 else if (align_off + align_alen - temp >= orig_end) in xfs_bmap_extsize_align()
3014 align_alen -= orig_off - align_off; in xfs_bmap_extsize_align()
3015 align_off = orig_off; in xfs_bmap_extsize_align()
3021 if (orig_off < align_off || orig_end > align_off + align_alen) in xfs_bmap_extsize_align()
3024 ASSERT(orig_off >= align_off); in xfs_bmap_extsize_align()
3026 ASSERT(orig_end <= align_off + align_alen || in xfs_bmap_extsize_align()
3032 ASSERT(align_off + align_alen <= gotp->br_startoff); in xfs_bmap_extsize_align()
3034 ASSERT(align_off >= prevp->br_startoff + prevp->br_blockcount); in xfs_bmap_extsize_align()
3038 *offp = align_off; in xfs_bmap_extsize_align()