Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_iomap.h28 xfs_extlen_t extsz) in xfs_aligned_fsb_count() argument
30 if (extsz) { in xfs_aligned_fsb_count()
33 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
36 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
38 count_fsb += extsz - align; in xfs_aligned_fsb_count()
Dxfs_bmap_util.h49 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
Dxfs_bmap_util.c870 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
893 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
910 if (unlikely(extsz)) { in xfs_alloc_file_space()
912 do_div(s, extsz); in xfs_alloc_file_space()
913 s *= extsz; in xfs_alloc_file_space()
915 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space()
918 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space()
920 e += extsz - temp; in xfs_alloc_file_space()
Dxfs_iomap.c155 xfs_extlen_t extsz; in xfs_iomap_write_direct() local
167 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_direct()
184 error = xfs_iomap_eof_align_last_fsb(ip, extsz, &last_fsb); in xfs_iomap_write_direct()
195 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, extsz); in xfs_iomap_write_direct()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap.c2875 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
2916 div_u64_rem(orig_off, extsz, &temp); in xfs_bmap_extsize_align()
2923 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
2925 align_alen += extsz - temp; in xfs_bmap_extsize_align()
2936 align_alen -= extsz; in xfs_bmap_extsize_align()
3029 align_alen + extsz > MAXEXTLEN); in xfs_bmap_extsize_align()
3957 xfs_extlen_t extsz = xfs_get_cowextsz_hint(ip); in xfs_bmapi_reserve_delalloc() local
3962 error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof, in xfs_bmapi_reserve_delalloc()