/Linux-v5.15/fs/xfs/libxfs/ |
D | xfs_inode_fork.h | 25 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()
|
D | xfs_inode_fork.c | 232 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()
|
D | xfs_dir2_sf.c | 346 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()
|
D | xfs_attr.c | 74 (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()
|
D | xfs_bmap.c | 136 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 …]
|
D | xfs_btree_staging.h | 42 unsigned int if_format; member
|
D | xfs_dir2.c | 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()
|
D | xfs_attr_leaf.c | 548 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 …]
|
D | xfs_symlink_remote.c | 212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()
|
D | xfs_bmap_btree.c | 639 ASSERT(XFS_IFORK_PTR(ip, whichfork)->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
|
D | xfs_dir2_block.c | 1099 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_to_block()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_bmap_util.c | 270 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 …]
|
D | xfs_symlink.c | 108 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()
|
D | xfs_inode_item.c | 53 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()
|
D | xfs_inode.c | 882 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 …]
|
D | xfs_dir2_readdir.c | 60 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()
|
D | xfs_attr_inactive.c | 370 dp->i_afp->if_format != XFS_DINODE_FMT_LOCAL) { in xfs_attr_inactive()
|
D | xfs_itable.c | 118 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
|
D | xfs_attr_list.c | 515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
|
D | xfs_iops.c | 523 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()
|
D | xfs_iomap.c | 1299 ASSERT(ip->i_afp->if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
|
D | xfs_trace.h | 2180 __entry->format = ip->i_df.if_format;
|
/Linux-v5.15/fs/xfs/scrub/ |
D | symlink.c | 54 if (ifp->if_format == XFS_DINODE_FMT_LOCAL) { in xchk_symlink()
|
D | bmap.c | 612 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps() 675 switch (ifp->if_format) { in xchk_bmap()
|
D | dir.c | 677 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks() 678 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()
|