Searched refs:cluster_size (Results 1 - 18 of 18) sorted by relevance

/external/qemu/block/
H A Dqcow2-refcount.c40 size_t size = s->cluster_size;
64 s->refcount_block_cache = g_malloc(s->cluster_size);
104 s->cluster_size);
236 int64_t new_block = alloc_clusters_noref(bs, s->cluster_size);
249 memset(s->refcount_block_cache, 0, s->cluster_size);
259 ret = update_refcount(bs, new_block, s->cluster_size, 1);
266 memset(s->refcount_block_cache, 0, s->cluster_size);
273 s->cluster_size);
336 s->cluster_size;
337 uint64_t table_offset = meta_offset + blocks_clusters * s->cluster_size;
[all...]
H A Dqcow2.c89 if (offset > s->cluster_size)
173 s->cluster_size = 1 << s->cluster_bits;
208 s->cluster_cache = g_malloc(s->cluster_size);
210 s->cluster_data = g_malloc(QCOW_MAX_CRYPT_CLUSTERS * s->cluster_size
223 ext_end = s->cluster_size;
610 s->cluster_size);
709 if (header_size > s->cluster_size) {
847 int flags, size_t cluster_size, int prealloc)
886 s->cluster_bits = get_bits_from_size(cluster_size);
896 s->cluster_size
845 qcow_create2(const char *filename, int64_t total_size, const char *backing_file, const char *backing_format, int flags, size_t cluster_size, int prealloc) argument
1049 size_t cluster_size = 65536; local
[all...]
H A Dqcow2.h84 int cluster_size; member in struct:BDRVQcowState
123 int cluster_size; member in struct:QCowCreateState
150 return (size + (s->cluster_size - 1)) >> s->cluster_bits;
H A Dqcow2-cluster.c293 static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size, argument
303 if (offset + (uint64_t) i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask))
504 c = count_contiguous_clusters(nb_clusters, s->cluster_size,
680 start_sect = (m->offset & ~(s->cluster_size - 1)) >> 9;
774 nb_clusters = count_contiguous_clusters(nb_clusters, s->cluster_size,
792 i += count_contiguous_clusters(nb_clusters - i, s->cluster_size,
820 uint64_t end_offset = offset + nb_clusters * s->cluster_size;
823 old_alloc->nb_clusters * s->cluster_size;
853 cluster_offset = qcow2_alloc_clusters(bs, nb_clusters * s->cluster_size);
916 if (decompress_buffer(s->cluster_cache, s->cluster_size,
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dcluster.h64 const int* cluster_size,
80 p.cost_diff = 0.5 * ClusterCostDiff(cluster_size[idx1], cluster_size[idx2]);
110 int* cluster_size,
129 CompareAndPushToHeap(out, cluster_size, clusters[idx1], clusters[idx2],
145 cluster_size[best_idx1] += cluster_size[best_idx2];
172 CompareAndPushToHeap(out, cluster_size, best_idx1, clusters[i], &pairs);
256 std::vector<int> cluster_size(in_size, 1);
268 HistogramCombine(&(*out)[0], &cluster_size[
63 CompareAndPushToHeap(const Histogram<kSize>* out, const int* cluster_size, int idx1, int idx2, std::vector<HistogramPair>* pairs) argument
109 HistogramCombine(Histogram<kSize>* out, int* cluster_size, int* symbols, int symbols_size, int max_clusters) argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.c122 size = read(fd, *l2_table, img->cluster_size);
123 if (size != img->cluster_size)
173 img.cluster_size = 1 << img.cluster_bits;
180 ret = ext2fs_get_memzero(img.cluster_size, &l2_table);
230 off_out, copy_buf, img.cluster_size);
H A Dqcow2.h95 __u32 cluster_size; member in struct:ext2_qcow2_image
/external/e2fsprogs/misc/
H A De2image.c850 img->cluster_size, &ref->refcount_table);
855 ret = ext2fs_get_arrayzero(1, img->cluster_size, &ref->refcount_block);
877 image->cluster_size = fs->blocksize;
888 offset = align_offset(header_size, image->cluster_size);
900 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size);
911 offset += image->cluster_size;
917 offset += image->cluster_size;
969 memset(table->data, 0, img->cluster_size);
996 generic_write(fd, (char *)table->data, image->cluster_size,
999 seek += image->cluster_size;
[all...]
H A Dmke2fs.c1280 int cluster_size = 0; local
1424 cluster_size = parse_num_blocks2(optarg, -1);
1425 if (cluster_size <= EXT2_MIN_CLUSTER_SIZE ||
1426 cluster_size > EXT2_MAX_CLUSTER_SIZE) {
1920 if (!cluster_size)
1921 cluster_size = get_int_from_profile(fs_types,
1922 "cluster_size",
1925 int_log2(cluster_size >> EXT2_MIN_CLUSTER_LOG_SIZE);
1933 } else if (cluster_size) {
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/
H A Dmkvparser.cpp951 long long cluster_size = -1; // size of cluster payload local
1073 cluster_size = size;
1137 if (cluster_size >= 0)
1138 pos += cluster_size;
1160 if (cluster_size < 0)
1163 pos += cluster_size;
1190 if (cluster_size >= 0) {
1191 pos += cluster_size;
1211 if (cluster_size < 0) { //unknown size
1320 cluster_size
3284 long long cluster_size = -1; local
[all...]
H A Dmkvmuxer.cpp2725 const uint64 cluster_size = last_cluster->payload_size(); local
2727 if (max_cluster_size_ > 0 && cluster_size >= max_cluster_size_)
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvparser.cpp1105 long long cluster_size = -1; //size of cluster payload local
1240 cluster_size = size;
1307 if (cluster_size >= 0)
1308 pos += cluster_size;
1332 if (cluster_size < 0)
1335 pos += cluster_size;
1366 if (cluster_size >= 0)
1368 pos += cluster_size;
1388 if (cluster_size < 0) //unknown size
1499 cluster_size
3652 long long cluster_size = -1; local
[all...]
H A Dmkvmuxer.cpp2885 const uint64 cluster_size = last_cluster->payload_size(); local
2887 if (max_cluster_size_ > 0 && cluster_size >= max_cluster_size_)
/external/libvpx/libwebm/
H A Dmkvparser.cpp953 long long cluster_size = -1; // size of cluster payload local
1075 cluster_size = size;
1139 if (cluster_size >= 0)
1140 pos += cluster_size;
1162 if (cluster_size < 0)
1165 pos += cluster_size;
1192 if (cluster_size >= 0) {
1193 pos += cluster_size;
1213 if (cluster_size < 0) { //unknown size
1322 cluster_size
3286 long long cluster_size = -1; local
[all...]
/external/opencv/ml/src/
H A Dmlem.cpp548 int cluster_size = right - left; local
551 if( cluster_size <= 0 )
558 CV_CALL( cvCalcCovarMatrix( vec, cluster_size, covs[i],
560 weights->data.db[i] = (double)cluster_size/(double)nsamples;
/external/qemu/include/block/
H A Dblock.h14 int cluster_size; member in struct:BlockDriverInfo
/external/qemu/qapi-auto-generated/
H A Dqapi-types.h2012 int64_t cluster_size; member in struct:ImageInfo
H A Dqapi-visit.c752 visit_type_int(m, obj ? &(*obj)->cluster_size : NULL, "cluster-size", &err);

Completed in 1233 milliseconds