Home
last modified time | relevance | path

Searched refs:XFS_ISIZE (Results 1 – 6 of 6) sorted by relevance

/linux/fs/xfs/
H A Dxfs_bmap_util.c307 max_len = XFS_ISIZE(ip); in xfs_getbmap()
311 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_disk_size)) { in xfs_getbmap()
330 max_len = XFS_ISIZE(ip); in xfs_getbmap()
371 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap()
404 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
549 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks()
600 round_up(XFS_ISIZE(ip), mp->m_sb.sb_blocksize), in xfs_free_eofblocks()
623 XFS_ISIZE(ip), XFS_BMAPI_NODISCARD); in xfs_free_eofblocks()
896 if (offset >= XFS_ISIZE(ip)) in xfs_free_file_space()
898 if (offset + len > XFS_ISIZE(ip)) in xfs_free_file_space()
[all …]
H A Dxfs_iomap.c218 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment()
501 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks)) in xfs_iomap_prealloc_size()
508 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size()
1003 if (offset + length > XFS_ISIZE(ip)) in xfs_direct_write_iomap_begin()
1833 xfs_fileoff_t eof_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_buffered_write_iomap_begin()
1936 if (eof && offset + count > XFS_ISIZE(ip)) { in xfs_buffered_write_iomap_begin()
H A Dxfs_reflink.c1713 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1714 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep()
1715 ret = xfs_flush_unmap_range(dest, XFS_ISIZE(dest), flen); in xfs_reflink_remap_prep()
H A Dxfs_inode.h192 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() function
H A Dxfs_inode.c1051 ASSERT(new_size <= XFS_ISIZE(ip)); in xfs_itruncate_extents_flags()
1437 (ip->i_disk_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive()
H A Dxfs_iops.c700 stat->size = XFS_ISIZE(ip); in xfs_vn_getattr()