Lines Matching refs:stale
209 if (btp->stale) { in xfs_dir2_block_need_space()
234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
237 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
331 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
332 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
335 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
337 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
440 } else if (btp->stale) { in xfs_dir2_block_addname()
467 if (!btp->stale) { in xfs_dir2_block_addname()
546 be32_add_cpu(&btp->stale, -1); in xfs_dir2_block_addname()
826 be32_add_cpu(&btp->stale, 1); in xfs_dir2_block_removename()
994 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1025 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1026 btp->stale = 0; in xfs_dir2_leaf_to_block()
1156 btp->stale = 0; in xfs_dir2_sf_to_block()