Lines Matching refs:lowstale
494 int *lowstale, in xfs_dir3_leaf_find_stale() argument
500 for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { in xfs_dir3_leaf_find_stale()
501 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
515 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
526 int lowstale, /* index of prev stale leaf */ in xfs_dir3_leaf_find_entry() argument
563 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
568 if (lowstale >= 0 && in xfs_dir3_leaf_find_entry()
570 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
571 ASSERT(index - lowstale - 1 >= 0); in xfs_dir3_leaf_find_entry()
572 ASSERT(ents[lowstale].address == in xfs_dir3_leaf_find_entry()
579 if (index - lowstale - 1 > 0) { in xfs_dir3_leaf_find_entry()
580 memmove(&ents[lowstale], &ents[lowstale + 1], in xfs_dir3_leaf_find_entry()
581 (index - lowstale - 1) * in xfs_dir3_leaf_find_entry()
584 *lfloglow = min(lowstale, *lfloglow); in xfs_dir3_leaf_find_entry()
641 int lowstale = 0; /* index of prev stale leaf */ in xfs_dir2_leaf_addname() local
778 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leaf_addname()
894 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
987 int lowstale; /* stale entry before index */ in xfs_dir3_leaf_compact_x1() local
994 xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); in xfs_dir3_leaf_compact_x1()
999 if (lowstale >= 0 && in xfs_dir3_leaf_compact_x1()
1001 index - lowstale <= highstale - index)) in xfs_dir3_leaf_compact_x1()
1002 keepstale = lowstale; in xfs_dir3_leaf_compact_x1()
1025 lowstale = highstale = to; in xfs_dir3_leaf_compact_x1()
1050 if (lowstale >= newindex) in xfs_dir3_leaf_compact_x1()
1051 lowstale = -1; in xfs_dir3_leaf_compact_x1()
1055 *lowstalep = lowstale; in xfs_dir3_leaf_compact_x1()