Lines Matching refs:bytes
842 u64 offset, max_extent_size, bytes;
845 test_msg("running bytes index tests");
850 bytes = (i + 1) * SZ_1M;
851 ret = test_add_free_space_entry(cache, offset, bytes, 0);
856 offset += bytes + sectorsize;
862 bytes = (i + 1) * SZ_1M;
863 if (entry->bytes != bytes) {
864 test_err("invalid bytes index order, found %llu expected %llu",
865 entry->bytes, bytes);
874 bytes = (i + 1) * SZ_1M;
875 ret = test_add_free_space_entry(cache, offset, bytes, 1);
885 bytes = (i + 1) * SZ_1M;
886 if (entry->bytes != bytes) {
887 test_err("invalid bytes index order, found %llu expected %llu",
888 entry->bytes, bytes);
913 * ->bytes is large.
937 * should be indexed on bytes.
941 if (entry->bytes != (10 * sectorsize)) {
961 * The search should have re-arranged the bytes index to use the
966 if (entry->bytes != (2 * sectorsize)) {
967 test_err("error, the bytes index wasn't recalculated properly");
971 /* Add another sectorsize to re-arrange the tree back to ->bytes. */
981 if (entry->bytes != (11 * sectorsize)) {
1020 * For ppc64 (with 64k page size), bytes per bitmap might be