Searched defs:cluster_size (Results 1 - 10 of 10) sorted by relevance
/external/qemu/block/ |
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 | 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.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 | 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/qemu/ |
H A D | block.h | 14 int cluster_size; member in struct:BlockDriverInfo
|
/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/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
|
/external/libvpx/mkvparser/ |
H A D | mkvparser.cpp | 1475 long long cluster_size = -1; //size of cluster payload
local 1610 cluster_size = size;
1677 if (cluster_size >= 0)
1678 pos += cluster_size;
1702 if (cluster_size < 0)
1705 pos += cluster_size;
1736 if (cluster_size >= 0)
1738 pos += cluster_size;
1758 if (cluster_size < 0) //unknown size
1869 cluster_size 4147 long long cluster_size = -1; local 5861 const long long cluster_size = ReadUInt(pReader, m_pos, len); local [all...] |
Completed in 440 milliseconds