Lines Matching refs:nb_sectors
1284 uint8_t *buf, int nb_sectors) in vvfat_read() argument
1289 for(i=0;i<nb_sectors;i++,sector_num++) { in vvfat_read()
1295 sector_num, nb_sectors-i, &n)) { in vvfat_read()
2649 const uint8_t *buf, int nb_sectors) in vvfat_write() argument
2668 i <= sector2cluster(s, sector_num + nb_sectors - 1);) { in vvfat_write()
2688 if (end > sector_num + nb_sectors) in vvfat_write()
2689 end = sector_num + nb_sectors; in vvfat_write()
2720 DLOG(fprintf(stderr, "Write to qcow backend: %d + %d\n", (int)sector_num, nb_sectors)); in vvfat_write()
2721 ret = s->qcow->drv->bdrv_write(s->qcow, sector_num, buf, nb_sectors); in vvfat_write()
2728 i <= sector2cluster(s, sector_num + nb_sectors - 1); i++) in vvfat_write()
2741 int64_t sector_num, int nb_sectors, int* n) in vvfat_is_allocated() argument
2745 if (*n > nb_sectors) in vvfat_is_allocated()
2746 *n = nb_sectors; in vvfat_is_allocated()
2753 const uint8_t* buffer, int nb_sectors) { in write_target_commit() argument