Searched refs:extsz (Results 1 – 4 of 4) sorted by relevance
/fs/xfs/ |
D | xfs_rw.h | 53 xfs_extlen_t extsz; in xfs_get_extsz_hint() local 56 extsz = (ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) in xfs_get_extsz_hint() 59 ASSERT(extsz); in xfs_get_extsz_hint() 61 extsz = (ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) in xfs_get_extsz_hint() 64 return extsz; in xfs_get_extsz_hint()
|
D | xfs_iomap.c | 404 xfs_extlen_t extsz, temp; in xfs_iomap_write_direct() local 425 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_direct() 430 error = xfs_iomap_eof_align_last_fsb(mp, ip, extsz, &last_fsb); in xfs_iomap_write_direct() 443 if (unlikely(extsz)) { in xfs_iomap_write_direct() 444 if ((temp = do_mod(offset_fsb, extsz))) in xfs_iomap_write_direct() 446 if ((temp = do_mod(resaligned, extsz))) in xfs_iomap_write_direct() 447 resaligned += extsz - temp; in xfs_iomap_write_direct() 488 if ((flags & BMAPI_DIRECT) && (offset < ip->i_size || extsz)) in xfs_iomap_write_direct() 611 xfs_extlen_t extsz; in xfs_iomap_write_delay() local 627 extsz = xfs_get_extsz_hint(ip); in xfs_iomap_write_delay() [all …]
|
D | xfs_vnodeops.c | 2746 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local 2772 extsz = xfs_get_extsz_hint(ip); in xfs_alloc_file_space() 2806 if (unlikely(extsz)) { in xfs_alloc_file_space() 2808 do_div(s, extsz); in xfs_alloc_file_space() 2809 s *= extsz; in xfs_alloc_file_space() 2811 if ((temp = do_mod(startoffset_fsb, extsz))) in xfs_alloc_file_space() 2813 if ((temp = do_mod(e, extsz))) in xfs_alloc_file_space() 2814 e += extsz - temp; in xfs_alloc_file_space()
|
D | xfs_bmap.c | 2302 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align() argument 2343 temp = do_mod(orig_off, extsz); in xfs_bmap_extsize_align() 2351 if ((temp = (align_alen % extsz))) { in xfs_bmap_extsize_align() 2352 align_alen += extsz - temp; in xfs_bmap_extsize_align() 4947 xfs_extlen_t extsz; in xfs_bmapi() local 4950 extsz = xfs_get_extsz_hint(ip); in xfs_bmapi() 4951 if (extsz) { in xfs_bmapi() 4953 &got, &prev, extsz, in xfs_bmapi() 4962 extsz = alen / mp->m_sb.sb_rextsize; in xfs_bmapi() 4993 -((int64_t)extsz), (flags & in xfs_bmapi() [all …]
|