Lines Matching refs:lowstale
485 int *lowstale, in xfs_dir3_leaf_find_stale() argument
491 for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { in xfs_dir3_leaf_find_stale()
492 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
506 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
517 int lowstale, /* index of prev stale leaf */ in xfs_dir3_leaf_find_entry() argument
554 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
559 if (lowstale >= 0 && in xfs_dir3_leaf_find_entry()
561 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
562 ASSERT(index - lowstale - 1 >= 0); in xfs_dir3_leaf_find_entry()
563 ASSERT(ents[lowstale].address == in xfs_dir3_leaf_find_entry()
570 if (index - lowstale - 1 > 0) { in xfs_dir3_leaf_find_entry()
571 memmove(&ents[lowstale], &ents[lowstale + 1], in xfs_dir3_leaf_find_entry()
572 (index - lowstale - 1) * in xfs_dir3_leaf_find_entry()
575 *lfloglow = min(lowstale, *lfloglow); in xfs_dir3_leaf_find_entry()
632 int lowstale = 0; /* 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()
885 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
978 int lowstale; /* stale entry before index */ in xfs_dir3_leaf_compact_x1() local
985 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
990 if (lowstale >= 0 && in xfs_dir3_leaf_compact_x1()
992 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
993 keepstale = lowstale; in xfs_dir3_leaf_compact_x1()
1016 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1041 if (lowstale >= newindex) in xfs_dir3_leaf_compact_x1()
1042 lowstale = -1; in xfs_dir3_leaf_compact_x1()
1046 *lowstalep = lowstale; in xfs_dir3_leaf_compact_x1()