/external/qemu/block/ |
H A D | qcow2-refcount.c | 40 size_t size = s->cluster_size; 64 s->refcount_block_cache = qemu_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 D | qcow2.c | 89 if (offset > s->cluster_size) 173 s->cluster_size = 1 << s->cluster_bits; 208 s->cluster_cache = qemu_malloc(s->cluster_size); 210 s->cluster_data = qemu_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 D | qcow.c | 59 int cluster_size; member in struct:BDRVQcowState 120 s->cluster_size = 1 << s->cluster_bits; 145 s->cluster_cache = qemu_malloc(s->cluster_size); 148 s->cluster_data = qemu_malloc(s->cluster_size); 248 * cluster_size 272 l2_offset = (l2_offset + s->cluster_size - 1) & ~(s->cluster_size - 1); 332 cluster_offset = (cluster_offset + s->cluster_size - 1) & 333 ~(s->cluster_size - 1); 335 if (bdrv_pwrite(bs->file, cluster_offset, s->cluster_cache, s->cluster_size) ! [all...] |
H A D | qcow2.h | 84 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 D | qcow2-cluster.c | 293 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...] |
H A D | vvfat.c | 328 unsigned int cluster_size; member in struct:BDRVVVFATState 808 * 0x20 / s->cluster_size; 851 s->cluster_size=s->sectors_per_cluster*0x200; 852 s->cluster_buffer=qemu_malloc(s->cluster_size); 917 mapping->end = cluster + 1 + (mapping->end-1)/s->cluster_size; 1194 offset = s->cluster_size*(cluster_num-s->current_mapping->begin); 1197 assert(((s->cluster-(unsigned char*)s->directory.pointer)%s->cluster_size)==0); 1198 assert((char*)s->cluster+s->cluster_size <= s->directory.pointer+s->directory.next*s->directory.item_size); 1210 offset=s->cluster_size*(cluster_num-s->current_mapping->begin)+s->current_mapping->info.file.offset; 1214 result=read(s->current_fd,s->cluster,s->cluster_size); [all...] |
/external/qemu/hw/ |
H A D | scsi-disk.c | 69 int cluster_size; member in struct:SCSIDeviceState 669 p[6] = s->cluster_size * 2; 754 nb_sectors /= s->cluster_size; 769 outbuf[6] = s->cluster_size * 2; 784 r->sector = lba * s->cluster_size; 785 r->sector_count = len * s->cluster_size; 793 r->sector = lba * s->cluster_size; 794 r->sector_count = len * s->cluster_size; 810 nb_sectors /= s->cluster_size; 863 nb_sectors /= s->cluster_size; [all...] |
/external/libvpx/libwebm/ |
H A D | mkvparser.cpp | 1075 long long cluster_size = -1; //size of cluster payload
local 1210 cluster_size = size;
1277 if (cluster_size >= 0)
1278 pos += cluster_size;
1302 if (cluster_size < 0)
1305 pos += cluster_size;
1336 if (cluster_size >= 0)
1338 pos += cluster_size;
1358 if (cluster_size < 0) //unknown size
1469 cluster_size 3627 long long cluster_size = -1; local [all...] |
/external/opencv/ml/src/ |
H A D | mlem.cpp | 548 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/ |
H A D | block.h | 14 int cluster_size; member in struct:BlockDriverInfo
|
H A D | qemu-io.c | 1381 cvtstr(bdi.cluster_size, s1, sizeof(s1));
|
/external/kernel-headers/original/linux/ |
H A D | msdos_fs.h | 233 unsigned short cluster_bits; /* log2(cluster_size) */ 234 unsigned int cluster_size; /* cluster size */ member in struct:msdos_sb_info
|