Home
last modified time | relevance | path

Searched refs:if_nextents (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_fork.c190 if (unlikely(ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork) || in xfs_iformat_btree()
194 ifp->if_nextents > ip->i_nblocks) || in xfs_iformat_btree()
236 ip->i_df.if_nextents = xfs_dfork_data_extents(dip); in xfs_iformat_data_fork()
299 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()
637 ASSERT(ifp->if_nextents > 0); in xfs_iflush_fork()
765 nr_exts = ifp->if_nextents + nr_to_add; in xfs_iext_count_may_overflow()
766 if (nr_exts < ifp->if_nextents || nr_exts > max_exts) in xfs_iext_count_may_overflow()
Dxfs_inode_fork.h24 xfs_extnum_t if_nextents; /* # of extents in this fork */ member
94 return ifp->if_nextents; in xfs_ifork_nextents()
Dxfs_bmap.c135 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
147 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
339 if (ip->i_df.if_nextents > 10000) in xfs_bmap_check_leaf_extents()
695 ASSERT(cnt == ifp->if_nextents); in xfs_bmap_extents_to_btree()
747 ASSERT(ifp->if_nextents == 0); in xfs_bmap_local_to_extents_empty()
845 ifp->if_nextents = 1; in xfs_bmap_local_to_extents()
911 if (ip->i_df.if_nextents * sizeof(struct xfs_bmbt_rec) <= in xfs_bmap_add_attrfork_extents()
1141 if (unlikely(ir->loaded + num_recs > ifp->if_nextents)) { in xfs_iread_bmbt_block()
1203 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents()
1521 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real()
[all …]
Dxfs_attr.h565 ip->i_af.if_nextents == 0); in xfs_attr_is_shortform()
Dxfs_attr.c73 ip->i_af.if_nextents == 0) in xfs_inode_hasattr()
90 if (ifp->if_nextents != 1 || ifp->if_format != XFS_DINODE_FMT_EXTENTS) in xfs_attr_is_leaf()
Dxfs_dir2_block.c1107 ASSERT(dp->i_df.if_nextents == 0); in xfs_dir2_sf_to_block()
Dxfs_attr_leaf.c800 ASSERT(ip->i_af.if_nextents == 0); in xfs_attr_fork_remove()
/linux-6.6.21/fs/xfs/
Dxfs_bmap_util.c1289 if (ifp->if_nextents < tifp->if_nextents) in xfs_swap_extents_check_format()
1310 tifp->if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1315 ifp->if_nextents > XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1331 if (tifp->if_nextents <= XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1340 if (ifp->if_nextents <= XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1514 if (xfs_inode_has_attr_fork(ip) && ip->i_af.if_nextents > 0 && in xfs_swap_extent_forks()
1521 if (xfs_inode_has_attr_fork(tip) && tip->i_af.if_nextents > 0 && in xfs_swap_extent_forks()
1701 uint32_t ipnext = ip->i_df.if_nextents; in xfs_swap_extents()
1702 uint32_t tipnext = tip->i_df.if_nextents; in xfs_swap_extents()
Dxfs_inode_item.c204 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size()
245 ip->i_af.if_nextents > 0 && in xfs_inode_item_attr_fork_size()
313 ip->i_df.if_nextents > 0 && in xfs_inode_item_format_data_fork()
393 ip->i_af.if_nextents > 0 && in xfs_inode_item_format_attr_fork()
398 ip->i_af.if_nextents); in xfs_inode_item_format_attr_fork()
Dxfs_symlink.c396 ASSERT(ip->i_df.if_nextents > 0 && ip->i_df.if_nextents <= 2); in xfs_inactive_symlink_rmt()
Dxfs_inode.c843 ip->i_df.if_nextents = 0; in xfs_init_new_inode()
1526 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate()
1749 ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0)) in xfs_inactive()
2364 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree()
3195 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush()
3236 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush()
3242 ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af), in xfs_iflush()
Dxfs_attr_inactive.c366 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
Dxfs_quotaops.c39 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
Dxfs_qm_syscalls.c89 ASSERT(ip->i_df.if_nextents == 0); in xfs_qm_scall_trunc_qfile()
Dxfs_ioctl.c1128 if (ip->i_df.if_nextents || ip->i_delayed_blks) in xfs_ioctl_setattr_xflags()
1238 if (S_ISREG(VFS_I(ip)->i_mode) && ip->i_df.if_nextents && in xfs_ioctl_setattr_check_extsize()
Dxfs_iops.c811 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_setattr_size()
Dxfs_file.c1256 if (ip->i_df.if_nextents > 0) in xfs_dir_open()
Dxfs_iomap.c1386 if (!xfs_inode_has_attr_fork(ip) || !ip->i_af.if_nextents) { in xfs_xattr_iomap_begin()
Dxfs_trace.h2179 __entry->nex = ip->i_df.if_nextents;
/linux-6.6.21/fs/xfs/scrub/
Dbmap.c666 if (ifp->if_format == XFS_DINODE_FMT_EXTENTS && ifp->if_nextents == 0) { in xchk_bmap_want_check_rmaps()