Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_iomap.c125 xfs_extlen_t extsz, temp; in xfs_iomap_write_direct() local
138 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_direct()
155 error = xfs_iomap_eof_align_last_fsb(mp, ip, extsz, &last_fsb); in xfs_iomap_write_direct()
168 if (unlikely(extsz)) { in xfs_iomap_write_direct()
169 if ((temp = do_mod(offset_fsb, extsz))) in xfs_iomap_write_direct()
171 if ((temp = do_mod(resaligned, extsz))) in xfs_iomap_write_direct()
172 resaligned += extsz - temp; in xfs_iomap_write_direct()
580 xfs_extlen_t extsz; in xfs_iomap_write_delay() local
596 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_delay()
618 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.c962 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local
988 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space()
1005 if (unlikely(extsz)) { in xfs_alloc_file_space()
1007 do_div(s, extsz); in xfs_alloc_file_space()
1008 s *= extsz; in xfs_alloc_file_space()
1010 if ((temp = do_mod(startoffset_fsb, extsz))) in xfs_alloc_file_space()
1012 if ((temp = do_mod(e, extsz))) in xfs_alloc_file_space()
1013 e += extsz - temp; in xfs_alloc_file_space()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_bmap.c3180 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument
3221 temp = do_mod(orig_off, extsz); in xfs_bmap_extsize_align()
3228 temp = (align_alen % extsz); in xfs_bmap_extsize_align()
3230 align_alen += extsz - temp; in xfs_bmap_extsize_align()
3241 align_alen -= extsz; in xfs_bmap_extsize_align()
3334 align_alen + extsz > MAXEXTLEN); in xfs_bmap_extsize_align()
4111 xfs_extlen_t extsz; in xfs_bmapi_reserve_delalloc() local
4119 extsz = xfs_get_extsz_hint(ip); in xfs_bmapi_reserve_delalloc()
4120 if (extsz) { in xfs_bmapi_reserve_delalloc()
4121 error = xfs_bmap_extsize_align(mp, got, prev, extsz, rt, eof, in xfs_bmapi_reserve_delalloc()
[all …]