| /linux/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 | 140 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree() 152 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents() 364 if (ip->i_df.if_nextents > 10000) in xfs_bmap_check_leaf_extents() 719 ASSERT(cnt == ifp->if_nextents); in xfs_bmap_extents_to_btree() 771 ASSERT(ifp->if_nextents == 0); in xfs_bmap_local_to_extents_empty() 870 ifp->if_nextents = 1; in xfs_bmap_local_to_extents() 937 if (ip->i_df.if_nextents * sizeof(struct xfs_bmbt_rec) <= in xfs_bmap_add_attrfork_extents() 1144 if (unlikely(ir->loaded + num_recs > ifp->if_nextents)) { in xfs_iread_bmbt_block() 1208 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1551 ifp->if_nextents--; in xfs_bmap_add_extent_delay_real() [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 | 306 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/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 | 241 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size() 283 ip->i_af.if_nextents > 0 && in xfs_inode_item_attr_fork_size() 351 ip->i_df.if_nextents > 0 && in xfs_inode_item_format_data_fork() 431 ip->i_af.if_nextents > 0 && in xfs_inode_item_format_attr_fork() 436 ip->i_af.if_nextents); in xfs_inode_item_format_attr_fork()
|
| H A D | xfs_inode.c | 1183 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate() 1457 if (S_ISDIR(VFS_I(ip)->i_mode) && ip->i_df.if_nextents > 0) { in xfs_inactive() 1800 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree() 2379 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush() 2427 if (ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush() 2433 ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af), in xfs_iflush()
|
| H A D | xfs_attr_inactive.c | 365 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
|
| 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 | 936 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_setattr_size()
|
| H A D | xfs_file.c | 1635 if (ip->i_df.if_nextents > 0) in xfs_dir_open()
|
| H A D | xfs_iomap.c | 2252 if (!xfs_inode_has_attr_fork(ip) || !ip->i_af.if_nextents) { in xfs_xattr_iomap_begin()
|
| /linux/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 | 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 | cow_repair.c | 684 ifp->if_nextents = 0; in xrep_bmap_cow()
|
| H A D | parent.c | 957 ip->i_af.if_nextents == 0; in xchk_pptr_looks_zapped()
|
| 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_repair.c | 1494 ifp->if_nextents = 0; in xrep_dir_swap_prep()
|
| H A D | trace.h | 2539 __entry->nextents = sc->ip->i_df.if_nextents; 2541 __entry->anextents = sc->ip->i_af.if_nextents;
|