Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/
Dxfs_iomap.h27 xfs_extlen_t extsz) in xfs_aligned_fsb_count() argument
29 if (extsz) { in xfs_aligned_fsb_count()
32 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
35 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
37 count_fsb += extsz - align; in xfs_aligned_fsb_count()
Dxfs_bmap_util.c726 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
750 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
768 if (unlikely(extsz)) { in xfs_alloc_file_space()
770 do_div(s, extsz); in xfs_alloc_file_space()
771 s *= extsz; in xfs_alloc_file_space()
773 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space()
776 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space()
778 e += extsz - temp; in xfs_alloc_file_space()
Dxfs_bmap_util.h47 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
Dxfs_iomap.c157 xfs_extlen_t extsz = xfs_get_extsz_hint(ip); in xfs_iomap_eof_align_last_fsb() local
167 if (extsz) { in xfs_iomap_eof_align_last_fsb()
169 align = roundup_64(align, extsz); in xfs_iomap_eof_align_last_fsb()
171 align = extsz; in xfs_iomap_eof_align_last_fsb()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_bmap.c2956 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
2997 div_u64_rem(orig_off, extsz, &temp); in xfs_bmap_extsize_align()
3004 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
3006 align_alen += extsz - temp; in xfs_bmap_extsize_align()
3017 align_alen -= extsz; in xfs_bmap_extsize_align()
3110 align_alen + extsz > MAXEXTLEN); in xfs_bmap_extsize_align()
3989 xfs_extlen_t extsz = xfs_get_cowextsz_hint(ip); in xfs_bmapi_reserve_delalloc() local
3994 error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof, in xfs_bmapi_reserve_delalloc()