Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_iomap.h26 xfs_extlen_t extsz) in xfs_aligned_fsb_count() argument
28 if (extsz) { in xfs_aligned_fsb_count()
31 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
34 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
36 count_fsb += extsz - align; in xfs_aligned_fsb_count()
Dxfs_bmap_util.c865 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
889 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
907 if (unlikely(extsz)) { in xfs_alloc_file_space()
909 do_div(s, extsz); in xfs_alloc_file_space()
910 s *= extsz; in xfs_alloc_file_space()
912 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space()
915 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space()
917 e += extsz - temp; in xfs_alloc_file_space()
Dxfs_bmap_util.h49 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
Dxfs_iomap.c179 xfs_extlen_t extsz; in xfs_iomap_write_direct() local
191 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_direct()
208 error = xfs_iomap_eof_align_last_fsb(ip, extsz, &last_fsb); in xfs_iomap_write_direct()
219 resaligned = xfs_aligned_fsb_count(offset_fsb, count_fsb, extsz); in xfs_iomap_write_direct()
/fs/xfs/libxfs/
Dxfs_bmap.c2873 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
2914 div_u64_rem(orig_off, extsz, &temp); in xfs_bmap_extsize_align()
2921 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
2923 align_alen += extsz - temp; in xfs_bmap_extsize_align()
2934 align_alen -= extsz; in xfs_bmap_extsize_align()
3027 align_alen + extsz > MAXEXTLEN); in xfs_bmap_extsize_align()
3948 xfs_extlen_t extsz = xfs_get_cowextsz_hint(ip); in xfs_bmapi_reserve_delalloc() local
3953 error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof, in xfs_bmapi_reserve_delalloc()