Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_leaf.c332 ltp->bestcount = 0; in xfs_dir3_leaf_init()
468 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
675 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
686 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
809 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
812 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
813 be32_add_cpu(&ltp->bestcount, 1); in xfs_dir2_leaf_addname()
816 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1448 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
1461 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
[all …]
Dxfs_da_format.h488 __be32 bestcount; member
512 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c951 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()
955 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
Dxfs_dir2_node.c330 ASSERT(be32_to_cpu(ltp->bestcount) <= in xfs_dir2_leaf_to_node()
339 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
349 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()