Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_bmap_util.c282 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
419 max_len = XFS_ISIZE(ip); in xfs_getbmap()
426 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_d.di_size)) { in xfs_getbmap()
446 max_len = XFS_ISIZE(ip); in xfs_getbmap()
487 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap()
520 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
652 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks()
697 XFS_ISIZE(ip), XFS_BMAPI_NODISCARD); in xfs_free_eofblocks()
972 if (offset >= XFS_ISIZE(ip)) in xfs_free_file_space()
974 if (offset + len > XFS_ISIZE(ip)) in xfs_free_file_space()
[all …]
Dxfs_iomap.c140 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment()
386 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks)) in xfs_iomap_prealloc_size()
393 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size()
819 if (offset + length > XFS_ISIZE(ip)) in xfs_direct_write_iomap_begin()
990 if (eof && offset + count > XFS_ISIZE(ip)) { in xfs_buffered_write_iomap_begin()
Dxfs_reflink.c1339 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1340 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep()
1341 ret = xfs_flush_unmap_range(dest, XFS_ISIZE(dest), flen); in xfs_reflink_remap_prep()
Dxfs_pnfs.c150 if (offset + length > XFS_ISIZE(ip)) in xfs_fs_map_blocks()
Dxfs_inode.h86 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() function
Dxfs_ioctl.c675 bf->l_start += XFS_ISIZE(ip); in xfs_ioc_space()
687 if (bf->l_start > XFS_ISIZE(ip)) { in xfs_ioc_space()
688 error = xfs_alloc_file_space(ip, XFS_ISIZE(ip), in xfs_ioc_space()
689 bf->l_start - XFS_ISIZE(ip), in xfs_ioc_space()
Dxfs_iops.c548 stat->size = XFS_ISIZE(ip); in xfs_vn_getattr()
Dxfs_icache.c1323 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_matches_eofb()
Dxfs_inode.c1503 ASSERT(new_size <= XFS_ISIZE(ip)); in xfs_itruncate_extents_flags()
1847 (ip->i_d.di_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive()
/fs/xfs/libxfs/
Dxfs_bmap.c1467 return XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize; in xfs_bmap_one_block()
1478 ASSERT(XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize); in xfs_bmap_one_block()