Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/scripts/
Dprettyasserts.py254 def pop(self, state): argument
255 self.off = state
258 state = p.push()
277 p.pop(state)
294 p.pop(state)
306 p.pop(state)
328 state = p.push()
332 p.pop(state)
353 state = p.push()
367 p.pop(state)
[all …]
Dtracebd.py208 def __new__(cls, state=0, *, argument
214 state
/littlefs-3.7.0-3.6.0/
DSPEC.md239 global state. Even the CRCs used to mark the end of commits get their own tag.
642 but this may change if additional metadata pair state is added.
647 When this happens, littlefs sets the "sync" flag in the global state. How
703 Provides delta bits for global state entries.
705 littlefs has a concept of "global state". This is a small set of state that
708 The way this works is that the global state is stored as a set of deltas
709 distributed across the filesystem such that the global state can be found by
724 so any global state should be kept very small.
726 The size and format of each piece of global state depends on the type, which
727 is stored in the chunk field. Currently, the only global state is move state,
[all …]
Dlfs.c2188 int state = 0; in lfs_dir_relocatingcommit() local
2216 state = LFS_OK_DROPPED; in lfs_dir_relocatingcommit()
2297 state = lfs_dir_splittingcompact(lfs, dir, attrs, attrcount, in lfs_dir_relocatingcommit()
2299 if (state < 0) { in lfs_dir_relocatingcommit()
2300 return state; in lfs_dir_relocatingcommit()
2350 return state; in lfs_dir_relocatingcommit()
2378 int state = lfs_dir_relocatingcommit(lfs, &ldir, dir->pair, in lfs_dir_orphaningcommit() local
2380 if (state < 0) { in lfs_dir_orphaningcommit()
2381 return state; in lfs_dir_orphaningcommit()
2395 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.7.0-3.6.0/runners/
Dbench_runner.h78 uint32_t bench_prng(uint32_t *state);
80 #define BENCH_PRNG(state) bench_prng(state) argument
Dtest_runner.h71 uint32_t test_prng(uint32_t *state);
73 #define TEST_PRNG(state) test_prng(state) argument
Dtest_runner.c563 uint32_t test_prng(uint32_t *state) { in test_prng() argument
566 uint32_t x = *state; in test_prng()
570 *state = x; in test_prng()
779 struct perm_count_state *state = data; in perm_count() local
784 state->total += 1; in perm_count()
790 state->filtered += 1; in perm_count()
1688 struct powerloss_exhaustive_state *state = c; in powerloss_exhaustive_branch() local
1691 (void**)&state->branches, in powerloss_exhaustive_branch()
1693 &state->branch_count, in powerloss_exhaustive_branch()
1694 &state->branch_capacity); in powerloss_exhaustive_branch()
[all …]
Dbench_runner.c547 uint32_t bench_prng(uint32_t *state) { in bench_prng() argument
550 uint32_t x = *state; in bench_prng()
554 *state = x; in bench_prng()
753 struct perm_count_state *state = data; in perm_count() local
757 state->total += 1; in perm_count()
763 state->filtered += 1; in perm_count()
/littlefs-3.7.0-3.6.0/tests/
Dtest_orphans.toml76 // we should have orphans at this state
113 // we should have orphans at this state
143 // we should have orphans at this state
185 // we should have orphans at this state