HomeSort by relevance Sort by last modified time
    Searched refs:cluster_size (Results 1 - 15 of 15) sorted by null

  /system/extras/fatblock/
fs.h 24 uint16_t cluster_size; member in struct:fs
48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out);
fs.c 126 clusters_needed = (len + fs->cluster_size - 1) / fs->cluster_size;
149 * fs->cluster_size,
150 (offset_t)clusters_needed * fs->cluster_size,
156 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size,
171 fs->cluster_size = cluster_size;
173 sectors_per_cluster = cluster_size / DEFAULT_SECTOR_SIZE;
176 data_clusters = (data_size + cluster_size - 1) / cluster_size;
    [all...]
fatblock.c 34 uint16_t cluster_size, offset_t data_size,
39 ret = fs_init(fs, cluster_size, data_size, total_size_out);
  /external/qemu/block/
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...]
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 = 1 << s->cluster_bits
1049 size_t cluster_size = 65536; local
    [all...]
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...]
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;
qcow2-cluster.c 293 static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size,
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...]
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;
    [all...]
  /external/qemu/hw/
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/
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;
3627 long long cluster_size = -1; local
    [all...]
  /external/opencv/ml/src/
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;
    [all...]
  /external/qemu/
block.h 14 int cluster_size; member in struct:BlockDriverInfo
qemu-io.c 1381 cvtstr(bdi.cluster_size, s1, sizeof(s1));
    [all...]
  /external/kernel-headers/original/linux/
msdos_fs.h 233 unsigned short cluster_bits; /* log2(cluster_size) */
234 unsigned int cluster_size; /* cluster size */ member in struct:msdos_sb_info

Completed in 740 milliseconds