Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c58 static uint32_t disk_sector_count; variable
118 disk_sector_count = cmd_buf; in test_setup()
156 if (disk_sector_count / 2 > num_sectors) { in test_sector_read()
157 sector = disk_sector_count / 2 - num_sectors; in test_sector_read()
165 rc = read_sector(buf, disk_sector_count - 1, num_sectors); in test_sector_read()
214 if (disk_sector_count / 2 > num_sectors) { in test_sector_write()
215 sector = disk_sector_count / 2 - num_sectors; in test_sector_write()
223 rc = write_sector_checked(wbuf, rbuf, disk_sector_count - 1, num_sectors); in test_sector_write()
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c47 static uint32_t disk_sector_count; variable
71 disk_sector_count = cmd_buf; in test_setup()
215 sector = sys_rand32_get() / ((UINT32_MAX / disk_sector_count) + 1); in ZTEST()
259 sector = sys_rand32_get() / ((UINT32_MAX / disk_sector_count) + 1); in ZTEST()