Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c191 if (unlikely(ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork) || in xfs_iformat_btree()
195 ifp->if_nextents > ip->i_d.di_nblocks) || in xfs_iformat_btree()
236 ip->i_df.if_nextents = be32_to_cpu(dip->di_nextents); in xfs_iformat_data_fork()
298 ip->i_afp->if_nextents = be16_to_cpu(dip->di_anextents); in xfs_iformat_attr_fork()
621 ASSERT(ifp->if_nextents > 0); in xfs_iflush_fork()
Dxfs_inode_fork.h27 xfs_extnum_t if_nextents; /* # of extents in this fork */ member
73 return ifp->if_nextents; in xfs_ifork_nextents()
Dxfs_bmap.c127 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
139 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
338 if (ip->i_df.if_nextents > 10000) in xfs_bmap_check_leaf_extents()
753 ASSERT(cnt == ifp->if_nextents); in xfs_bmap_extents_to_btree()
805 ASSERT(ifp->if_nextents == 0); in xfs_bmap_local_to_extents_empty()
910 ifp->if_nextents = 1; in xfs_bmap_local_to_extents()
975 if (ip->i_df.if_nextents * sizeof(struct xfs_bmbt_rec) <= in xfs_bmap_add_attrfork_extents()
1186 if (unlikely(ir->loaded + num_recs > ifp->if_nextents)) { in xfs_iread_bmbt_block()
1249 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents()
1469 if (ifp->if_nextents != 1) in xfs_bmap_one_block()
[all …]
Dxfs_attr.c68 ip->i_afp->if_nextents == 0)) in xfs_inode_hasattr()
216 ip->i_afp->if_nextents == 0); in xfs_attr_is_shortform()
Dxfs_dir2_block.c1107 ASSERT(dp->i_df.if_nextents == 0); in xfs_dir2_sf_to_block()
Dxfs_attr_leaf.c768 ASSERT(ip->i_afp->if_nextents == 0); in xfs_attr_fork_remove()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_bmap_util.c1240 if (ifp->if_nextents < tifp->if_nextents) in xfs_swap_extents_check_format()
1261 tifp->if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1266 ifp->if_nextents > XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1282 if (tifp->if_nextents <= XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1291 if (ifp->if_nextents <= XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1443 if (XFS_IFORK_Q(ip) && ip->i_afp->if_nextents > 0 && in xfs_swap_extent_forks()
1450 if (XFS_IFORK_Q(tip) && tip->i_afp->if_nextents > 0 && in xfs_swap_extent_forks()
1630 uint32_t ipnext = ip->i_df.if_nextents; in xfs_swap_extents()
1631 uint32_t tipnext = tip->i_df.if_nextents; in xfs_swap_extents()
Dxfs_inode_item.c42 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size()
83 ip->i_afp->if_nextents > 0 && in xfs_inode_item_attr_fork_size()
151 ip->i_df.if_nextents > 0 && in xfs_inode_item_format_data_fork()
236 ip->i_afp->if_nextents > 0 && in xfs_inode_item_format_attr_fork()
241 ip->i_afp->if_nextents); in xfs_inode_item_format_attr_fork()
Dxfs_symlink.c387 ASSERT(ip->i_df.if_nextents > 0 && ip->i_df.if_nextents <= 2); in xfs_inactive_symlink_rmt()
Dxfs_quotaops.c39 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
Dxfs_inode.c874 ip->i_df.if_nextents = 0; in xfs_ialloc()
1679 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate()
1848 ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0)) in xfs_inactive()
2692 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree()
3448 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush()
3489 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(ip->i_afp) > in xfs_iflush()
3495 ip->i_df.if_nextents + xfs_ifork_nextents(ip->i_afp), in xfs_iflush()
Dxfs_qm_syscalls.c305 ASSERT(ip->i_df.if_nextents == 0); in xfs_qm_scall_trunc_qfile()
Dxfs_ioctl.c1215 if ((ip->i_df.if_nextents || ip->i_delayed_blks) && in xfs_ioctl_setattr_xflags()
1345 if (S_ISREG(VFS_I(ip)->i_mode) && ip->i_df.if_nextents && in xfs_ioctl_setattr_check_extsize()
Dxfs_file.c1153 if (ip->i_df.if_nextents > 0) in xfs_dir_open()
Dxfs_iops.c876 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_setattr_size()
Dxfs_iomap.c1291 if (!XFS_IFORK_Q(ip) || !ip->i_afp->if_nextents) { in xfs_xattr_iomap_begin()
Dxfs_trace.h2042 __entry->nex = ip->i_df.if_nextents;
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dparent.c93 if (parent->i_df.if_nextents > 0) in xchk_parent_count_parent_dentries()
Dbmap.c619 (zero_size || ifp->if_nextents > 0)) in xchk_bmap_check_rmaps()