Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_inode_fork.h26 int8_t if_format; /* format of this fork */ member
85 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
86 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
100 return ifp->if_format; in xfs_ifork_format()
265 return ifp->if_format == XFS_DINODE_FMT_BTREE && ifp->if_height == 0; in xfs_need_iread_extents()
A Dxfs_inode_fork.c231 ip->i_df.if_format = dip->di_format; in xfs_iformat_data_fork()
245 switch (ip->i_df.if_format) { in xfs_iformat_data_fork()
285 ip->i_af.if_format = format; in xfs_ifork_init_attr()
295 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_zap_attr()
312 switch (ip->i_af.if_format) { in xfs_iformat_attr_fork()
517 switch (ifp->if_format) { in xfs_idestroy_fork()
609 switch (ifp->if_format) { in xfs_iflush_fork()
679 ip->i_cowfp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_init_cow()
A Dxfs_attr.h563 return ip->i_af.if_format == XFS_DINODE_FMT_LOCAL || in xfs_attr_is_shortform()
564 (ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xfs_attr_is_shortform()
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()
877 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_lookup()
953 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_removename()
1025 if (dp->i_df.if_format != XFS_DINODE_FMT_LOCAL) in xfs_dir2_sf_replace_needblock()
1052 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_replace()
A Dxfs_bmap.c134 ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()
146 ifp->if_format == XFS_DINODE_FMT_BTREE && in xfs_bmap_wants_extents()
203 if (ip->i_df.if_format == XFS_DINODE_FMT_DEV) in xfs_default_attroffset()
335 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()
584 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_btree_to_extents()
643 ifp->if_format = XFS_DINODE_FMT_BTREE; in xfs_bmap_extents_to_btree()
718 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_extents_to_btree()
747 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_local_to_extents_empty()
972 switch (ip->i_df.if_format) { in xfs_bmap_set_attrforkoff()
1031 switch (ip->i_df.if_format) { in xfs_bmap_add_attrfork()
[all …]
A Dxfs_btree_staging.h42 unsigned int if_format; member
A Dxfs_dir2.c293 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_createname()
388 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_lookup()
458 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_removename()
519 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_dir_replace()
A Dxfs_attr.c72 if (ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xfs_inode_hasattr()
90 if (ifp->if_nextents != 1 || ifp->if_format != XFS_DINODE_FMT_EXTENTS) in xfs_attr_is_leaf()
232 if (args->dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_get_ilocked()
355 if (dp->i_af.if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_try_sf_addname()
865 if (dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_lookup()
A Dxfs_attr_leaf.c578 if (dp->i_df.if_format == XFS_DINODE_FMT_DEV) { in xfs_attr_shortform_bytesfit()
606 switch (dp->i_df.if_format) { in xfs_attr_shortform_bytesfit()
691 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_shortform_create()
692 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xfs_attr_shortform_create()
768 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_add()
856 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_sf_removename()
866 dp->i_df.if_format == XFS_DINODE_FMT_BTREE); in xfs_attr_sf_removename()
891 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_lookup()
1037 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_allfit()
1056 ASSERT(ip->i_af.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.c649 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-6.3-rc2/fs/xfs/
A Dxfs_bmap_util.c270 switch (ifp->if_format) { in xfs_bmap_count_blocks()
495 switch (ifp->if_format) { in xfs_getbmap()
1279 if (ifp->if_format == XFS_DINODE_FMT_LOCAL || in xfs_swap_extents_check_format()
1280 tifp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_swap_extents_check_format()
1302 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()
1303 tifp->if_format == XFS_DINODE_FMT_BTREE) in xfs_swap_extents_check_format()
1312 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_swap_extents_check_format()
1325 if (tifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()
1334 if (ifp->if_format == XFS_DINODE_FMT_BTREE) { in xfs_swap_extents_check_format()
1566 switch (ip->i_df.if_format) { in xfs_swap_extent_forks()
[all …]
A Dxfs_symlink.c126 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_readlink()
263 ip->i_df.if_format = XFS_DINODE_FMT_LOCAL; in xfs_symlink()
503 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_inactive_symlink()
A Dxfs_inode.c866 ip->i_df.if_format = XFS_DINODE_FMT_DEV; in xfs_init_new_inode()
877 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_init_new_inode()
2300 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xfs_ifree()
2310 ip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifree()
3105 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush()
3127 ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
3128 ip->i_df.if_format != XFS_DINODE_FMT_BTREE, in xfs_iflush()
3138 ip->i_df.if_format != XFS_DINODE_FMT_BTREE && in xfs_iflush()
3139 ip->i_df.if_format != XFS_DINODE_FMT_LOCAL, in xfs_iflush()
3180 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL && in xfs_iflush()
[all …]
A Dxfs_inode_item.c54 switch (ip->i_df.if_format) { in xfs_inode_item_data_fork_size()
95 switch (ip->i_af.if_format) { in xfs_inode_item_attr_fork_size()
160 switch (ip->i_df.if_format) { in xfs_inode_item_format_data_fork()
240 switch (ip->i_af.if_format) { in xfs_inode_item_format_attr_fork()
A Dxfs_dir2_readdir.c60 ASSERT(dp->i_df.if_format == XFS_DINODE_FMT_LOCAL); in xfs_dir2_sf_getdents()
531 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_readdir()
A Dxfs_itable.c129 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
A Dxfs_attr_list.c515 if (dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
A Dxfs_iomap.c1387 ASSERT(ip->i_af.if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
A Dxfs_icache.c103 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_inode_alloc()
A Dxfs_trace.h2175 __entry->format = ip->i_df.if_format;
/linux-6.3-rc2/fs/xfs/scrub/
A Dsymlink.c54 if (ifp->if_format == XFS_DINODE_FMT_LOCAL) { in xchk_symlink()
A Dbmap.c657 if (ifp->if_format != XFS_DINODE_FMT_BTREE && in xchk_bmap_check_rmaps()
746 switch (ifp->if_format) { in xchk_bmap()
A Ddir.c688 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks()
689 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()

Completed in 62 milliseconds