Searched refs:bestcount (Results 1 – 5 of 5) sorted by relevance
348 ltp->bestcount = 0; in xfs_dir3_leaf_init()484 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()691 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()702 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()825 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()828 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()829 be32_add_cpu(<p->bestcount, 1); in xfs_dir2_leaf_addname()832 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()1468 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()1481 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()[all …]
457 __be32 bestcount; member481 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
946 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()950 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
379 if (be32_to_cpu(ltp->bestcount) > in xfs_dir2_leaf_to_node()389 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()399 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
493 __u32 bestcount; in xchk_directory_leaf1_bestfree() local508 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()522 if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_d.di_size)) { in xchk_directory_leaf1_bestfree()554 for (i = 0; i < bestcount; i++, bestp++) { in xchk_directory_leaf1_bestfree()