Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/scripts/
Dtracebd.py242 def erase(self): member in Block
268 erase=True, argument
318 if erase and self.erased:
392 def erase(self, block=None, off=None, size=None): member in Bd
393 self._op(Block.erase, block, off, size)
453 erase=False, argument
512 or (erase and b.erased)
513 or (not read and not prog and not erase
523 erase=erase,
536 or (erase and b.erased)
[all …]
/littlefs-3.7.0-3.6.0/tests/
Dtest_bd.toml14 cfg->erase(cfg, 0) => 0;
41 cfg->erase(cfg, block) => 0;
61 cfg->erase(cfg, block) => 0;
99 cfg->erase(cfg, block) => 0;
119 cfg->erase(cfg, block) => 0;
158 cfg->erase(cfg, block) => 0;
205 cfg->erase(cfg, block) => 0;
Dtest_powerloss.toml49 cfg->erase(cfg, pair[1]) => 0;
145 cfg->erase(cfg, block) => 0;
Dtest_move.toml118 cfg->erase(cfg, block) => 0;
199 cfg->erase(cfg, block) => 0;
215 cfg->erase(cfg, block) => 0;
295 cfg->erase(cfg, block) => 0;
311 cfg->erase(cfg, block) => 0;
578 cfg->erase(cfg, block) => 0;
665 cfg->erase(cfg, block) => 0;
681 cfg->erase(cfg, block) => 0;
768 cfg->erase(cfg, block) => 0;
784 cfg->erase(cfg, block) => 0;
Dtest_orphans.toml30 cfg->erase(cfg, block) => 0;
Dtest_evil.toml174 cfg->erase(cfg, ctz.head) => 0;
/littlefs-3.7.0-3.6.0/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()
/littlefs-3.7.0-3.6.0/runners/
Dtest_runner.c1340 .erase = lfs_emubd_erase, in run_powerloss_none()
1416 .erase = lfs_emubd_erase, in run_powerloss_linear()
1509 .erase = lfs_emubd_erase, in run_powerloss_log()
1600 .erase = lfs_emubd_erase, in run_powerloss_cycles()
1789 .erase = lfs_emubd_erase, in run_powerloss_exhaustive()
Dbench_runner.c1315 .erase = lfs_emubd_erase, in perm_run()
/littlefs-3.7.0-3.6.0/
DREADME.md46 .erase = user_provided_block_device_erase,
125 In the configuration struct, the `prog` and `erase` function provided by the
DSPEC.md26 - In addition to the logical block size (which usually matches the erase
39 providing a backup during erase cycles in case power is lost. These two blocks
45 order to update the metadata without requiring an erase cycles. Note that
93 1. **Revision count (32-bits)** - Incremented every erase cycle. If both blocks
Dlfs.h178 int (*erase)(const struct lfs_config *c, lfs_block_t block); member
Dlfs.c280 int err = lfs->cfg->erase(lfs->cfg, block); in lfs_bd_erase()
5774 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
5804 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
6323 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync,
DDESIGN.md305 incrementally program new data onto erased blocks, but we need to erase a full
360 an erase), we still have the original entries if we lose power during the
417 During this compaction step we also erase the metadata block and increment