Lines Matching refs:lowstale

482 	int			*lowstale,  in xfs_dir3_leaf_find_stale()  argument
488 for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { in xfs_dir3_leaf_find_stale()
489 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
503 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
514 int lowstale, /* index of prev stale leaf */ in xfs_dir3_leaf_find_entry() argument
551 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
556 if (lowstale >= 0 && in xfs_dir3_leaf_find_entry()
558 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
559 ASSERT(index - lowstale - 1 >= 0); in xfs_dir3_leaf_find_entry()
560 ASSERT(ents[lowstale].address == in xfs_dir3_leaf_find_entry()
567 if (index - lowstale - 1 > 0) { in xfs_dir3_leaf_find_entry()
568 memmove(&ents[lowstale], &ents[lowstale + 1], in xfs_dir3_leaf_find_entry()
569 (index - lowstale - 1) * in xfs_dir3_leaf_find_entry()
572 *lfloglow = MIN(lowstale, *lfloglow); in xfs_dir3_leaf_find_entry()
623 int lowstale; /* index of prev stale leaf */ in xfs_dir2_leaf_addname() local
769 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leaf_addname()
882 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
976 int lowstale; /* stale entry before 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()
988 if (lowstale >= 0 && in xfs_dir3_leaf_compact_x1()
990 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
991 keepstale = lowstale; in xfs_dir3_leaf_compact_x1()
1014 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1039 if (lowstale >= newindex) in xfs_dir3_leaf_compact_x1()
1040 lowstale = -1; in xfs_dir3_leaf_compact_x1()
1044 *lowstalep = lowstale; in xfs_dir3_leaf_compact_x1()