Lines Matching refs:nb_snapshots
240 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset )
250 for (i = 0; i < nb_snapshots; i++) {
290 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset )
297 read_or_die(fd, nb_snapshots, sizeof(*nb_snapshots));
301 be32_to_cpus(nb_snapshots);
319 uint32_t nb_snapshots;
321 snapshot_read_qcow_header(fd, &nb_snapshots, &snapshots_offset);
323 if (nb_snapshots > 0) {
325 snapshot_print_table(fd, nb_snapshots, snapshots_offset);