Home
last modified time | relevance | path

Searched refs:bestsp (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/fs/xfs/
Dxfs_dir2_leaf.c65 __be16 *bestsp; /* leaf's bestsp entries */ in xfs_dir2_block_to_leaf() local
141 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()
142 bestsp[0] = block->hdr.bestfree[0].length; in xfs_dir2_block_to_leaf()
162 __be16 *bestsp; /* freespace table in leaf */ in xfs_dir2_leaf_addname() local
213 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_addname()
228 ASSERT(be16_to_cpu(bestsp[i]) != NULLDATAOFF); in xfs_dir2_leaf_addname()
229 if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
242 if (be16_to_cpu(bestsp[i]) == NULLDATAOFF && use_block == -1) in xfs_dir2_leaf_addname()
244 else if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
260 if (use_block != -1 && be16_to_cpu(bestsp[use_block]) == NULLDATAOFF) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_block.c884 __be16 *bestsp; /* leaf bests table */ in xfs_dir2_leaf_to_block() local
918 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
919 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()