Home
last modified time | relevance | path

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

/linux-3.4.99/fs/xfs/
Dxfs_dir2_leaf.c156 int *highstale) in xfs_dir2_leaf_find_stale() argument
172 for (*highstale = index; in xfs_dir2_leaf_find_stale()
173 *highstale < be16_to_cpu(leaf->hdr.count); in xfs_dir2_leaf_find_stale()
174 ++*highstale) { in xfs_dir2_leaf_find_stale()
175 if (leaf->ents[*highstale].address == in xfs_dir2_leaf_find_stale()
178 if (*lowstale >= 0 && index - *lowstale <= *highstale - index) in xfs_dir2_leaf_find_stale()
189 int highstale, /* index of next stale leaf */ in xfs_dir2_leaf_find_entry() argument
226 xfs_dir2_leaf_find_stale(leaf, index, &lowstale, &highstale); in xfs_dir2_leaf_find_entry()
232 (highstale == be16_to_cpu(leaf->hdr.count) || in xfs_dir2_leaf_find_entry()
233 index - lowstale - 1 < highstale - index)) { in xfs_dir2_leaf_find_entry()
[all …]
Dxfs_dir2_block.c80 int highstale; /* high stale index */ in xfs_dir2_block_addname() local
253 highstale = lfloghigh = -1; in xfs_dir2_block_addname()
258 if (highstale == -1) in xfs_dir2_block_addname()
259 highstale = toidx; in xfs_dir2_block_addname()
358 for (highstale = mid + 1; in xfs_dir2_block_addname()
359 highstale < be32_to_cpu(btp->count) && in xfs_dir2_block_addname()
360 blp[highstale].address != in xfs_dir2_block_addname()
362 (lowstale < 0 || mid - lowstale > highstale - mid); in xfs_dir2_block_addname()
363 highstale++) in xfs_dir2_block_addname()
369 (highstale == be32_to_cpu(btp->count) || in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_priv.h93 int lowstale, int highstale,
Dxfs_dir2_node.c185 int highstale; /* next stale entry */ in xfs_dir2_leafn_add() local
233 xfs_dir2_leaf_compact_x1(bp, &index, &lowstale, &highstale, in xfs_dir2_leafn_add()
248 highstale, &lfloglow, &lfloghigh); in xfs_dir2_leafn_add()