Lines Matching refs:stale
194 if (btp->stale) { in xfs_dir2_block_need_space()
219 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
222 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
315 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
316 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
317 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
320 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
322 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
425 } else if (btp->stale) { in xfs_dir2_block_addname()
452 if (!btp->stale) { in xfs_dir2_block_addname()
527 be32_add_cpu(&btp->stale, -1); in xfs_dir2_block_addname()
806 be32_add_cpu(&btp->stale, 1); in xfs_dir2_block_removename()
976 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1005 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1006 btp->stale = 0; in xfs_dir2_leaf_to_block()
1146 btp->stale = 0; in xfs_dir2_sf_to_block()