Searched refs:if_nextents (Results 1 – 25 of 32) sorted by relevance
12
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 199 if (unlikely(ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork) || in xfs_iformat_btree() 203 ifp->if_nextents > ip->i_nblocks) || in xfs_iformat_btree() 247 ip->i_df.if_nextents = xfs_dfork_data_extents(dip); in xfs_iformat_data_fork() 311 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr() 648 ASSERT(ifp->if_nextents > 0); in xfs_iflush_fork() 794 nr_exts = ifp->if_nextents + nr_to_add; in xfs_iext_count_extend() 795 if (nr_exts < ifp->if_nextents) in xfs_iext_count_extend()
|
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()
|
D | xfs_bmap.c | 139 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree() 151 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents() 365 if (ip->i_df.if_nextents > 10000) in xfs_bmap_check_leaf_extents() 721 ASSERT(cnt == ifp->if_nextents); in xfs_bmap_extents_to_btree() 773 ASSERT(ifp->if_nextents == 0); in xfs_bmap_local_to_extents_empty() 872 ifp->if_nextents = 1; in xfs_bmap_local_to_extents() 939 if (ip->i_df.if_nextents * sizeof(struct xfs_bmbt_rec) <= in xfs_bmap_add_attrfork_extents() 1153 if (unlikely(ir->loaded + num_recs > ifp->if_nextents)) { in xfs_iread_bmbt_block() 1217 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1540 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_attr.h | 580 ip->i_af.if_nextents == 0); in xfs_attr_is_shortform()
|
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()
|
D | xfs_inode_util.c | 315 ip->i_df.if_nextents = 0; in xfs_inode_init()
|
D | xfs_exchmaps.c | 879 if (check_add_overflow(ifp->if_nextents, (uint64_t)delta, in xmi_ensure_delta_nextents()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_bmap_util.c | 1152 if (ifp->if_nextents < tifp->if_nextents) in xfs_swap_extents_check_format() 1173 tifp->if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1178 ifp->if_nextents > XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1194 if (tifp->if_nextents <= XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1203 if (ifp->if_nextents <= XFS_IFORK_MAXEXT(tip, XFS_DATA_FORK)) in xfs_swap_extents_check_format() 1371 if (xfs_inode_has_attr_fork(ip) && ip->i_af.if_nextents > 0 && in xfs_swap_extent_forks() 1378 if (xfs_inode_has_attr_fork(tip) && tip->i_af.if_nextents > 0 && in xfs_swap_extent_forks() 1558 uint32_t ipnext = ip->i_df.if_nextents; in xfs_swap_extents() 1559 uint32_t tipnext = tip->i_df.if_nextents; in xfs_swap_extents()
|
D | xfs_symlink.c | 275 ASSERT(ip->i_df.if_nextents > 0 && ip->i_df.if_nextents <= 2); in xfs_inactive_symlink_rmt()
|
D | xfs_inode_item.c | 237 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size() 278 ip->i_af.if_nextents > 0 && in xfs_inode_item_attr_fork_size() 346 ip->i_df.if_nextents > 0 && in xfs_inode_item_format_data_fork() 425 ip->i_af.if_nextents > 0 && in xfs_inode_item_format_attr_fork() 430 ip->i_af.if_nextents); in xfs_inode_item_format_attr_fork()
|
D | xfs_inode.c | 1160 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate() 1431 if (S_ISDIR(VFS_I(ip)->i_mode) && ip->i_df.if_nextents > 0) { in xfs_inactive() 1777 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree() 2355 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush() 2396 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush() 2402 ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af), in xfs_iflush()
|
D | xfs_quotaops.c | 40 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
|
D | xfs_attr_inactive.c | 370 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
|
D | xfs_qm_syscalls.c | 88 ASSERT(ip->i_df.if_nextents == 0); in xfs_qm_scall_trunc_qfile()
|
D | xfs_inode.h | 297 return ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0; in xfs_inode_has_filedata()
|
D | xfs_iops.c | 835 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_setattr_size()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | tempfile.c | 583 req->nr_exchanges = 1 + tifp->if_nextents; in xrep_tempexch_estimate() 598 req->nr_exchanges = 1 + ifp->if_nextents; in xrep_tempexch_estimate()
|
D | bmap_repair.c | 544 ifp->if_nextents++; in xrep_bmap_extents_load() 550 ifp->if_nextents); in xrep_bmap_extents_load()
|
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()
|
D | symlink_repair.c | 311 ifp->if_nextents = 0; in xrep_symlink_swap_prep()
|
D | bmap.c | 675 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_attrfork() 723 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_datafork()
|
D | cow_repair.c | 554 ifp->if_nextents = 0; in xrep_bmap_cow()
|
D | inode_repair.c | 1507 sc->ip->i_df.if_nextents = nextents; in xrep_inode_blockcounts() 1522 ifp->if_nextents = nextents; in xrep_inode_blockcounts()
|
D | parent.c | 936 ip->i_af.if_nextents == 0; in xchk_pptr_looks_zapped()
|
D | dir.c | 1174 dp->i_df.if_nextents == 0; in xchk_dir_looks_zapped()
|
12