Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/
Dxfs_inode.h66 uint8_t i_forkoff; /* attr fork offset >> 3 */ member
104 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork()
129 return ip->i_forkoff << 3; in xfs_inode_fork_boff()
Dxfs_inode.c894 ip->i_forkoff = xfs_default_attroffset(ip) >> 3; in xfs_init_new_inode()
1786 ASSERT(ip->i_forkoff == 0); in xfs_inactive()
2398 ip->i_forkoff = 0; /* mark the attr fork not in use */ in xfs_ifree()
3246 if (XFS_TEST_ERROR(ip->i_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()
3250 __func__, ip->i_ino, ip->i_forkoff, ip); in xfs_iflush()
Dxfs_inode_item.c539 to->di_forkoff = ip->i_forkoff; in xfs_inode_to_log_dinode()
Dxfs_icache.c109 ip->i_forkoff = 0; in xfs_inode_alloc()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_attr_leaf.c594 return dp->i_forkoff; in xfs_attr_shortform_bytesfit()
615 if (!dp->i_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit()
626 if (dp->i_forkoff) { in xfs_attr_shortform_bytesfit()
627 if (offset < dp->i_forkoff) in xfs_attr_shortform_bytesfit()
629 return dp->i_forkoff; in xfs_attr_shortform_bytesfit()
765 dp->i_forkoff = forkoff; in xfs_attr_shortform_add()
803 ip->i_forkoff = 0; in xfs_attr_fork_remove()
861 dp->i_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_sf_removename()
862 ASSERT(dp->i_forkoff); in xfs_attr_sf_removename()
Dxfs_inode_buf.c231 ip->i_forkoff = from->di_forkoff; in xfs_inode_from_disk()
328 to->di_forkoff = ip->i_forkoff; in xfs_inode_to_disk()
Dxfs_bmap.c223 if (dfl_forkoff > ip->i_forkoff) in xfs_bmap_forkoff_reset()
224 ip->i_forkoff = dfl_forkoff; in xfs_bmap_forkoff_reset()
979 ip->i_forkoff = default_size; in xfs_bmap_set_attrforkoff()
984 ip->i_forkoff = xfs_attr_shortform_bytesfit(ip, size); in xfs_bmap_set_attrforkoff()
985 if (!ip->i_forkoff) in xfs_bmap_set_attrforkoff()
986 ip->i_forkoff = default_size; in xfs_bmap_set_attrforkoff()