Home
last modified time | relevance | path

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

/linux-3.4.99/fs/xfs/
Dxfs_dir2_leaf.c61 __be16 *bestsp; /* leaf's bestsp entries */ in xfs_dir2_block_to_leaf() local
137 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()
138 bestsp[0] = hdr->bestfree[0].length; in xfs_dir2_block_to_leaf()
283 __be16 *bestsp; /* freespace table in leaf */ in xfs_dir2_leaf_addname() local
334 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_addname()
349 ASSERT(bestsp[i] != cpu_to_be16(NULLDATAOFF)); in xfs_dir2_leaf_addname()
350 if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
363 if (bestsp[i] == cpu_to_be16(NULLDATAOFF) && in xfs_dir2_leaf_addname()
366 else if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname()
385 if (use_block != -1 && bestsp[use_block] == cpu_to_be16(NULLDATAOFF)) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_block.c878 __be16 *bestsp; /* leaf bests table */ in xfs_dir2_leaf_to_block() local
912 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
913 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()