| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_inode_fork.c | 201 if (unlikely(ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork) || in xfs_iformat_btree() 205 ifp->if_nextents > ip->i_nblocks) || in xfs_iformat_btree() 246 ip->i_df.if_nextents = xfs_dfork_data_extents(dip); in xfs_iformat_data_fork() 320 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr() 590 ASSERT(ifp->if_nextents > 0); in xfs_iflush_fork() 755 nr_exts = ifp->if_nextents + nr_to_add; in xfs_iext_count_extend() 756 if (nr_exts < ifp->if_nextents) in xfs_iext_count_extend()
|
| H A D | xfs_inode_fork.h | 22 xfs_extnum_t if_nextents; /* # of extents in this fork */ member 92 return ifp->if_nextents; in xfs_ifork_nextents()
|
| H A D | xfs_bmap.c | 870 ifp->if_nextents = 1; in xfs_bmap_local_to_extents() 1559 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real() 1671 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 1742 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 1833 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 1922 ifp->if_nextents++; in xfs_bmap_add_extent_delay_real() 2186 ifp->if_nextents--; in xfs_bmap_add_extent_unwritten_real() 2231 ifp->if_nextents--; in xfs_bmap_add_extent_unwritten_real() 2344 ifp->if_nextents++; in xfs_bmap_add_extent_unwritten_real() 5558 ifp->if_nextents--; in xfs_bmse_merge() [all …]
|
| H A D | xfs_attr.h | 580 ip->i_af.if_nextents == 0); in xfs_attr_is_shortform()
|
| H A D | xfs_attr.c | 73 ip->i_af.if_nextents == 0) in xfs_inode_hasattr() 92 if (ifp->if_nextents != 1 || ifp->if_format != XFS_DINODE_FMT_EXTENTS) in xfs_attr_is_leaf()
|
| H A D | xfs_inode_util.c | 317 ip->i_df.if_nextents = 0; in xfs_inode_init()
|
| H A D | xfs_exchmaps.c | 881 if (check_add_overflow(ifp->if_nextents, (uint64_t)delta, in xmi_ensure_delta_nextents()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_bmap_util.c | 1166 if (ifp->if_nextents < tifp->if_nextents) in xfs_swap_extents_check_format() 1187 tifp->if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1192 ifp->if_nextents > XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1208 if (tifp->if_nextents <= XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1217 if (ifp->if_nextents <= XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1385 if (xfs_inode_has_attr_fork(ip) && ip->i_af.if_nextents > 0 && in xfs_swap_extent_forks() 1392 if (xfs_inode_has_attr_fork(tip) && tip->i_af.if_nextents > 0 && in xfs_swap_extent_forks() 1584 uint32_t ipnext = ip->i_df.if_nextents; in xfs_swap_extents() 1585 uint32_t tipnext = tip->i_df.if_nextents; in xfs_swap_extents()
|
| H A D | xfs_symlink.c | 275 ASSERT(ip->i_df.if_nextents > 0 && ip->i_df.if_nextents <= 2); in xfs_inactive_symlink_rmt()
|
| H A D | xfs_inode_item.c | 251 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size() 293 ip->i_af.if_nextents > 0 && in xfs_inode_item_attr_fork_size() 361 ip->i_df.if_nextents > 0 && in xfs_inode_item_format_data_fork() 441 ip->i_af.if_nextents > 0 && in xfs_inode_item_format_attr_fork() 446 ip->i_af.if_nextents); in xfs_inode_item_format_attr_fork()
|
| H A D | xfs_inode.c | 1172 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate() 1446 if (S_ISDIR(VFS_I(ip)->i_mode) && ip->i_df.if_nextents > 0) { in xfs_inactive() 1790 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree() 2368 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush() 2418 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush() 2424 ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af), in xfs_iflush()
|
| H A D | xfs_quotaops.c | 40 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
|
| H A D | xfs_attr_inactive.c | 365 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
|
| H A D | xfs_qm_syscalls.c | 88 ASSERT(ip->i_df.if_nextents == 0); in xfs_qm_scall_trunc_qfile()
|
| H A D | xfs_inode.h | 321 return ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0; in xfs_inode_has_filedata()
|
| H A D | xfs_iops.c | 871 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_setattr_size()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | bmap_repair.c | 674 ifp->if_nextents++; in xrep_bmap_extents_load() 680 ifp->if_nextents); in xrep_bmap_extents_load()
|
| H A D | tempfile.c | 696 req->nr_exchanges = 1 + tifp->if_nextents; in xrep_tempexch_estimate() 711 req->nr_exchanges = 1 + ifp->if_nextents; in xrep_tempexch_estimate()
|
| H A D | symlink_repair.c | 312 ifp->if_nextents = 0; in xrep_symlink_swap_prep()
|
| H A D | attr_repair.c | 978 if (ifp->if_nextents != 0) { in xrep_xattr_fork_remove() 985 ip->i_ino, ifp->if_nextents, ifp->if_format); in xrep_xattr_fork_remove() 1326 ifp->if_nextents = 0; in xrep_xattr_swap_prep()
|
| H A D | bmap.c | 758 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_attrfork() 802 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_datafork()
|
| H A D | parent.c | 957 ip->i_af.if_nextents == 0; in xchk_pptr_looks_zapped()
|
| H A D | cow_repair.c | 684 ifp->if_nextents = 0; in xrep_bmap_cow()
|
| H A D | inode_repair.c | 1692 sc->ip->i_df.if_nextents = nextents; in xrep_inode_blockcounts() 1707 ifp->if_nextents = nextents; in xrep_inode_blockcounts()
|
| H A D | dir.c | 1182 dp->i_df.if_nextents == 0; in xchk_dir_looks_zapped()
|