Lines Matching refs:nb_sectors
1289 uint8_t *buf, int nb_sectors) in vvfat_read() argument
1294 for(i=0;i<nb_sectors;i++,sector_num++) { in vvfat_read()
1300 sector_num, nb_sectors-i, &n)) { in vvfat_read()
2661 const uint8_t *buf, int nb_sectors) in vvfat_write() argument
2680 i <= sector2cluster(s, sector_num + nb_sectors - 1);) { in vvfat_write()
2700 if (end > sector_num + nb_sectors) in vvfat_write()
2701 end = sector_num + nb_sectors; in vvfat_write()
2732 DLOG(fprintf(stderr, "Write to qcow backend: %d + %d\n", (int)sector_num, nb_sectors)); in vvfat_write()
2733 ret = s->qcow->drv->bdrv_write(s->qcow, sector_num, buf, nb_sectors); in vvfat_write()
2740 i <= sector2cluster(s, sector_num + nb_sectors - 1); i++) in vvfat_write()
2753 int64_t sector_num, int nb_sectors, int* n) in vvfat_is_allocated() argument
2757 if (*n > nb_sectors) in vvfat_is_allocated()
2758 *n = nb_sectors; in vvfat_is_allocated()
2765 const uint8_t* buffer, int nb_sectors) { in write_target_commit() argument