Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c489 int *highstale) in xfs_dir3_leaf_find_stale() argument
505 for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { in xfs_dir3_leaf_find_stale()
506 if (ents[*highstale].address == in xfs_dir3_leaf_find_stale()
509 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir3_leaf_find_stale()
521 int highstale, /* index of next stale leaf */ in xfs_dir3_leaf_find_entry() argument
557 &lowstale, &highstale); in xfs_dir3_leaf_find_entry()
563 (highstale == leafhdr->count || in xfs_dir3_leaf_find_entry()
564 index - lowstale - 1 < highstale - index)) { in xfs_dir3_leaf_find_entry()
587 ASSERT(highstale - index >= 0); in xfs_dir3_leaf_find_entry()
588 ASSERT(ents[highstale].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)); in xfs_dir3_leaf_find_entry()
[all …]
Dxfs_dir2_block.c297 int highstale; /* high stale index */ in xfs_dir2_block_compact() local
300 highstale = *lfloghigh = -1; in xfs_dir2_block_compact()
303 if (highstale == -1) in xfs_dir2_block_compact()
304 highstale = toidx; in xfs_dir2_block_compact()
350 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
498 for (highstale = mid + 1; in xfs_dir2_block_addname()
499 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
500 blp[highstale].address != in xfs_dir2_block_addname()
502 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
503 highstale++) in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_priv.h228 int lowstale, int highstale, int *lfloglow, int *lfloghigh);
Dxfs_dir2_node.c385 int highstale; /* next stale entry */ in xfs_dir2_leafn_add() local
438 &highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()
451 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()