Home
last modified time | relevance | path

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

/Linux-v6.6/fs/xfs/
Dxfs_iomap.h34 xfs_extlen_t extsz) in xfs_aligned_fsb_count() argument
36 if (extsz) { in xfs_aligned_fsb_count()
39 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
42 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
44 count_fsb += extsz - align; in xfs_aligned_fsb_count()
Dxfs_bmap_util.c785 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
807 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
826 if (unlikely(extsz)) { in xfs_alloc_file_space()
828 do_div(s, extsz); in xfs_alloc_file_space()
829 s *= extsz; in xfs_alloc_file_space()
831 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space()
834 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space()
836 e += extsz - temp; in xfs_alloc_file_space()
Dxfs_bmap_util.h47 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
Dxfs_iomap.c206 xfs_extlen_t extsz = xfs_get_extsz_hint(ip); in xfs_iomap_eof_align_last_fsb() local
216 if (extsz) { in xfs_iomap_eof_align_last_fsb()
218 align = roundup_64(align, extsz); in xfs_iomap_eof_align_last_fsb()
220 align = extsz; in xfs_iomap_eof_align_last_fsb()
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_bmap.c2876 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
2917 div_u64_rem(orig_off, extsz, &temp); in xfs_bmap_extsize_align()
2924 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
2926 align_alen += extsz - temp; in xfs_bmap_extsize_align()
2937 align_alen -= extsz; in xfs_bmap_extsize_align()
3030 align_alen + extsz > XFS_MAX_BMBT_EXTLEN); in xfs_bmap_extsize_align()
3987 xfs_extlen_t extsz = xfs_get_cowextsz_hint(ip); in xfs_bmapi_reserve_delalloc() local
3992 error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof, in xfs_bmapi_reserve_delalloc()