Lines Matching full:disk
22 #error "No disk device defined, is your board supported?"
55 /* Sets up test by initializing disk */
62 zassert_equal(rc, 0, "Disk access initialization failed"); in test_setup()
65 zassert_equal(rc, DISK_STATUS_OK, "Disk status is not OK"); in test_setup()
68 zassert_equal(rc, 0, "Disk ioctl get sector count failed"); in test_setup()
70 TC_PRINT("Disk reports %u sectors\n", cmd_buf); in test_setup()
74 zassert_equal(rc, 0, "Disk ioctl get sector size failed"); in test_setup()
75 TC_PRINT("Disk reports sector size %u\n", cmd_buf); in test_setup()
100 /* Read from start of disk */ in read_helper()
105 zassert_equal(rc, 0, "disk read failed"); in read_helper()
121 zassert_unreachable("Disk is not initialized"); in ZTEST()
151 zassert_equal(rc, 0, "disk read failed"); in write_helper()
164 zassert_equal(rc, 0, "disk write failed"); in write_helper()
174 zassert_equal(rc, 0, "disk write failed"); in write_helper()
184 zassert_unreachable("Disk is not initialized"); in ZTEST()
209 zassert_unreachable("Disk is not initialized"); in ZTEST()
253 zassert_unreachable("Disk is not initialized"); in ZTEST()
264 zassert_equal(rc, 0, "disk read failed for random write backup"); in ZTEST()
299 zassert_equal(rc, 0, "failed to write backup sector to disk"); in ZTEST()