Home
last modified time | relevance | path

Searched refs:lowstale (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c485 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()
[all …]
Dxfs_dir2_block.c370 int lowstale; /* low stale index */ in xfs_dir2_block_addname() local
509 for (lowstale = mid; in xfs_dir2_block_addname()
510 lowstale >= 0 && in xfs_dir2_block_addname()
511 blp[lowstale].address != in xfs_dir2_block_addname()
513 lowstale--) in xfs_dir2_block_addname()
519 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
525 if (lowstale >= 0 && in xfs_dir2_block_addname()
527 mid - lowstale <= highstale - mid)) { in xfs_dir2_block_addname()
528 if (mid - lowstale) in xfs_dir2_block_addname()
529 memmove(&blp[lowstale], &blp[lowstale + 1], in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_priv.h126 int lowstale, int highstale, int *lfloglow, int *lfloghigh);
Dxfs_dir2_node.c507 int lowstale = 0; /* previous stale entry */ in xfs_dir2_leafn_add() local
548 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
561 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()