Home | History | Annotate | Download | only in block

Lines Matching refs:index_in_cluster

383     int index_in_cluster, n;
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;
580 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
581 acb->n = s->cluster_sectors - index_in_cluster;
605 s->cluster_cache + index_in_cluster * 512, 512 * acb->n);
616 (acb->cluster_offset >> 9) + index_in_cluster,
652 int index_in_cluster;
671 index_in_cluster = acb->sector_num & (s->cluster_sectors - 1);
672 acb->n = s->cluster_sectors - index_in_cluster;
676 index_in_cluster,
677 index_in_cluster + acb->n);
701 (cluster_offset >> 9) + index_in_cluster,