Lines Matching refs:stale
539 if (!leafhdr.stale) in xfs_dir2_leafn_add()
541 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
558 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
971 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local
996 if (shdr->stale) { in xfs_dir3_leafn_moveents()
999 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()
1002 stale++; in xfs_dir3_leafn_moveents()
1005 stale = 0; in xfs_dir3_leafn_moveents()
1028 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
1030 dhdr->stale += stale; in xfs_dir3_leafn_moveents()
1110 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1149 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1318 leafhdr.stale++; in xfs_dir2_leafn_remove()
1419 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1523 count = leafhdr.count - leafhdr.stale; in xfs_dir2_leafn_toosmall()
1577 count = leafhdr.count - leafhdr.stale; in xfs_dir2_leafn_toosmall()
1584 count += hdr2.count - hdr2.stale; in xfs_dir2_leafn_toosmall()
1654 if (drophdr.stale) in xfs_dir2_leafn_unbalance()
1656 if (savehdr.stale) in xfs_dir2_leafn_unbalance()