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

  /external/qemu/block/
vmdk.c 77 unsigned int cluster_sectors; member in struct:BDRVVmdkState
377 s->cluster_sectors = le32_to_cpu(header.granularity);
383 s->l1_entry_sectors = s->l2_size * s->cluster_sectors;
390 s->cluster_sectors = le64_to_cpu(header.granularity);
392 s->l1_entry_sectors = s->l2_size * s->cluster_sectors;
443 uint8_t whole_grain[s->cluster_sectors*512]; // 128 sectors * 512 bytes each = grain size 64KB
454 s->cluster_sectors);
461 s->cluster_sectors);
535 l2_index = ((offset >> 9) / s->cluster_sectors) % s->l2_size;
544 bdrv_truncate(bs->file, cluster_offset + (s->cluster_sectors << 9))
    [all...]
qcow.c 60 int cluster_sectors; member in struct:BDRVQcowState
121 s->cluster_sectors = 1 << (s->cluster_bits - 9);
325 (n_end - n_start) < s->cluster_sectors) {
348 (n_end - n_start) < s->cluster_sectors) {
352 for(i = 0; i < s->cluster_sectors; i++) {
387 index_in_cluster = sector_num & (s->cluster_sectors - 1);
388 n = s->cluster_sectors - index_in_cluster;
455 index_in_cluster = sector_num & (s->cluster_sectors - 1);
456 n = s->cluster_sectors - index_in_cluster;
580 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1)
    [all...]
qcow2-cluster.c 361 index_in_cluster = sector_num & (s->cluster_sectors - 1);
451 index_in_cluster = (offset >> 9) & (s->cluster_sectors - 1);
508 nb_available = (c * s->cluster_sectors);
687 if (m->nb_available & (s->cluster_sectors - 1)) {
688 uint64_t end = m->nb_available & ~(uint64_t)(s->cluster_sectors - 1);
690 m->nb_available - end, s->cluster_sectors);
qcow2.c 174 s->cluster_sectors = 1 << (s->cluster_bits - 9);
424 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
584 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
587 n_end > QCOW_MAX_CRYPT_CLUSTERS * s->cluster_sectors)
588 n_end = QCOW_MAX_CRYPT_CLUSTERS * s->cluster_sectors;
    [all...]
qcow2.h 85 int cluster_sectors; member in struct:BDRVQcowState

Completed in 28 milliseconds