Lines Matching refs:diskws
283 static void evdisable_disk_ejects(libxl_evgen_disk_eject **diskws, in evdisable_disk_ejects() argument
289 if (diskws[i]) in evdisable_disk_ejects()
290 libxl_evdisable_disk_eject(ctx, diskws[i]); in evdisable_disk_ejects()
291 diskws[i] = NULL; in evdisable_disk_ejects()
670 libxl_evgen_disk_eject **diskws = NULL; /* one per disk */ in create_domain() local
1014 if (!diskws) { in create_domain()
1015 diskws = xmalloc(sizeof(*diskws) * d_config.num_disks); in create_domain()
1017 diskws[i] = NULL; in create_domain()
1023 0, &diskws[i]); in create_domain()
1057 evdisable_disk_ejects(diskws, num_diskws); in create_domain()
1058 free(diskws); in create_domain()
1059 diskws = NULL; in create_domain()
1150 if (diskws) { in create_domain()
1151 evdisable_disk_ejects(diskws, d_config.num_disks); in create_domain()
1152 free(diskws); in create_domain()