Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_inode.h67 uint8_t i_forkoff; /* attr fork offset >> 3 */ member
106 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork()
131 return ip->i_forkoff << 3; in xfs_inode_fork_boff()
H A Dxfs_inode.c1466 ASSERT(ip->i_forkoff == 0); in xfs_inactive()
2417 if (XFS_TEST_ERROR(ip->i_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()
2421 __func__, ip->i_ino, ip->i_forkoff, ip); in xfs_iflush()
H A Dxfs_icache.c125 ip->i_forkoff = 0; in xfs_inode_alloc()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c666 return dp->i_forkoff; in xfs_attr_shortform_bytesfit()
687 if (!dp->i_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit()
698 if (dp->i_forkoff) { in xfs_attr_shortform_bytesfit()
699 if (offset < dp->i_forkoff) in xfs_attr_shortform_bytesfit()
701 return dp->i_forkoff; in xfs_attr_shortform_bytesfit()
812 dp->i_forkoff = forkoff; in xfs_attr_shortform_add()
845 ip->i_forkoff = 0; in xfs_attr_fork_remove()
899 dp->i_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_sf_removename()
900 ASSERT(dp->i_forkoff); in xfs_attr_sf_removename()
H A Dxfs_inode_util.c357 ip->i_forkoff = xfs_default_attroffset(ip) >> 3; in xfs_inode_init()
741 ip->i_forkoff = 0; /* mark the attr fork not in use */ in xfs_inode_uninit()
H A Dxfs_inode_buf.c243 ip->i_forkoff = from->di_forkoff; in xfs_inode_from_disk()
343 to->di_forkoff = ip->i_forkoff; in xfs_inode_to_disk()
H A Dxfs_bmap.c228 if (dfl_forkoff > ip->i_forkoff) in xfs_bmap_forkoff_reset()
229 ip->i_forkoff = dfl_forkoff; in xfs_bmap_forkoff_reset()
1010 ip->i_forkoff = default_size; in xfs_bmap_set_attrforkoff()
1015 ip->i_forkoff = xfs_attr_shortform_bytesfit(ip, size); in xfs_bmap_set_attrforkoff()
1016 if (!ip->i_forkoff) in xfs_bmap_set_attrforkoff()
1017 ip->i_forkoff = default_size; in xfs_bmap_set_attrforkoff()
/linux/fs/xfs/scrub/
H A Dtempfile.c930 ASSERT(sc->tempip->i_forkoff >= sc->ip->i_forkoff); in xrep_tempfile_copyout_local()