Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_iomap.c69 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_iomap_eof_align_last_fsb()
145 if ((offset + count) > XFS_ISIZE(ip)) { in xfs_iomap_write_direct()
305 if (offset + count <= XFS_ISIZE(ip)) in xfs_iomap_eof_want_preallocate()
314 XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_writeio_blocks)) in xfs_iomap_eof_want_preallocate()
379 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign)) in xfs_iomap_eof_prealloc_initial_size()
771 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_iomap_write_allocate()
Dxfs_bmap_util.c485 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole()
573 fixlen = XFS_ISIZE(ip); in xfs_getbmap()
603 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_d.di_size)) { in xfs_getbmap()
685 map[i].br_startoff < XFS_B_TO_FSB(mp, XFS_ISIZE(ip))) in xfs_getbmap()
877 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks()
931 XFS_ISIZE(ip)); in xfs_free_eofblocks()
1139 if (startoff >= XFS_ISIZE(ip)) in xfs_zero_remaining_bytes()
1142 if (endoff > XFS_ISIZE(ip)) in xfs_zero_remaining_bytes()
1143 endoff = XFS_ISIZE(ip); in xfs_zero_remaining_bytes()
Dxfs_ioctl.c673 bf->l_start += XFS_ISIZE(ip); in xfs_ioc_space()
730 if (bf->l_start > XFS_ISIZE(ip)) { in xfs_ioc_space()
731 error = xfs_alloc_file_space(ip, XFS_ISIZE(ip), in xfs_ioc_space()
732 bf->l_start - XFS_ISIZE(ip), in xfs_ioc_space()
Dxfs_inode.h89 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() function
Dxfs_icache.c1356 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_eofblocks()
Dxfs_inode.c1565 ASSERT(new_size <= XFS_ISIZE(ip)); in xfs_itruncate_extents()
1904 (ip->i_d.di_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive()
Dxfs_iops.c455 stat->size = XFS_ISIZE(ip); in xfs_vn_getattr()
/fs/xfs/libxfs/
Dxfs_bmap.c1685 return XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize; in xfs_bmap_one_block()
1697 ASSERT(XFS_ISIZE(ip) == ip->i_mount->m_sb.sb_blocksize); in xfs_bmap_one_block()