Lines Matching refs:highstale
293 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
296 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
299 if (highstale == -1) in xfs_dir2_block_compact()
300 highstale = toidx; in xfs_dir2_block_compact()
346 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
492 for (highstale = mid + 1; in xfs_dir2_block_addname()
493 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
494 blp[highstale].address != in xfs_dir2_block_addname()
496 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
497 highstale++) in xfs_dir2_block_addname()
503 (highstale == be32_to_cpu(btp->count) || in xfs_dir2_block_addname()
504 mid - lowstale <= highstale - mid)) { in xfs_dir2_block_addname()
515 ASSERT(highstale < be32_to_cpu(btp->count)); in xfs_dir2_block_addname()
517 if (highstale - mid) in xfs_dir2_block_addname()
519 (highstale - mid) * sizeof(*blp)); in xfs_dir2_block_addname()
521 lfloghigh = MAX(highstale, lfloghigh); in xfs_dir2_block_addname()