Searched refs:if_format (Results 1 – 23 of 23) sorted by relevance
26 int8_t if_format; /* format of this fork */ member65 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()66 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()80 return ifp->if_format; in xfs_ifork_format()
235 ip->i_df.if_format = dip->di_format; in xfs_iformat_data_fork()249 switch (ip->i_df.if_format) { in xfs_iformat_data_fork()295 ip->i_afp->if_format = dip->di_aformat; in xfs_iformat_attr_fork()296 if (unlikely(ip->i_afp->if_format == 0)) /* pre IRIX 6.2 file system */ in xfs_iformat_attr_fork()297 ip->i_afp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_iformat_attr_fork()300 switch (ip->i_afp->if_format) { in xfs_iformat_attr_fork()518 if (ifp->if_format == XFS_DINODE_FMT_LOCAL) { in xfs_idestroy_fork()606 switch (ifp->if_format) { in xfs_iflush_fork()679 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
67 (ip->i_afp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_inode_hasattr()90 if (args->dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_get_ilocked()186 if (dp->i_afp->if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_try_sf_addname()214 return ip->i_afp->if_format == XFS_DINODE_FMT_LOCAL || in xfs_attr_is_shortform()215 (ip->i_afp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_attr_is_shortform()345 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) { in xfs_has_attr()374 } else if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) { in xfs_attr_remove_args()
42 unsigned int if_format; member
281 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_createname()376 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_lookup()446 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_removename()507 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_replace()
126 ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()138 ifp->if_format == XFS_DINODE_FMT_BTREE && in xfs_bmap_wants_extents()218 ip->i_df.if_format != XFS_DINODE_FMT_DEV && in xfs_bmap_forkoff_reset()219 ip->i_df.if_format != XFS_DINODE_FMT_BTREE) { in xfs_bmap_forkoff_reset()334 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()607 ASSERT(ifp->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmap_btree_to_extents()635 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_btree_to_extents()671 ASSERT(ifp->if_format == XFS_DINODE_FMT_EXTENTS); in xfs_bmap_extents_to_btree()695 ifp->if_format = XFS_DINODE_FMT_BTREE; in xfs_bmap_extents_to_btree()781 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_extents_to_btree()[all …]
346 dp->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_dir2_block_to_sf()726 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_verify()829 if (dp->i_df.if_format == XFS_DINODE_FMT_EXTENTS) { in xfs_dir2_sf_create()831 dp->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_dir2_sf_create()1029 if (dp->i_df.if_format != XFS_DINODE_FMT_LOCAL) in xfs_dir2_sf_replace_needblock()
212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()
547 if (dp->i_df.if_format == XFS_DINODE_FMT_DEV) { in xfs_attr_shortform_bytesfit()575 switch (dp->i_df.if_format) { in xfs_attr_shortform_bytesfit()654 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS) { in xfs_attr_shortform_create()656 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xfs_attr_shortform_create()819 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_remove()829 dp->i_df.if_format == XFS_DINODE_FMT_BTREE); in xfs_attr_shortform_remove()1005 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_allfit()1024 ASSERT(ip->i_afp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_verify()1130 ASSERT(dp->i_df.if_format != XFS_DINODE_FMT_BTREE); in xfs_attr3_leaf_to_shortform()
639 ASSERT(XFS_IFORK_PTR(ip, whichfork)->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
226 switch (ifp->if_format) { in xfs_bmap_count_blocks()452 switch (ifp->if_format) { in xfs_getbmap()1232 if (ifp->if_format == XFS_DINODE_FMT_LOCAL || in xfs_swap_extents_check_format()1233 tifp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_swap_extents_check_format()1255 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()1256 tifp->if_format == XFS_DINODE_FMT_BTREE) in xfs_swap_extents_check_format()1260 if (tifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()1265 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()1278 if (tifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()1287 if (ifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()[all …]
114 if (ip->i_df.if_format == XFS_DINODE_FMT_BTREE && in xfs_ilock_data_map_shared()128 ip->i_afp->if_format == XFS_DINODE_FMT_BTREE && in xfs_ilock_attr_map_shared()900 ip->i_df.if_format = XFS_DINODE_FMT_DEV; in xfs_ialloc()912 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ialloc()2712 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_ifree()2723 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifree()3447 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush()3469 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()3470 ip->i_df.if_format != XFS_DINODE_FMT_BTREE, in xfs_iflush()3479 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()[all …]
39 switch (ip->i_df.if_format) { in xfs_inode_item_data_fork_size()80 switch (ip->i_afp->if_format) { in xfs_inode_item_attr_fork_size()145 switch (ip->i_df.if_format) { in xfs_inode_item_format_data_fork()230 switch (ip->i_afp->if_format) { in xfs_inode_item_format_attr_fork()
370 dp->i_afp->if_format != XFS_DINODE_FMT_LOCAL) { in xfs_attr_inactive()
118 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
254 ip->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_symlink()
515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
527 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_readdir()
387 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_map_blocks()
1296 ASSERT(ip->i_afp->if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
2041 __entry->format = ip->i_df.if_format;
618 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps()681 switch (ifp->if_format) { in xchk_bmap()
663 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks()664 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()