Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/bd/
Dlfs_emubd.c130 bd->erased = 0; in lfs_emubd_create()
416 bd->erased += bd->cfg->erase_size; in lfs_emubd_erase()
525 LFS_EMUBD_TRACE("lfs_emubd_erased -> %"PRIu64, bd->erased); in lfs_emubd_erased()
526 return bd->erased; in lfs_emubd_erased()
545 int lfs_emubd_seterased(const struct lfs_config *cfg, lfs_emubd_io_t erased) { in lfs_emubd_seterased() argument
546 LFS_EMUBD_TRACE("lfs_emubd_seterased(%p, %"PRIu64")", (void*)cfg, erased); in lfs_emubd_seterased()
548 bd->erased = erased; in lfs_emubd_seterased()
634 copy->erased = bd->erased; in lfs_emubd_copy()
Dlfs_emubd.h153 lfs_emubd_io_t erased; member
215 int lfs_emubd_seterased(const struct lfs_config *cfg, lfs_emubd_io_t erased);
/littlefs-3.7.0-3.6.0/scripts/
Dperfbd.py121 readed=0, proged=0, erased=0, argument
124 Int(readed), Int(proged), Int(erased),
131 self.erased + other.erased,
927 max_erased = max(it.chain((float(r.erased) for r in results), [1]))
942 or float(r.erased) / max_erased >= erase_t0):
985 r.erased)
990 or float(r.erased) / max_erased >= erase_t1):
994 or float(r.erased) / max_erased >= erase_t0):
Dtracebd.py212 erased=False): argument
218 | (4 if erased else 0))
233 def erased(self): member in Block
318 if erase and self.erased:
512 or (erase and b.erased)
536 or (erase and b.erased)
Dbench.py765 erased = 0
787 nonlocal erased
842 erased += erased_
995 erased,
1041 erased = 0
1067 erased += erased_
1096 '%d erased' % erased,
Dreadmdir.py126 if hasattr(self, 'erased'): ntag.erased = self.erased
231 fcrctag.erased = True
/littlefs-3.7.0-3.6.0/runners/
Dbench_runner.c583 lfs_emubd_sio_t erased = lfs_emubd_erased(bench_cfg); in bench_start() local
584 assert(erased >= 0); in bench_start()
588 bench_last_erased = erased; in bench_start()
597 lfs_emubd_sio_t erased = lfs_emubd_erased(bench_cfg); in bench_stop() local
598 assert(erased >= 0); in bench_stop()
602 bench_erased += erased - bench_last_erased; in bench_stop()
/littlefs-3.7.0-3.6.0/
DSPEC.md199 erased. We don't know the order bits will be programmed in a program block,
203 To ensure we only ever program erased bytes, each commit can contain an
205 bytes in the next commit at the time it was erased.
222 | erased? | +-' |
832 bytes in the next commit at the time it was erased. This allows us to ensure
833 that we only ever program erased bytes, even if a previous commit failed due
863 when erased. Like the CRC tag, this uses a CRC-32 with a polynomial of
Dlfs.h364 bool erased; member
Dlfs.c1297 dir->erased = false; in lfs_dir_fetchmatch()
1306 dir->erased = true; in lfs_dir_fetchmatch()
1323 dir->erased = (fcrc_ == fcrc.crc); in lfs_dir_fetchmatch()
1804 dir->erased = false; in lfs_dir_alloc()
2221 if (dir->erased) { in lfs_dir_relocatingcommit()
4309 root.erased = false;
5699 dir2.erased = false;
5728 dir2.erased = false;
DDESIGN.md305 incrementally program new data onto erased blocks, but we need to erase a full
310 do we store references to these logs? Because the blocks themselves are erased
/littlefs-3.7.0-3.6.0/tests/
Dtest_superblocks.toml336 .erased = false,