Lines Matching refs:bestcount
141 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
227 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
238 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
359 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
362 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
363 be32_add_cpu(<p->bestcount, 1); in xfs_dir2_leaf_addname()
365 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1170 ltp->bestcount = 0; in xfs_dir2_leaf_init()
1549 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
1562 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
1563 be32_add_cpu(<p->bestcount, -(db - i)); in xfs_dir2_leaf_removename()
1565 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_removename()
1731 ASSERT(db == be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_trim_data()
1744 be32_add_cpu(<p->bestcount, -1); in xfs_dir2_leaf_trim_data()
1745 memmove(&bestsp[1], &bestsp[0], be32_to_cpu(ltp->bestcount) * sizeof(*bestsp)); in xfs_dir2_leaf_trim_data()
1747 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_trim_data()
1855 ltp->bestcount = free->hdr.nvalid; in xfs_dir2_node_to_leaf()
1860 be32_to_cpu(ltp->bestcount) * sizeof(leaf->bests[0])); in xfs_dir2_node_to_leaf()
1861 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_node_to_leaf()