Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/
DSPEC.md198 global state. Even the CRCs used to mark the end of commits get their own tag.
601 but this may change if additional metadata pair state is added.
606 When this happens, littlefs sets the "sync" flag in the global state. How
662 Provides delta bits for global state entries.
664 littlefs has a concept of "global state". This is a small set of state that
667 The way this works is that the global state is stored as a set of deltas
668 distributed across the filesystem such that the global state can be found by
683 so any global state should be kept very small.
685 The size and format of each piece of global state depends on the type, which
686 is stored in the chunk field. Currently, the only global state is move state,
[all …]
Dlfs.c2017 int state = 0; in lfs_dir_relocatingcommit() local
2045 state = LFS_OK_DROPPED; in lfs_dir_relocatingcommit()
2126 state = lfs_dir_splittingcompact(lfs, dir, attrs, attrcount, in lfs_dir_relocatingcommit()
2128 if (state < 0) { in lfs_dir_relocatingcommit()
2129 return state; in lfs_dir_relocatingcommit()
2179 return state; in lfs_dir_relocatingcommit()
2207 int state = lfs_dir_relocatingcommit(lfs, &ldir, dir->pair, in lfs_dir_orphaningcommit() local
2209 if (state < 0) { in lfs_dir_orphaningcommit()
2210 return state; in lfs_dir_orphaningcommit()
2224 if (state == LFS_OK_DROPPED) { in lfs_dir_orphaningcommit()
[all …]
DDESIGN.md127 detect power-loss and fall back to the previous state by ignoring failed
1813 If we only had some sort of global state, then we could also store a flag and
1850 introduction of a mechanism called "global state".
1854 Global state is a small set of state that can be updated from _any_ metadata
1855 pair. Combining global state with metadata pairs' ability to update multiple
1859 How does global state work?
1861 Global state exists as a set of deltas that are distributed across the metadata
1862 pairs in the filesystem. The actual global state can be built out of these
1876 To update the global state from a metadata pair, we take the global state we
1879 the filesystem's global state.
[all …]
DREADME.md16 power is lost the filesystem will fall back to the last known good state.
103 The state of the littlefs is stored in the `lfs_t` type which is left up
/littlefs-3.5.0-3.4.0/scripts/
Dexplode_asserts.py247 def pop(self, state): argument
248 self.off = state
294 state = p.push()
300 p.pop(state)
/littlefs-3.5.0-3.4.0/tests/
Dtest_move.toml918 [[case]] # move state stealing