Home
last modified time | relevance | path

Searched full:tail (Results 1 – 8 of 8) sorted by relevance

/littlefs-2.7.6/scripts/
Dreadtree.py18 tail = (args.block1, args.block2)
22 if set(m.blocks) == set(tail):
31 for block in tail:
42 mdir.tail = mdir[Tag('tail', 0, 0)]
43 if mdir.tail.size != 8 or mdir.tail.data == 8*b'\xff':
44 mdir.tail = None
46 mdir.tail = None
70 if mdir.tail is None or not mdir.tail.is_('hardtail'):
74 if mdir.tail is None:
77 tail = struct.unpack('<II', mdir.tail.data)
[all …]
Dreadmdir.py21 'tail': (0x700, 0x600),
323 mdir.tail = mdir[Tag('tail', 0, 0)]
324 if mdir.tail.size != 8 or mdir.tail.data == 8*b'\xff':
325 mdir.tail = None
327 mdir.tail = None
337 ' -> {%#x, %#x}' % struct.unpack('<II', mdir.tail.data)
338 if mdir.tail else ''))
/littlefs-2.7.6/
Dlfs.c881 dir->tail[0] = temptail[0]; in lfs_dir_fetchmatch()
882 dir->tail[1] = temptail[1]; in lfs_dir_fetchmatch()
1102 dir->tail[0] = lfs->root[0]; in lfs_dir_find()
1103 dir->tail[1] = lfs->root[1]; in lfs_dir_find()
1158 LFS_MKTAG(LFS_TYPE_STRUCT, lfs_tag_id(tag), 8), dir->tail); in lfs_dir_find()
1162 lfs_pair_fromle32(dir->tail); in lfs_dir_find()
1167 tag = lfs_dir_fetchmatch(lfs, dir, dir->tail, in lfs_dir_find()
1385 dir->tail[0] = LFS_BLOCK_NULL; in lfs_dir_alloc()
1386 dir->tail[1] = LFS_BLOCK_NULL; in lfs_dir_alloc()
1394 static int lfs_dir_drop(lfs_t *lfs, lfs_mdir_t *dir, lfs_mdir_t *tail) { in lfs_dir_drop() argument
[all …]
DSPEC.md440 The pointer to the next metadata-pair in the directory is stored in a tail tag,
576 Provides the tail pointer for the metadata pair itself.
578 The metadata pair's tail pointer is used in littlefs for a linked-list
579 containing all metadata pairs. The chunk field contains the type of the tail,
581 (hard-tail) or only used to traverse the filesystem (soft-tail).
620 Layout of the tail tag:
628 | | '---------- tail type
633 Tail fields:
635 1. **Tail type (8-bits)** - Type of the tail pointer.
642 Provides a tail pointer that points to the next metadata pair in the
[all …]
D.travis.yml72 CURR=$(tail -n1 sizes | awk '{print $1}')
Dlfs.h314 lfs_block_t tail[2]; member
DDESIGN.md447 containing half of the entries, connected by a tail pointer. Instead of
455 and then inserting the tail pointer during the commit to the original
467 | B | checksum | | tail ---------------------.
/littlefs-2.7.6/tests/
Dtest_evil.toml6 [[case]] # invalid tail-pointer test
14 // change tail-pointer to invalid pointers
218 // change tail-pointer to point to ourself
250 // change tail-pointer to point to root
280 // change tail-pointer to point to ourself