Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
A 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()
A 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()
A 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()
A 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()
1409 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_remove_iter()
A 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()
337 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()
586 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_btree_to_extents()
645 ifp->if_format = XFS_DINODE_FMT_BTREE; in xfs_bmap_extents_to_btree()
731 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_extents_to_btree()
760 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_local_to_extents_empty()
990 switch (ip->i_df.if_format) { in xfs_bmap_set_attrforkoff()
1050 switch (ip->i_df.if_format) { in xfs_bmap_add_attrfork()
[all …]
A 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()
A Dxfs_btree_staging.h42 unsigned int if_format; member
A 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()
1006 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_allfit()
1025 ASSERT(ip->i_afp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_verify()
[all …]
A Dxfs_symlink_remote.c212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()
A Dxfs_bmap_btree.c662 ASSERT(XFS_IFORK_PTR(ip, whichfork)->if_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
A Dxfs_dir2_block.c1099 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_to_block()
/linux/fs/xfs/
A 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()
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()
1551 switch (ip->i_df.if_format) { in xfs_swap_extent_forks()
[all …]
A 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()
A 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()
A Dxfs_inode.c876 ip->i_df.if_format = XFS_DINODE_FMT_DEV; in xfs_init_new_inode()
887 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_init_new_inode()
2646 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_ifree()
2656 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifree()
3453 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush()
3475 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
3476 ip->i_df.if_format != XFS_DINODE_FMT_BTREE, in xfs_iflush()
3485 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
3486 ip->i_df.if_format != XFS_DINODE_FMT_BTREE && in xfs_iflush()
3487 ip->i_df.if_format != XFS_DINODE_FMT_LOCAL, in xfs_iflush()
[all …]
A 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()
A Dxfs_attr_inactive.c370 dp->i_afp->if_format != XFS_DINODE_FMT_LOCAL) { in xfs_attr_inactive()
A Dxfs_itable.c118 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
A Dxfs_attr_list.c515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
A 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()
A Dxfs_iomap.c1299 ASSERT(ip->i_afp->if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
A Dxfs_trace.h2180 __entry->format = ip->i_df.if_format;
/linux/fs/xfs/scrub/
A Dsymlink.c54 if (ifp->if_format == XFS_DINODE_FMT_LOCAL) { in xchk_symlink()
A Dbmap.c612 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps()
675 switch (ifp->if_format) { in xchk_bmap()
A 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()

Completed in 60 milliseconds