Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.h24 int8_t if_format; /* format of this fork */ member
84 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
85 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
99 return ifp->if_format; in xfs_ifork_format()
H A Dxfs_attr.h579 return ip->i_af.if_format == XFS_DINODE_FMT_LOCAL || in xfs_attr_is_shortform()
580 (ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xfs_attr_is_shortform()
H A Dxfs_attr_leaf.c711 if (dp->i_df.if_format == XFS_DINODE_FMT_DEV) { in xfs_attr_shortform_bytesfit()
735 switch (dp->i_df.if_format) { in xfs_attr_shortform_bytesfit()
814 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_shortform_create()
815 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xfs_attr_shortform_create()
855 ASSERT(args->dp->i_af.if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_replace()
903 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_add()
982 (dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_sf_removename()
992 dp->i_df.if_format == XFS_DINODE_FMT_BTREE || in xfs_attr_sf_removename()
1016 ASSERT(args->dp->i_af.if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_getvalue()
1131 if ((dp->i_df.if_format != XFS_DINODE_FMT_BTREE) && in xfs_attr_shortform_allfit()
[all …]
H A Dxfs_rtgroup.c493 if (XFS_IS_CORRUPT(mp, !((1U << ip->i_df.if_format) & ops->fmt_mask))) { in xfs_rtginode_load()
H A Dxfs_dir2.c277 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_format()
/linux/fs/xfs/scrub/
H A Dattr_repair.c813 if (sc->tempip->i_df.if_format == XFS_DINODE_FMT_BTREE) { in xrep_xattr_full_reset()
839 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xrep_xattr_full_reset()
966 if (ip->i_df.if_format == XFS_DINODE_FMT_BTREE) { in xrep_xattr_fork_remove()
967 ifp->if_format = XFS_DINODE_FMT_LOCAL; in xrep_xattr_fork_remove()
985 ip->i_ino, ifp->if_nextents, ifp->if_format); in xrep_xattr_fork_remove()
1068 if (rx->sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL) { in xrep_xattr_salvage_attributes()
1325 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_xattr_swap_prep()
1347 ip_local = sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL; in xrep_xattr_swap()
1348 temp_local = sc->tempip->i_af.if_format == XFS_DINODE_FMT_LOCAL; in xrep_xattr_swap()
H A Dbmap_repair.c786 ifake->if_fork->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_bmap_build_new_fork()
789 ifake->if_fork->if_format = XFS_DINODE_FMT_BTREE; in xrep_bmap_build_new_fork()
863 switch (ifp->if_format) { in xrep_bmap_check_inputs()
H A Drtrmap_repair.c333 if (ifp->if_format == XFS_DINODE_FMT_BTREE) { in xrep_rtrmap_scan_dfork()
344 } else if (ifp->if_format != XFS_DINODE_FMT_EXTENTS) { in xrep_rtrmap_scan_dfork()
769 rr->new_btree.ifake.if_fork->if_format = XFS_DINODE_FMT_META_BTREE; in xrep_rtrmap_build_new_tree()
H A Ddir_repair.c1022 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xrep_dir_find_entries()
1497 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_dir_swap_prep()
1680 ip_local = sc->ip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap()
1681 temp_local = sc->tempip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap()
H A Dcow_repair.c682 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS) { in xrep_bmap_cow()
683 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_bmap_cow()
H A Ddir.c810 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS && in xchk_directory_blocks()
811 ifp->if_format != XFS_DINODE_FMT_BTREE) in xchk_directory_blocks()
1176 return dp->i_df.if_format == XFS_DINODE_FMT_EXTENTS && in xchk_dir_looks_zapped()
H A Drtrefcount_repair.c667 rr->new_btree.ifake.if_fork->if_format = XFS_DINODE_FMT_META_BTREE; in xrep_rtrefc_build_new_tree()
H A Dparent.c951 return ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xchk_pptr_looks_zapped()
H A Dattr.c660 if (sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xchk_xattr()
H A Drmap_repair.c584 switch (ifp->if_format) { in xrep_rmap_scan_ifork()
H A Dinode_repair.c1895 switch (sc->ip->i_df.if_format) { in xrep_inode_dir_size()
H A Dtrace.h2532 __entry->format = sc->ip->i_df.if_format;
2534 __entry->aformat = sc->ip->i_af.if_format;
/linux/fs/xfs/
H A Dxfs_inode.c2379 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush()
2399 if (ip->i_df.if_format == XFS_DINODE_FMT_META_BTREE) { in xfs_iflush()
2409 if ((ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
2410 ip->i_df.if_format != XFS_DINODE_FMT_BTREE) || in xfs_iflush()
2418 if ((ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush()
2419 ip->i_df.if_format != XFS_DINODE_FMT_BTREE && in xfs_iflush()
2420 ip->i_df.if_format != XFS_DINODE_FMT_LOCAL) || in xfs_iflush()
2447 ip->i_af.if_format == XFS_DINODE_FMT_META_BTREE) { in xfs_iflush()
2469 if (ip->i_df.if_format == XFS_DINODE_FMT_LOCAL && in xfs_iflush()
2473 ip->i_af.if_format == XFS_DINODE_FMT_LOCAL && in xfs_iflush()
H A Dxfs_inode_item.c238 switch (ip->i_df.if_format) { in xfs_inode_item_data_fork_size()
280 switch (ip->i_af.if_format) { in xfs_inode_item_attr_fork_size()
344 switch (ip->i_df.if_format) { in xfs_inode_item_format_data_fork()
424 switch (ip->i_af.if_format) { in xfs_inode_item_format_attr_fork()
H A Dxfs_itable.c173 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
H A Dxfs_icache.c119 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_inode_alloc()
H A Dxfs_iomap.c2257 ASSERT(ip->i_af.if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
H A Dxfs_trace.h2588 __entry->format = ip->i_df.if_format;
5298 __entry->format = ip->i_df.if_format;