Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Ddrive_del-test.c58 static bool has_drive(QTestState *qts) in has_drive() function
95 g_assert(has_drive(qts)); in drive_add()
106 g_assert(has_drive(qts)); in drive_add_with_media()
114 g_assert(has_drive(qts)); in drive_del()
117 g_assert(!has_drive(qts)); in drive_del()
249 g_assert(!has_drive(qts)); in test_drive_del_device_del()
280 g_assert(!has_drive(qts)); in test_cli_device_del()
306 g_assert(!has_drive(qts)); in test_cli_device_del_q35()
352 g_assert(!has_drive(qts)); in test_device_add_and_del()
394 g_assert(!has_drive(qts)); in test_device_add_and_del_q35()
[all …]
/openbmc/linux/drivers/block/
H A Dfloppy.c3916 bool has_drive = false; in config_types() local
3950 if (!has_drive) { in config_types()
3952 has_drive = true; in config_types()
3963 if (has_drive) in config_types()