HomeSort by relevance Sort by last modified time
    Searched full:cluster_sectors (Results 1 - 5 of 5) sorted by null

  /external/qemu/block/
vmdk.c 77 unsigned int cluster_sectors; member in struct:BDRVVmdkState
390 s->cluster_sectors = le32_to_cpu(header.granularity);
396 s->l1_entry_sectors = s->l2_size * s->cluster_sectors;
403 s->cluster_sectors = le64_to_cpu(header.granularity);
405 s->l1_entry_sectors = s->l2_size * s->cluster_sectors;
463 uint8_t whole_grain[s->cluster_sectors*512]; // 128 sectors * 512 bytes each = grain size 64KB
478 if (bdrv_pread(ps->hd, parent_cluster_offset, whole_grain, ps->cluster_sectors*512) != ps->cluster_sectors*512)
555 l2_index = ((offset >> 9) / s->cluster_sectors) % s->l2_size;
564 bdrv_truncate(s->hd, cluster_offset + (s->cluster_sectors << 9))
    [all...]
qcow.c 60 int cluster_sectors; member in struct:BDRVQcowState
124 s->cluster_sectors = 1 << (s->cluster_bits - 9);
328 (n_end - n_start) < s->cluster_sectors) {
351 (n_end - n_start) < s->cluster_sectors) {
355 for(i = 0; i < s->cluster_sectors; i++) {
390 index_in_cluster = sector_num & (s->cluster_sectors - 1);
391 n = s->cluster_sectors - index_in_cluster;
457 index_in_cluster = sector_num & (s->cluster_sectors - 1);
458 n = s->cluster_sectors - index_in_cluster;
582 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1)
    [all...]
qcow2-cluster.c 319 index_in_cluster = sector_num & (s->cluster_sectors - 1);
403 index_in_cluster = (offset >> 9) & (s->cluster_sectors - 1);
459 nb_available = (c * s->cluster_sectors);
623 if (m->nb_available & (s->cluster_sectors - 1)) {
624 uint64_t end = m->nb_available & ~(uint64_t)(s->cluster_sectors - 1);
626 m->nb_available - end, s->cluster_sectors);
qcow2.c 192 s->cluster_sectors = 1 << (s->cluster_bits - 9);
428 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
560 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
563 n_end > QCOW_MAX_CRYPT_CLUSTERS * s->cluster_sectors)
564 n_end = QCOW_MAX_CRYPT_CLUSTERS * s->cluster_sectors;
849 if (nb_sectors != s->cluster_sectors)
881 bdrv_write(bs, sector_num, buf, s->cluster_sectors);
qcow2.h 81 int cluster_sectors; member in struct:BDRVQcowState

Completed in 42 milliseconds