Home
last modified time | relevance | path

Searched refs:nb_sns (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/block/
H A Dsnapshot.c57 int nb_sns, i, ret; in bdrv_snapshot_find() local
62 nb_sns = bdrv_snapshot_list(bs, &sn_tab); in bdrv_snapshot_find()
63 if (nb_sns < 0) { in bdrv_snapshot_find()
66 for (i = 0; i < nb_sns; i++) { in bdrv_snapshot_find()
105 int nb_sns, i; in bdrv_snapshot_find_by_id_and_name() local
111 nb_sns = bdrv_snapshot_list(bs, &sn_tab); in bdrv_snapshot_find_by_id_and_name()
112 if (nb_sns < 0) { in bdrv_snapshot_find_by_id_and_name()
113 error_setg_errno(errp, -nb_sns, "Failed to get a snapshot list"); in bdrv_snapshot_find_by_id_and_name()
115 } else if (nb_sns == 0) { in bdrv_snapshot_find_by_id_and_name()
120 for (i = 0; i < nb_sns; i++) { in bdrv_snapshot_find_by_id_and_name()
[all …]
/openbmc/qemu/replay/
H A Dreplay-debugging.c146 int nb_sns, i; in replay_find_nearest_snapshot() local
155 nb_sns = bdrv_snapshot_list(bs, &sn_tab); in replay_find_nearest_snapshot()
157 for (i = 0; i < nb_sns; i++) { in replay_find_nearest_snapshot()
/openbmc/qemu/block/monitor/
H A Dblock-hmp-cmds.c861 int nb_sns, i; in hmp_info_snapshots() local
891 nb_sns = bdrv_snapshot_list(bs, &sn_tab); in hmp_info_snapshots()
893 if (nb_sns < 0) { in hmp_info_snapshots()
894 monitor_printf(mon, "bdrv_snapshot_list: error %d\n", nb_sns); in hmp_info_snapshots()
927 global_snapshots = g_new0(int, nb_sns); in hmp_info_snapshots()
929 for (i = 0; i < nb_sns; i++) { in hmp_info_snapshots()
/openbmc/qemu/
H A Dqemu-img.c2821 int nb_sns, i; in dump_snapshots() local
2823 nb_sns = bdrv_snapshot_list(bs, &sn_tab); in dump_snapshots()
2824 if (nb_sns <= 0) in dump_snapshots()
2829 for(i = 0; i < nb_sns; i++) { in dump_snapshots()