Home
last modified time | relevance | path

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

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_inode_fork.h25 int8_t if_format; /* format of this fork */ member
118 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
119 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
133 return ifp->if_format; in xfs_ifork_format()
236 return ifp->if_format == XFS_DINODE_FMT_BTREE && ifp->if_height == 0; in xfs_need_iread_extents()
Dxfs_inode_fork.c232 ip->i_df.if_format = dip->di_format; in xfs_iformat_data_fork()
246 switch (ip->i_df.if_format) { in xfs_iformat_data_fork()
288 ifp->if_format = format; in xfs_ifork_alloc()
307 switch (ip->i_afp->if_format) { in xfs_iformat_attr_fork()
519 switch (ifp->if_format) { in xfs_idestroy_fork()
611 switch (ifp->if_format) { in xfs_iflush_fork()
681 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
Dxfs_dir2_sf.c346 dp->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_dir2_block_to_sf()
381 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_addname()
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()
830 dp->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_dir2_sf_create()
833 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_create()
878 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_lookup()
955 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_removename()
1027 if (dp->i_df.if_format != XFS_DINODE_FMT_LOCAL) in xfs_dir2_sf_replace_needblock()
1054 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_replace()
Dxfs_attr.c74 (ip->i_afp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_inode_hasattr()
92 if (ifp->if_nextents != 1 || ifp->if_format != XFS_DINODE_FMT_EXTENTS) in xfs_attr_is_leaf()
117 if (args->dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_get_ilocked()
213 if (dp->i_afp->if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_try_sf_addname()
241 return ip->i_afp->if_format == XFS_DINODE_FMT_LOCAL || in xfs_attr_is_shortform()
242 (ip->i_afp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_attr_is_shortform()
656 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_lookup()
1412 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_remove_iter()
Dxfs_bmap.c136 ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()
148 ifp->if_format == XFS_DINODE_FMT_BTREE && in xfs_bmap_wants_extents()
205 if (ip->i_df.if_format == XFS_DINODE_FMT_DEV) in xfs_default_attroffset()
221 ip->i_df.if_format != XFS_DINODE_FMT_DEV && in xfs_bmap_forkoff_reset()
222 ip->i_df.if_format != XFS_DINODE_FMT_BTREE) { in xfs_bmap_forkoff_reset()
337 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()
609 ASSERT(ifp->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmap_btree_to_extents()
636 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_btree_to_extents()
672 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()
[all …]
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_attr_leaf.c548 if (dp->i_df.if_format == XFS_DINODE_FMT_DEV) { in xfs_attr_shortform_bytesfit()
576 switch (dp->i_df.if_format) { in xfs_attr_shortform_bytesfit()
661 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_shortform_create()
662 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xfs_attr_shortform_create()
738 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_add()
820 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_sf_removename()
830 dp->i_df.if_format == XFS_DINODE_FMT_BTREE); in xfs_attr_sf_removename()
855 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_lookup()
882 ASSERT(args->dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_getvalue()
1006 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_allfit()
[all …]
Dxfs_symlink_remote.c212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()
Dxfs_bmap_btree.c639 ASSERT(XFS_IFORK_PTR(ip, whichfork)->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
Dxfs_dir2_block.c1099 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_to_block()
/Linux-v5.15/fs/xfs/
Dxfs_bmap_util.c270 switch (ifp->if_format) { in xfs_bmap_count_blocks()
494 switch (ifp->if_format) { in xfs_getbmap()
1270 if (ifp->if_format == XFS_DINODE_FMT_LOCAL || in xfs_swap_extents_check_format()
1271 tifp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_swap_extents_check_format()
1293 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()
1294 tifp->if_format == XFS_DINODE_FMT_BTREE) in xfs_swap_extents_check_format()
1298 if (tifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()
1303 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()
1316 if (tifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()
1325 if (ifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()
[all …]
Dxfs_symlink.c108 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_LOCAL); in xfs_readlink()
259 ip->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_symlink()
499 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_inactive_symlink()
Dxfs_inode_item.c53 switch (ip->i_df.if_format) { in xfs_inode_item_data_fork_size()
94 switch (ip->i_afp->if_format) { in xfs_inode_item_attr_fork_size()
159 switch (ip->i_df.if_format) { in xfs_inode_item_format_data_fork()
244 switch (ip->i_afp->if_format) { in xfs_inode_item_format_attr_fork()
Dxfs_inode.c882 ip->i_df.if_format = XFS_DINODE_FMT_DEV; in xfs_init_new_inode()
893 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_init_new_inode()
2652 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_ifree()
2662 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifree()
3460 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush()
3482 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
3483 ip->i_df.if_format != XFS_DINODE_FMT_BTREE, in xfs_iflush()
3492 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
3493 ip->i_df.if_format != XFS_DINODE_FMT_BTREE && in xfs_iflush()
3494 ip->i_df.if_format != XFS_DINODE_FMT_LOCAL, in xfs_iflush()
[all …]
Dxfs_dir2_readdir.c60 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_getdents()
525 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_readdir()
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_attr_list.c515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
Dxfs_iops.c523 ASSERT(ip->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_vn_get_link_inline()
1411 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_setup_iops()
Dxfs_iomap.c1299 ASSERT(ip->i_afp->if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
Dxfs_trace.h2180 __entry->format = ip->i_df.if_format;
/Linux-v5.15/fs/xfs/scrub/
Dsymlink.c54 if (ifp->if_format == XFS_DINODE_FMT_LOCAL) { in xchk_symlink()
Dbmap.c612 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps()
675 switch (ifp->if_format) { in xchk_bmap()
Ddir.c677 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks()
678 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()