Home
last modified time | relevance | path

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

/linux-5.19.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c489 int *lowstale, in xfs_dir3_leaf_find_stale() argument
495 for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { in xfs_dir3_leaf_find_stale()
496 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
510 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
521 int lowstale, /* index of prev stale leaf */ in xfs_dir3_leaf_find_entry() argument
558 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
563 if (lowstale >= 0 && in xfs_dir3_leaf_find_entry()
565 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
566 ASSERT(index - lowstale - 1 >= 0); in xfs_dir3_leaf_find_entry()
567 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()