Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/
Dlfs.c433 static inline void lfs_superblock_fromle32(lfs_superblock_t *superblock) { in lfs_superblock_fromle32() argument
434 superblock->version = lfs_fromle32(superblock->version); in lfs_superblock_fromle32()
435 superblock->block_size = lfs_fromle32(superblock->block_size); in lfs_superblock_fromle32()
436 superblock->block_count = lfs_fromle32(superblock->block_count); in lfs_superblock_fromle32()
437 superblock->name_max = lfs_fromle32(superblock->name_max); in lfs_superblock_fromle32()
438 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32()
439 superblock->attr_max = lfs_fromle32(superblock->attr_max); in lfs_superblock_fromle32()
443 static inline void lfs_superblock_tole32(lfs_superblock_t *superblock) { in lfs_superblock_tole32() argument
444 superblock->version = lfs_tole32(superblock->version); in lfs_superblock_tole32()
445 superblock->block_size = lfs_tole32(superblock->block_size); in lfs_superblock_tole32()
[all …]
DSPEC.md36 distributed atomic updates. Even the superblock is stored in a metadata pair.
325 Initializes the id as a superblock entry.
327 The superblock entry is a special entry used to store format-time configuration
330 The name is a bit of a misnomer. While the superblock entry serves the same
331 purpose as a superblock found in other filesystems, in littlefs the superblock
332 does not get a dedicated block. Instead, the superblock entry is duplicated
345 superblock pairs root directory
348 The filesystem starts with only the root directory. The superblock metadata
352 The contents of the superblock entry are stored in a name tag with the
353 superblock type and an inline-struct tag. The name tag contains the magic
[all …]
/littlefs-3.5.0-3.4.0/scripts/
Dreadtree.py11 superblock = None
52 superblock = nsuperblock, mdir[Tag('inlinestruct', 0, 0)]
104 if superblock:
106 struct.unpack('<HH', superblock[1].data[0:4].ljust(4, b'\xff'))))
/littlefs-3.5.0-3.4.0/tests/
Dtest_superblocks.toml29 [[case]] # expanding superblock
57 [[case]] # expanding superblock with power cycle
90 [[case]] # reentrant expanding superblock
Dtest_exhaustion.toml264 [[case]] # wear-level test + expanding superblock
435 // skip 0 and 1 as superblock movement is intentionally avoided
Dtest_paths.toml224 [[case]] # superblock conflict test