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

  /external/qemu/block/
qcow2.h 85 int cluster_sectors; member in struct:BDRVQcowState
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...]
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...]

Completed in 141 milliseconds