Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 16 of 16) sorted by relevance

/littlefs-3.7.0-3.6.0/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 …]
Dtailpipe.py36 self.tail = io.StringIO()
46 if len(lines) > 1 and self.tail.getvalue():
47 self.tail.write(lines[0])
48 lines[0] = self.tail.getvalue()
49 self.tail = io.StringIO()
54 self.tail.write(lines[-1])
Dwatch.py72 self.tail = io.StringIO()
82 if len(lines) > 1 and self.tail.getvalue():
83 self.tail.write(lines[0])
84 lines[0] = self.tail.getvalue()
85 self.tail = io.StringIO()
90 self.tail.write(lines[-1])
Dreadmdir.py355 mdir.tail = mdir[Tag('tail', 0, 0)]
356 if mdir.tail.size != 8 or mdir.tail.data == 8*b'\xff':
357 mdir.tail = None
359 mdir.tail = None
369 ' -> {%#x, %#x}' % struct.unpack('<II', mdir.tail.data)
370 if mdir.tail else ''))
Dtracebd.py58 self.tail = io.StringIO()
68 if len(lines) > 1 and self.tail.getvalue():
69 self.tail.write(lines[0])
70 lines[0] = self.tail.getvalue()
71 self.tail = io.StringIO()
76 self.tail.write(lines[-1])
Dbench.py711 def __init__(self, path, head=None, tail=None): argument
715 self.tail = tail or []
716 self.writer = csv.DictWriter(self.f, self.head + self.tail)
731 if all(k in self.head or k in self.tail for k in row.keys()):
736 self.head.extend(row.keys() - (self.head + self.tail))
739 self.writer = csv.DictWriter(self.f, self.head + self.tail)
Dtest.py728 def __init__(self, path, head=None, tail=None): argument
732 self.tail = tail or []
733 self.writer = csv.DictWriter(self.f, self.head + self.tail)
748 if all(k in self.head or k in self.tail for k in row.keys()):
753 self.head.extend(row.keys() - (self.head + self.tail))
756 self.writer = csv.DictWriter(self.f, self.head + self.tail)
Dplot.py172 self.tail = io.StringIO()
182 if len(lines) > 1 and self.tail.getvalue():
183 self.tail.write(lines[0])
184 lines[0] = self.tail.getvalue()
185 self.tail = io.StringIO()
190 self.tail.write(lines[-1])
/littlefs-3.7.0-3.6.0/
Dlfs.c1196 dir->tail[0] = temptail[0]; in lfs_dir_fetchmatch()
1197 dir->tail[1] = temptail[1]; in lfs_dir_fetchmatch()
1456 dir->tail[0] = lfs->root[0]; in lfs_dir_find()
1457 dir->tail[1] = lfs->root[1]; in lfs_dir_find()
1512 LFS_MKTAG(LFS_TYPE_STRUCT, lfs_tag_id(tag), 8), dir->tail); in lfs_dir_find()
1516 lfs_pair_fromle32(dir->tail); in lfs_dir_find()
1521 tag = lfs_dir_fetchmatch(lfs, dir, dir->tail, in lfs_dir_find()
1802 dir->tail[0] = LFS_BLOCK_NULL; in lfs_dir_alloc()
1803 dir->tail[1] = LFS_BLOCK_NULL; in lfs_dir_alloc()
1813 static int lfs_dir_drop(lfs_t *lfs, lfs_mdir_t *dir, lfs_mdir_t *tail) { in lfs_dir_drop() argument
[all …]
DSPEC.md481 The pointer to the next metadata-pair in the directory is stored in a tail tag,
617 Provides the tail pointer for the metadata pair itself.
619 The metadata pair's tail pointer is used in littlefs for a linked-list
620 containing all metadata pairs. The chunk field contains the type of the tail,
622 (hard-tail) or only used to traverse the filesystem (soft-tail).
661 Layout of the tail tag:
669 | | '---------- tail type
676 1. **Tail type (8-bits)** - Type of the tail pointer.
683 Provides a tail pointer that points to the next metadata pair in the
692 Provides a tail pointer that points to the next metadata pair in the
[all …]
Dlfs.h366 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-3.7.0-3.6.0/tests/
Dtest_evil.toml15 // change tail-pointer to invalid pointers
234 // change tail-pointer to point to ourself
267 // change tail-pointer to point to root
298 // change tail-pointer to point to ourself
Dtest_superblocks.toml335 .tail = {LFS_BLOCK_NULL, LFS_BLOCK_NULL},
/littlefs-3.7.0-3.6.0/runners/
Dbench_runner.c71 static uintmax_t leb16_parse(const char *s, char **tail) { in leb16_parse() argument
74 if (tail) { in leb16_parse()
75 *tail = (char*)s; in leb16_parse()
103 if (tail) { in leb16_parse()
104 *tail = (char*)s; in leb16_parse()
Dtest_runner.c71 static uintmax_t leb16_parse(const char *s, char **tail) { in leb16_parse() argument
74 if (tail) { in leb16_parse()
75 *tail = (char*)s; in leb16_parse()
103 if (tail) { in leb16_parse()
104 *tail = (char*)s; in leb16_parse()