Home | History | Annotate | Download | only in qemu

Lines Matching refs:unit_id

1036     int bus_id, unit_id;
1062 unit_id = -1;
1089 unit_id = strtol(buf, NULL, 0);
1090 if (unit_id < 0) {
1267 if (bus_id != 0 || unit_id != -1) {
1274 unit_id = index;
1277 unit_id = index % max_devs;
1282 /* if user doesn't specify a unit_id,
1286 if (unit_id == -1) {
1287 unit_id
1288 while (drive_get_index(type, bus_id, unit_id) != -1) {
1289 unit_id++;
1290 if (max_devs && unit_id >= max_devs) {
1291 unit_id -= max_devs;
1299 if (max_devs && unit_id >= max_devs) {
1301 str, unit_id, max_devs - 1);
1309 if (drive_get_index(type, bus_id, unit_id) != -1)
1318 devname, bus_id, mediastr, unit_id);
1321 devname, mediastr, unit_id);
1327 drives_table[drives_table_idx].unit = unit_id;