Searched refs:num_disks (Results 1 – 9 of 9) sorted by relevance
63 cds->num_disks = 0; in libxl__checkpoint_devices_setup()71 &cds->num_disks); in libxl__checkpoint_devices_setup()73 if (cds->num_nics == 0 && cds->num_disks == 0) in libxl__checkpoint_devices_setup()76 GCNEW_ARRAY(cds->devs, cds->num_nics + cds->num_disks); in libxl__checkpoint_devices_setup()84 for (i = 0; i < cds->num_disks; i++) { in libxl__checkpoint_devices_setup()222 libxl__device_list_free(&libxl__disk_devtype, cds->disks, cds->num_disks); in devices_teardown_cb()224 cds->num_disks = 0; in devices_teardown_cb()
1181 const int num_disks = guest_config->num_disks; in libxl__build_device_model_args_new() local1363 for (i = 0; i < num_disks; i++) { in libxl__build_device_model_args_new()1831 for (i = 0; i < num_disks; i++) { in libxl__build_device_model_args_new()2308 dm_config->num_disks = guest_config->num_disks; in libxl__spawn_stub_dm()
1251 for (i = 0; i < d_config->num_disks; i++) { in initiate_domain_create()1262 d_config->num_disks > 0 ? &d_config->disks[0] : NULL; in initiate_domain_create()2250 for (i = 0; i < d_config->num_disks; i++) in set_disk_colo_restore()2258 for (i = 0; i < d_config->num_disks; i++) in unset_disk_colo_restore()
941 ("disks", Array(libxl_device_disk, "num_disks")),
3334 int num_disks; member
284 int num_disks) in evdisable_disk_ejects() argument288 for (i = 0; i < num_disks; i++) { in evdisable_disk_ejects()1015 diskws = xmalloc(sizeof(*diskws) * d_config.num_disks); in create_domain()1016 for (i = 0; i < d_config.num_disks; i++) in create_domain()1018 num_diskws = d_config.num_disks; in create_domain()1151 evdisable_disk_ejects(diskws, d_config.num_disks); in create_domain()
160 for (i = 0; i < d_config->num_disks; i++) { in printf_info_sexp()
1980 d_config->num_disks = 0; in parse_config_data()1982 while ((buf = xlu_cfg_get_listitem (vbds, d_config->num_disks)) != NULL) { in parse_config_data()1987 d_config->num_disks, in parse_config_data()
2755 if n := int(xc.num_disks); n > 0 {2910 xc.num_disks = C.int(numDisks)
Completed in 43 milliseconds