Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/xfs/
H A 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()
H A 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()
H A Dxfs_inode_item.c539 to->di_forkoff = ip->i_forkoff; in xfs_inode_to_log_dinode()
H A Dxfs_icache.c109 ip->i_forkoff = 0; in xfs_inode_alloc()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c552 * Returns zero if not, else the i_forkoff fork offset to be used in the
555 * i_forkoff must be 8 byte aligned, hence is stored as a >>3 value;
594 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 in xfs_attr_sf_removename()
[all...]
H A 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()
H A Dxfs_bmap.c70 * ATTR2 and then mounted back with ATTR1, keeping the i_forkoff's fixed in xfs_bmap_compute_maxlevels()
209 * Helper routine to reset inode i_forkoff field when switching attribute fork
223 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()

Completed in 18 milliseconds