Home
last modified time | relevance | path

Searched refs:if_format (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_inode_fork.h26 int8_t if_format; /* format of this fork */ member
65 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()
Dxfs_inode_fork.c235 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()
Dxfs_attr.c67 (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()
Dxfs_btree_staging.h42 unsigned int if_format; member
Dxfs_dir2.c281 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()
Dxfs_bmap.c126 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 …]
Dxfs_dir2_sf.c346 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()
Dxfs_symlink_remote.c212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()
Dxfs_attr_leaf.c547 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()
Dxfs_bmap_btree.c639 ASSERT(XFS_IFORK_PTR(ip, whichfork)->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
/Linux-v5.10/fs/xfs/
Dxfs_bmap_util.c226 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 …]
Dxfs_inode.c114 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 …]
Dxfs_inode_item.c39 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()
Dxfs_attr_inactive.c370 dp->i_afp->if_format != XFS_DINODE_FMT_LOCAL) { in xfs_attr_inactive()
Dxfs_itable.c118 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
Dxfs_symlink.c254 ip->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_symlink()
Dxfs_attr_list.c515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
Dxfs_dir2_readdir.c527 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_readdir()
Dxfs_aops.c387 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_map_blocks()
Dxfs_iomap.c1296 ASSERT(ip->i_afp->if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
Dxfs_trace.h2041 __entry->format = ip->i_df.if_format;
/Linux-v5.10/fs/xfs/scrub/
Dbmap.c618 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps()
681 switch (ifp->if_format) { in xchk_bmap()
Ddir.c663 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks()
664 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()