Lines Matching refs:highstale

488 	int			*highstale)  in xfs_dir3_leaf_find_stale()  argument
504 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
505 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
508 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
520 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
556 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
562 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
563 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
586 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
587 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
593 if (highstale - index > 0) { in xfs_dir3_leaf_find_entry()
595 (highstale - index) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir3_leaf_find_entry()
598 *lfloghigh = MAX(highstale, *lfloghigh); in xfs_dir3_leaf_find_entry()
619 int highstale; /* index of next stale leaf */ in xfs_dir2_leaf_addname() local
775 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
888 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
978 int highstale; /* stale entry at/after index */ in xfs_dir3_leaf_compact_x1() local
988 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
994 (highstale == leafhdr->count || in xfs_dir3_leaf_compact_x1()
995 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
998 keepstale = highstale; in xfs_dir3_leaf_compact_x1()
1019 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1047 highstale = leafhdr->count; in xfs_dir3_leaf_compact_x1()
1050 *highstalep = highstale; in xfs_dir3_leaf_compact_x1()