Lines Matching refs:stale
216 if (btp->stale) { in xfs_dir2_block_need_space()
241 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
244 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
337 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
338 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
339 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
342 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
344 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
447 } else if (btp->stale) { in xfs_dir2_block_addname()
474 if (!btp->stale) { in xfs_dir2_block_addname()
553 be32_add_cpu(&btp->stale, -1); in xfs_dir2_block_addname()
833 be32_add_cpu(&btp->stale, 1); in xfs_dir2_block_removename()
1002 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1033 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1034 btp->stale = 0; in xfs_dir2_leaf_to_block()
1162 btp->stale = 0; in xfs_dir2_sf_to_block()