Searched refs:superblock (Results 1 – 7 of 7) sorted by relevance
/littlefs-3.7.0-3.6.0/ |
D | lfs.c | 477 static inline void lfs_superblock_fromle32(lfs_superblock_t *superblock) { in lfs_superblock_fromle32() argument 478 superblock->version = lfs_fromle32(superblock->version); in lfs_superblock_fromle32() 479 superblock->block_size = lfs_fromle32(superblock->block_size); in lfs_superblock_fromle32() 480 superblock->block_count = lfs_fromle32(superblock->block_count); in lfs_superblock_fromle32() 481 superblock->name_max = lfs_fromle32(superblock->name_max); in lfs_superblock_fromle32() 482 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32() 483 superblock->attr_max = lfs_fromle32(superblock->attr_max); in lfs_superblock_fromle32() 487 static inline void lfs_superblock_tole32(lfs_superblock_t *superblock) { in lfs_superblock_tole32() argument 488 superblock->version = lfs_tole32(superblock->version); in lfs_superblock_tole32() 489 superblock->block_size = lfs_tole32(superblock->block_size); in lfs_superblock_tole32() [all …]
|
D | SPEC.md | 36 distributed atomic updates. Even the superblock is stored in a metadata pair. 366 Initializes the id as a superblock entry. 368 The superblock entry is a special entry used to store format-time configuration 371 The name is a bit of a misnomer. While the superblock entry serves the same 372 purpose as a superblock found in other filesystems, in littlefs the superblock 373 does not get a dedicated block. Instead, the superblock entry is duplicated 386 superblock pairs root directory 389 The filesystem starts with only the root directory. The superblock metadata 393 The contents of the superblock entry are stored in a name tag with the 394 superblock type and an inline-struct tag. The name tag contains the magic [all …]
|
/littlefs-3.7.0-3.6.0/tests/ |
D | test_superblocks.toml | 17 # mount/unmount from interpretting a previous superblock block_count 52 # test we can read superblock info through lfs_fs_stat 100 # expanding superblock 134 # expanding superblock with power cycle 172 # reentrant expanding superblock 340 lfs_superblock_t superblock = { 349 lfs_superblock_tole32(&superblock); 353 {LFS_MKTAG(LFS_TYPE_INLINESTRUCT, 0, sizeof(superblock)), 354 &superblock})) => 0;
|
D | test_compat.toml | 1299 // create a superblock 1310 lfs_superblock_t superblock = { 1318 lfs_superblock_tole32(&superblock); 1320 {LFS_MKTAG(LFS_TYPE_INLINESTRUCT, 0, sizeof(superblock)), 1321 &superblock})) => 0; 1332 // create a superblock 1343 lfs_superblock_t superblock = { 1351 lfs_superblock_tole32(&superblock); 1353 {LFS_MKTAG(LFS_TYPE_INLINESTRUCT, 0, sizeof(superblock)), 1354 &superblock})) => 0; [all …]
|
D | test_exhaustion.toml | 288 # wear-level test + expanding superblock 475 // skip 0 and 1 as superblock movement is intentionally avoided
|
D | test_paths.toml | 256 # superblock conflict test
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | readtree.py | 11 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'))))
|