/littlefs-3.7.0-3.6.0/runners/ |
D | bench_runner.c | 462 struct timespec t; in bench_trace() local 463 clock_gettime(CLOCK_MONOTONIC, &t); in bench_trace() 464 uint64_t now = (uint64_t)t.tv_sec*1000*1000*1000 in bench_trace() 465 + (uint64_t)t.tv_nsec; in bench_trace() 476 struct timespec t; in bench_trace() local 477 clock_gettime(CLOCK_MONOTONIC, &t); in bench_trace() 478 uint64_t now = (uint64_t)t.tv_sec*1000*1000*1000 in bench_trace() 479 + (uint64_t)t.tv_nsec; in bench_trace() 776 for (size_t t = 0; t < bench_id_count; t++) { in summary() local 782 if (bench_ids[t].name && !( in summary() [all …]
|
D | test_runner.c | 478 struct timespec t; in test_trace() local 479 clock_gettime(CLOCK_MONOTONIC, &t); in test_trace() 480 uint64_t now = (uint64_t)t.tv_sec*1000*1000*1000 in test_trace() 481 + (uint64_t)t.tv_nsec; in test_trace() 492 struct timespec t; in test_trace() local 493 clock_gettime(CLOCK_MONOTONIC, &t); in test_trace() 494 uint64_t now = (uint64_t)t.tv_sec*1000*1000*1000 in test_trace() 495 + (uint64_t)t.tv_nsec; in test_trace() 803 for (size_t t = 0; t < test_id_count; t++) { in summary() local 809 if (test_ids[t].name && !( in summary() [all …]
|
/littlefs-3.7.0-3.6.0/ |
D | Makefile | 21 SRC ?= $(filter-out $(wildcard *.t.* *.b.*),$(wildcard *.c)) 26 GCDA := $(SRC:%.c=$(BUILDDIR)/%.t.gcda) 30 $(filter-out $(wildcard bd/*.t.* bd/*.b.*),$(wildcard bd/*.c)) \ 33 TEST_A := $(TESTS:%.toml=$(BUILDDIR)/%.t.a.c) \ 34 $(TEST_SRC:%.c=$(BUILDDIR)/%.t.a.c) 35 TEST_C := $(TEST_A:%.t.a.c=%.t.c) 36 TEST_OBJ := $(TEST_C:%.t.c=%.t.o) 37 TEST_DEP := $(TEST_C:%.t.c=%.t.d) 38 TEST_CI := $(TEST_C:%.t.c=%.t.ci) 39 TEST_GCNO := $(TEST_C:%.t.c=%.t.gcno) [all …]
|
D | DESIGN.md | 53 Filesystems that don't take wear into account can easily burn through blocks 56 1. **Bounded RAM/ROM** - If the above requirements weren't enough, these 128 appends. And if that wasn't good enough, their cyclic nature means that 221 problems. Because updates to a COW filesystem don't stop until they've 239 can't avoid these costs, _but_ if we put an upper bound on the size we can at 245 Let's say that our COW structure doesn't copy after a single write, but instead 246 copies after _n_ writes. This doesn't change most COW properties (assuming you 314 metadata pair independently, and we don't reduce our block granularity for 359 we don't overwrite the original entries (remember rewriting flash requires 381 Note that littlefs doesn't maintain a checksum for each entry. Many logging [all …]
|
D | .gitignore | 7 *.t.*
|
D | SPEC.md | 28 These determine the alignment of block device operations, but don't need 86 Note also that entries aren't necessarily word-aligned. This allows us to 199 erased. We don't know the order bits will be programmed in a program block, 219 | padding | | padding (does't need CRC) 300 don't necessarily need a create tag. All a create does is move over any
|
D | README.md | 64 // reformat if we can't mount the filesystem 254 for microcontroller-scale devices. Due to limitations of FAT it can't provide
|
D | lfs.c | 290 lfs_block_t t = pair[0]; in lfs_pair_swap() local 292 pair[1] = t; in lfs_pair_swap()
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | summary.py | 186 t = self.a.x/self.b.x if self.b.x else 1.0 189 '∞%' if t == +m.inf 190 else '-∞%' if t == -m.inf 191 else '%.1f%%' % (100*t)) 256 for t in fields.get(k, TYPES.values()): 258 t(v) 259 types_.append(t) 290 for t in TYPES.values(): 294 t(r[k]) 298 types_[k] = t [all …]
|
D | perfbd.py | 749 '+∞%' if t == +m.inf 750 else '-∞%' if t == -m.inf 751 else '%+.1f%%' % (100*t) 752 for t in ratios)) 755 '+∞%' if t == +m.inf 756 else '-∞%' if t == -m.inf 757 else '%+.1f%%' % (100*t) 758 for t in ratios 759 if t) 1225 "all lines. Defaults to %s." % ','.join(str(t) for t in THRESHOLD)) [all …]
|
D | cov.py | 129 t = self.a.x/self.b.x if self.b.x else 1.0 132 '∞%' if t == +m.inf 133 else '-∞%' if t == -m.inf 134 else '%.1f%%' % (100*t)) 443 '+∞%' if t == +m.inf 444 else '-∞%' if t == -m.inf 445 else '%+.1f%%' % (100*t) 446 for t in ratios)) 449 '+∞%' if t == +m.inf 450 else '-∞%' if t == -m.inf [all …]
|
D | structs.py | 404 '+∞%' if t == +m.inf 405 else '-∞%' if t == -m.inf 406 else '%+.1f%%' % (100*t) 407 for t in ratios)) 410 '+∞%' if t == +m.inf 411 else '-∞%' if t == -m.inf 412 else '%+.1f%%' % (100*t) 413 for t in ratios 414 if t)
|
D | data.py | 456 '+∞%' if t == +m.inf 457 else '-∞%' if t == -m.inf 458 else '%+.1f%%' % (100*t) 459 for t in ratios)) 462 '+∞%' if t == +m.inf 463 else '-∞%' if t == -m.inf 464 else '%+.1f%%' % (100*t) 465 for t in ratios 466 if t)
|
D | code.py | 456 '+∞%' if t == +m.inf 457 else '-∞%' if t == -m.inf 458 else '%+.1f%%' % (100*t) 459 for t in ratios)) 462 '+∞%' if t == +m.inf 463 else '-∞%' if t == -m.inf 464 else '%+.1f%%' % (100*t) 465 for t in ratios 466 if t)
|
D | stack.py | 421 '+∞%' if t == +m.inf 422 else '-∞%' if t == -m.inf 423 else '%+.1f%%' % (100*t) 424 for t in ratios)) 427 '+∞%' if t == +m.inf 428 else '-∞%' if t == -m.inf 429 else '%+.1f%%' % (100*t) 430 for t in ratios 431 if t)
|
D | perf.py | 783 '+∞%' if t == +m.inf 784 else '-∞%' if t == -m.inf 785 else '%+.1f%%' % (100*t) 786 for t in ratios)) 789 '+∞%' if t == +m.inf 790 else '-∞%' if t == -m.inf 791 else '%+.1f%%' % (100*t) 792 for t in ratios 793 if t) 1261 "all lines. Defaults to %s." % ','.join(str(t) for t in THRESHOLD))
|
D | plot.py | 951 else max((len(t) for t in s.yticklabels), default=0)) 1087 else sum(len(t) for t in s.xticklabels)) 1295 else sum(len(t) for t in s.xticklabels)), '',
|
/littlefs-3.7.0-3.6.0/tests/ |
D | test_evil.toml | 1 # Tests for recovering from conditions which shouldn't normally 62 // of ways to access the dir, some can fail, but some don't 114 // of ways to access the dir, some can fail, but some don't 179 // of ways to access the dir, some can fail, but some don't
|
D | test_powerloss.toml | 128 // doesn't notice the partial prog testbd will assert
|
D | test_bd.toml | 1 # These tests don't really test littlefs at all, they are here only to make
|
D | test_alloc.toml | 460 // check that the disk isn't hurt 475 # Below, I don't like these tests. They're fragile and depend _heavily_
|
D | test_entries.toml | 3 # still pass with other inline sizes but wouldn't be testing anything.
|