Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c28 static enum backend_fs_state backend_state = BACKEND_FS_NOT_INITIALIZED; variable
154 if (backend_state == BACKEND_FS_NOT_INITIALIZED) { in write_log_to_file()
162 backend_state = (rc ? BACKEND_FS_CORRUPTED : BACKEND_FS_OK); in write_log_to_file()
165 if (backend_state == BACKEND_FS_OK) { in write_log_to_file()
173 backend_state = BACKEND_FS_CORRUPTED; in write_log_to_file()
224 backend_state = BACKEND_FS_CORRUPTED; in write_log_to_file()
270 if (backend_state == BACKEND_FS_NOT_INITIALIZED) { in allocate_new_file()
359 backend_state = BACKEND_FS_OK; in allocate_new_file()
369 backend_state = BACKEND_FS_OK; in allocate_new_file()