Lines Matching refs:highstale

483 	int			*highstale)  in xfs_dir3_leaf_find_stale()  argument
499 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
500 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
503 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
515 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
551 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
557 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
558 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
581 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
582 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
588 if (highstale - index > 0) { in xfs_dir3_leaf_find_entry()
590 (highstale - index) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir3_leaf_find_entry()
593 *lfloghigh = MAX(highstale, *lfloghigh); in xfs_dir3_leaf_find_entry()
614 int highstale; /* index of next stale leaf */ in xfs_dir2_leaf_addname() local
770 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
883 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leaf_addname()
973 int highstale; /* stale entry at/after index */ in xfs_dir3_leaf_compact_x1() local
983 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
989 (highstale == leafhdr->count || in xfs_dir3_leaf_compact_x1()
990 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
993 keepstale = highstale; in xfs_dir3_leaf_compact_x1()
1014 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1042 highstale = leafhdr->count; in xfs_dir3_leaf_compact_x1()
1045 *highstalep = highstale; in xfs_dir3_leaf_compact_x1()