Lines Matching refs:bestcount
164 INT_SET(ltp->bestcount, ARCH_CONVERT, 1); in xfs_dir2_block_to_leaf()
250 ASSERT(i < INT_GET(ltp->bestcount, ARCH_CONVERT)); in xfs_dir2_leaf_addname()
261 for (i = 0; i < INT_GET(ltp->bestcount, ARCH_CONVERT); i++) { in xfs_dir2_leaf_addname()
381 if (use_block >= INT_GET(ltp->bestcount, ARCH_CONVERT)) { in xfs_dir2_leaf_addname()
384 INT_GET(ltp->bestcount, ARCH_CONVERT) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
385 INT_MOD(ltp->bestcount, ARCH_CONVERT, +1); in xfs_dir2_leaf_addname()
387 xfs_dir2_leaf_log_bests(tp, lbp, 0, INT_GET(ltp->bestcount, ARCH_CONVERT) - 1); in xfs_dir2_leaf_addname()
1207 INT_ZERO(ltp->bestcount, ARCH_CONVERT); in xfs_dir2_leaf_init()
1558 if (db == INT_GET(ltp->bestcount, ARCH_CONVERT) - 1) { in xfs_dir2_leaf_removename()
1571 (INT_GET(ltp->bestcount, ARCH_CONVERT) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
1572 INT_MOD(ltp->bestcount, ARCH_CONVERT, -(db - i)); in xfs_dir2_leaf_removename()
1574 xfs_dir2_leaf_log_bests(tp, lbp, 0, INT_GET(ltp->bestcount, ARCH_CONVERT) - 1); in xfs_dir2_leaf_removename()
1740 ASSERT(db == INT_GET(ltp->bestcount, ARCH_CONVERT) - 1); in xfs_dir2_leaf_trim_data()
1753 INT_MOD(ltp->bestcount, ARCH_CONVERT, -1); in xfs_dir2_leaf_trim_data()
1754 memmove(&bestsp[1], &bestsp[0], INT_GET(ltp->bestcount, ARCH_CONVERT) * sizeof(*bestsp)); in xfs_dir2_leaf_trim_data()
1756 xfs_dir2_leaf_log_bests(tp, lbp, 0, INT_GET(ltp->bestcount, ARCH_CONVERT) - 1); in xfs_dir2_leaf_trim_data()
1864 INT_COPY(ltp->bestcount, free->hdr.nvalid, ARCH_CONVERT); in xfs_dir2_node_to_leaf()
1869 INT_GET(ltp->bestcount, ARCH_CONVERT) * sizeof(leaf->bests[0])); in xfs_dir2_node_to_leaf()
1870 xfs_dir2_leaf_log_bests(tp, lbp, 0, INT_GET(ltp->bestcount, ARCH_CONVERT) - 1); in xfs_dir2_node_to_leaf()