/littlefs-3.7.0-3.6.0/scripts/ |
D | readtree.py | 18 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 …]
|
D | tailpipe.py | 36 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])
|
D | watch.py | 72 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])
|
D | readmdir.py | 355 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 ''))
|
D | tracebd.py | 58 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])
|
D | bench.py | 711 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)
|
D | test.py | 728 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)
|
D | plot.py | 172 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/ |
D | lfs.c | 1196 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 …]
|
D | SPEC.md | 481 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 …]
|
D | lfs.h | 366 lfs_block_t tail[2]; member
|
D | DESIGN.md | 447 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/ |
D | test_evil.toml | 15 // 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
|
D | test_superblocks.toml | 335 .tail = {LFS_BLOCK_NULL, LFS_BLOCK_NULL},
|
/littlefs-3.7.0-3.6.0/runners/ |
D | bench_runner.c | 71 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()
|
D | test_runner.c | 71 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()
|