Home
last modified time | relevance | path

Searched refs:drives_table_idx (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dvl.c848 int drives_table_idx; in drive_init() local
1126 drives_table_idx = drive_get_free_idx(); in drive_init()
1127 drives_table[drives_table_idx].bdrv = bdrv; in drive_init()
1128 drives_table[drives_table_idx].type = type; in drive_init()
1129 drives_table[drives_table_idx].bus = bus_id; in drive_init()
1130 drives_table[drives_table_idx].unit = unit_id; in drive_init()
1131 drives_table[drives_table_idx].onerror = onerror; in drive_init()
1132 drives_table[drives_table_idx].drive_opt_idx = arg - drives_opt; in drive_init()
1133 strncpy(drives_table[drives_table_idx].serial, serial, sizeof(serial)); in drive_init()
1185 return drives_table_idx; in drive_init()
Dvl-android.c1045 int drives_table_idx; in drive_init() local
1323 drives_table_idx = drive_get_free_idx(); in drive_init()
1324 drives_table[drives_table_idx].bdrv = bdrv; in drive_init()
1325 drives_table[drives_table_idx].type = type; in drive_init()
1326 drives_table[drives_table_idx].bus = bus_id; in drive_init()
1327 drives_table[drives_table_idx].unit = unit_id; in drive_init()
1328 drives_table[drives_table_idx].onerror = onerror; in drive_init()
1329 drives_table[drives_table_idx].drive_opt_idx = arg - drives_opt; in drive_init()
1330 strncpy(drives_table[drives_table_idx].serial, serial, sizeof(serial)); in drive_init()
1383 return drives_table_idx; in drive_init()