Home
last modified time | relevance | path

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

/littlefs-latest/
DSPEC.md647 can cause this linked-list to become out of sync if a power-loss were to occur.
648 When this happens, littlefs sets the "sync" flag in the global state. How
651 When the sync flag is set:
658 If the sync flag is set, the threaded linked-list must be checked for these
737 cause to filesystem to go out of sync if the power is lost. The operations
748 In the case of operations to the threaded linked-list, a single "sync" bit is
749 used to indicate that a modification is ongoing. If this sync flag is set, the
762 | | | | '----------------- sync bit
773 is in-sync. If set, the threaded linked-list should be checked for errors.
DREADME.md47 .sync = user_provided_block_device_sync,
114 the filesystem until sync or close is called on the file.
131 If your storage caches writes, make sure that the provided `sync` function
135 hits the memory, the `sync` function can simply return 0.
Dlfs.h181 int (*sync)(const struct lfs_config *c); member
Dlfs.c223 err = lfs->cfg->sync(lfs->cfg); in lfs_bd_sync()
4225 LFS_ASSERT(lfs->cfg->sync != NULL);
5963 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
5993 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
6512 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
/littlefs-latest/tests/
Dtest_move.toml120 cfg->sync(cfg) => 0;
201 cfg->sync(cfg) => 0;
217 cfg->sync(cfg) => 0;
297 cfg->sync(cfg) => 0;
313 cfg->sync(cfg) => 0;
584 cfg->sync(cfg) => 0;
671 cfg->sync(cfg) => 0;
687 cfg->sync(cfg) => 0;
774 cfg->sync(cfg) => 0;
790 cfg->sync(cfg) => 0;
Dtest_orphans.toml32 cfg->sync(cfg) => 0;
Dtest_seek.toml230 // sync
/littlefs-latest/runners/
Dtest_runner.c1341 .sync = lfs_emubd_sync, in run_powerloss_none()
1420 .sync = lfs_emubd_sync, in run_powerloss_linear()
1516 .sync = lfs_emubd_sync, in run_powerloss_log()
1610 .sync = lfs_emubd_sync, in run_powerloss_cycles()
1802 .sync = lfs_emubd_sync, in run_powerloss_exhaustive()
Dbench_runner.c1316 .sync = lfs_emubd_sync, in perm_run()
/littlefs-latest/bd/
Dlfs_rambd.c19 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_rambd_create()
Dlfs_filebd.c27 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_filebd_create()
Dlfs_emubd.c109 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_emubd_create()