Searched refs:disk_sector_count (Results 1 – 2 of 2) sorted by relevance
58 static uint32_t disk_sector_count; variable118 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()
47 static uint32_t disk_sector_count; variable71 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()