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

  /external/qemu/block/
qcow.c 383 int index_in_cluster, n; local
387 index_in_cluster = sector_num & (s->cluster_sectors - 1);
388 n = s->cluster_sectors - index_in_cluster;
450 int ret, index_in_cluster, n;
455 index_in_cluster = sector_num & (s->cluster_sectors - 1);
456 n = s->cluster_sectors - index_in_cluster;
471 memcpy(buf, s->cluster_cache + index_in_cluster * 512, 512 * n);
473 ret = bdrv_pread(bs->file, cluster_offset + index_in_cluster * 512, buf, n * 512);
547 int index_in_cluster; local
580 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1)
652 int index_in_cluster; local
    [all...]
vmdk.c 574 int index_in_cluster, n; local
578 index_in_cluster = sector_num % s->cluster_sectors;
579 n = s->cluster_sectors - index_in_cluster;
590 int index_in_cluster, n, ret; local
595 index_in_cluster = sector_num % s->cluster_sectors;
596 n = s->cluster_sectors - index_in_cluster;
611 if(bdrv_pread(bs->file, cluster_offset + index_in_cluster * 512, buf, n * 512) != n * 512)
626 int index_in_cluster, n; local
639 index_in_cluster = sector_num & (s->cluster_sectors - 1);
640 n = s->cluster_sectors - index_in_cluster;
    [all...]
qcow2-cluster.c 349 int ret, index_in_cluster, n, n1; local
361 index_in_cluster = sector_num & (s->cluster_sectors - 1);
378 memcpy(buf, s->cluster_cache + index_in_cluster * 512, 512 * n);
381 ret = bdrv_pread(bs->file, cluster_offset + index_in_cluster * 512, buf, n * 512);
447 unsigned int index_in_cluster, nb_clusters; local
451 index_in_cluster = (offset >> 9) & (s->cluster_sectors - 1);
452 nb_needed = *num + index_in_cluster;
464 nb_available = (nb_available >> 9) + index_in_cluster;
513 *num = nb_available - index_in_cluster;
qcow2.c 387 int index_in_cluster, n1; local
424 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
457 memcpy(acb->buf, s->cluster_cache + index_in_cluster * 512,
473 (acb->cluster_offset >> 9) + index_in_cluster,
559 int index_in_cluster; local
584 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
585 n_end = index_in_cluster + acb->remaining_sectors;
591 index_in_cluster, n_end, &acb->cur_nr_sectors, &acb->l2meta);
623 (acb->cluster_offset >> 9) + index_in_cluster,
    [all...]

Completed in 253 milliseconds