Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/
Dxfs_iomap.c125 xfs_extlen_t extsz, temp; in xfs_iomap_write_direct() local
140 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_direct()
145 error = xfs_iomap_eof_align_last_fsb(mp, ip, extsz, &last_fsb); in xfs_iomap_write_direct()
158 if (unlikely(extsz)) { in xfs_iomap_write_direct()
159 if ((temp = do_mod(offset_fsb, extsz))) in xfs_iomap_write_direct()
161 if ((temp = do_mod(resaligned, extsz))) in xfs_iomap_write_direct()
162 resaligned += extsz - temp; in xfs_iomap_write_direct()
542 xfs_extlen_t extsz; in xfs_iomap_write_delay() local
558 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_delay()
580 if (prealloc || extsz) { in xfs_iomap_write_delay()
[all …]
Dxfs_bmap_util.h49 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
Dxfs_bmap_util.c939 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
965 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
982 if (unlikely(extsz)) { in xfs_alloc_file_space()
984 do_div(s, extsz); in xfs_alloc_file_space()
985 s *= extsz; in xfs_alloc_file_space()
987 if ((temp = do_mod(startoffset_fsb, extsz))) in xfs_alloc_file_space()
989 if ((temp = do_mod(e, extsz))) in xfs_alloc_file_space()
990 e += extsz - temp; in xfs_alloc_file_space()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.c3181 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
3222 temp = do_mod(orig_off, extsz); in xfs_bmap_extsize_align()
3229 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
3231 align_alen += extsz - temp; in xfs_bmap_extsize_align()
3242 align_alen -= extsz; in xfs_bmap_extsize_align()
3335 align_alen + extsz > MAXEXTLEN); in xfs_bmap_extsize_align()
4106 xfs_extlen_t extsz; in xfs_bmapi_reserve_delalloc() local
4114 extsz = xfs_get_extsz_hint(ip); in xfs_bmapi_reserve_delalloc()
4115 if (extsz) { in xfs_bmapi_reserve_delalloc()
4116 error = xfs_bmap_extsize_align(mp, got, prev, extsz, rt, eof, in xfs_bmapi_reserve_delalloc()
[all …]