Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c236 const uint8_t max_id = 10; in ZTEST_F() local
246 uint8_t id = (i % max_id); in ZTEST_F()
247 uint8_t id_data = id + max_id * (i / max_id); in ZTEST_F()
255 for (int id = 0; id < max_id; id++) { in ZTEST_F()
260 rd_buf[i] = rd_buf[i] % max_id; in ZTEST_F()
270 for (int id = 0; id < max_id; id++) { in ZTEST_F()
275 rd_buf[i] = rd_buf[i] % max_id; in ZTEST_F()
283 static void write_content(uint32_t max_id, uint32_t begin, uint32_t end, struct zms_fs *fs) in write_content() argument
289 uint8_t id = (i % max_id); in write_content()
290 uint8_t id_data = id + max_id * (i / max_id); in write_content()
[all …]
/Zephyr-latest/tests/subsys/fs/nvs/src/
Dmain.c256 const uint16_t max_id = 10; in ZTEST_F() local
266 uint8_t id = (i % max_id); in ZTEST_F()
267 uint8_t id_data = id + max_id * (i / max_id); in ZTEST_F()
275 for (uint16_t id = 0; id < max_id; id++) { in ZTEST_F()
281 rd_buf[i] = rd_buf[i] % max_id; in ZTEST_F()
292 for (uint16_t id = 0; id < max_id; id++) { in ZTEST_F()
298 rd_buf[i] = rd_buf[i] % max_id; in ZTEST_F()
307 static void write_content(uint16_t max_id, uint16_t begin, uint16_t end, in write_content() argument
314 uint8_t id = (i % max_id); in write_content()
315 uint8_t id_data = id + max_id * (i / max_id); in write_content()
[all …]