Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c29 static int file_ctr, newest, oldest; variable
202 file_ctr--; in write_log_to_file()
297 ++file_ctr; in allocate_new_file()
303 if ((file_ctr > 1) && in allocate_new_file()
356 if (file_ctr == 0) { in allocate_new_file()
357 ++file_ctr; in allocate_new_file()
363 if (file_ctr >= 1) { in allocate_new_file()
386 while ((file_ctr >= CONFIG_LOG_BACKEND_FS_FILES_LIMIT) || in allocate_new_file()
414 ++file_ctr; in allocate_new_file()
439 --file_ctr; in del_oldest_log()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c137 int file_ctr = 0; in ZTEST() local
182 ++file_ctr; in ZTEST()
186 zassert_equal(file_ctr, 2, "File changing failed"); in ZTEST()
194 int file_ctr = 0; in ZTEST() local
221 ++file_ctr; in ZTEST()
226 zassert_equal(file_ctr, CONFIG_LOG_BACKEND_FS_FILES_LIMIT, in ZTEST()
228 CONFIG_LOG_BACKEND_FS_FILES_LIMIT, file_ctr); in ZTEST()