/littlefs-3.5.0-3.4.0/tests/ |
D | test_dirs.toml | 7 assert(info.type == LFS_TYPE_DIR); 10 assert(info.type == LFS_TYPE_DIR); 32 assert(info.type == LFS_TYPE_DIR); 35 assert(info.type == LFS_TYPE_DIR); 40 assert(info.type == LFS_TYPE_DIR); 63 assert(info.type == LFS_TYPE_DIR); 66 assert(info.type == LFS_TYPE_DIR); 71 assert(info.type == LFS_TYPE_DIR); 88 assert(info.type == LFS_TYPE_DIR); 91 assert(info.type == LFS_TYPE_DIR); [all …]
|
D | test_move.toml | 24 assert(info.type == LFS_TYPE_DIR); 27 assert(info.type == LFS_TYPE_DIR); 33 assert(info.type == LFS_TYPE_DIR); 36 assert(info.type == LFS_TYPE_DIR); 39 assert(info.type == LFS_TYPE_REG); 70 assert(info.type == LFS_TYPE_DIR); 115 assert(info.type == LFS_TYPE_DIR); 118 assert(info.type == LFS_TYPE_DIR); 124 assert(info.type == LFS_TYPE_DIR); 127 assert(info.type == LFS_TYPE_DIR); [all …]
|
D | test_interspersed.toml | 29 assert(info.type == LFS_TYPE_DIR); 32 assert(info.type == LFS_TYPE_DIR); 37 assert(info.type == LFS_TYPE_REG); 94 assert(info.type == LFS_TYPE_DIR); 97 assert(info.type == LFS_TYPE_DIR); 100 assert(info.type == LFS_TYPE_REG); 146 assert(info.type == LFS_TYPE_DIR); 149 assert(info.type == LFS_TYPE_DIR); 152 assert(info.type == LFS_TYPE_REG); 156 assert(info.type == LFS_TYPE_REG); [all …]
|
D | test_superblocks.toml | 41 assert(info.type == LFS_TYPE_REG); 53 assert(info.type == LFS_TYPE_REG); 69 assert(info.type == LFS_TYPE_REG); 78 assert(info.type == LFS_TYPE_REG); 86 assert(info.type == LFS_TYPE_REG); 107 assert(info.type == LFS_TYPE_REG); 116 assert(info.type == LFS_TYPE_REG); 125 assert(info.type == LFS_TYPE_REG);
|
D | test_paths.toml | 189 assert(info.type == LFS_TYPE_DIR); 205 assert(info.type == LFS_TYPE_DIR); 208 assert(info.type == LFS_TYPE_DIR); 211 assert(info.type == LFS_TYPE_DIR); 214 assert(info.type == LFS_TYPE_DIR); 217 assert(info.type == LFS_TYPE_DIR); 220 assert(info.type == LFS_TYPE_DIR); 234 assert(info.type == LFS_TYPE_DIR);
|
D | test_relocations.toml | 189 assert(info.type == LFS_TYPE_DIR); 194 assert(info.type == LFS_TYPE_DIR); 252 assert(info.type == LFS_TYPE_DIR); 256 assert(info.type == LFS_TYPE_DIR); 286 assert(info.type == LFS_TYPE_DIR);
|
D | test_badblocks.toml | 56 info.type => LFS_TYPE_DIR; 130 info.type => LFS_TYPE_DIR; 203 info.type => LFS_TYPE_DIR;
|
D | test_orphans.toml | 100 assert(info.type == LFS_TYPE_DIR); 105 assert(info.type == LFS_TYPE_DIR);
|
D | test_evil.toml | 63 assert(info.type == LFS_TYPE_DIR); 109 assert(info.type == LFS_TYPE_REG); 170 assert(info.type == LFS_TYPE_REG);
|
/littlefs-3.5.0-3.4.0/scripts/ |
D | readmdir.py | 35 type = TAG_TYPES[args[0]][1] 37 type = args[0] 49 self.tag = (type << 20) | (id << 10) | size 70 def type(self): member in Tag 95 return self.type & 0xff 101 def is_(self, type): argument 102 return (self.type & TAG_TYPES[type][0]) == TAG_TYPES[type][1] 111 ntag = Tag(self.type, nid, self.size) 124 if (mask, self.type & mask) in reverse_types: 125 type = reverse_types[mask, self.type & mask] [all …]
|
D | explode_asserts.py | 144 for type, desc in sorted(TYPE.items()): 146 'type': type.lower(), 'TYPE': type.upper(), 164 def mkassert(type, comp, lh, rh, size=None): argument 166 'type': type.lower(), 'TYPE': type.upper(), 381 parser.add_argument('--maxwidth', default=MAXWIDTH, type=int,
|
D | readtree.py | 117 if tag.type: 169 parser.add_argument('block_size', type=lambda x: int(x, 0), 172 type=lambda x: int(x, 0), 175 type=lambda x: int(x, 0),
|
D | readblock.py | 22 parser.add_argument('block_size', type=lambda x: int(x, 0), 24 parser.add_argument('block', type=lambda x: int(x, 0),
|
D | stack.py | 63 function, file, size, type = m.groups() 64 if not args.get('quiet') and type != 'static': 66 % (function, type)) 420 parser.add_argument('-L', '--depth', default=0, type=lambda x: int(x, 0),
|
D | test.py | 170 ncase = (class_ or type(self))(self.config) 847 parser.add_argument('--exec', default=[], type=lambda e: e.split(), 851 parser.add_argument('--coverage', type=lambda x: x if x else True,
|
D | data.py | 278 parser.add_argument('--nm-tool', default=['nm'], type=lambda x: x.split(),
|
D | code.py | 279 parser.add_argument('--nm-tool', default=['nm'], type=lambda x: x.split(),
|
D | summary.py | 268 parser.add_argument('-f', '--fields', type=lambda x: re.split('\s*,\s*', x),
|
D | structs.py | 326 parser.add_argument('--objdump-tool', default=['objdump'], type=lambda x: x.split(),
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.h | 271 uint8_t type; member 288 uint8_t type; member 344 uint8_t type; member 355 uint8_t type; member 395 uint8_t type; member 491 uint8_t type, void *buffer, lfs_size_t size); 502 uint8_t type, const void *buffer, lfs_size_t size); 511 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type);
|
D | SPEC.md | 196 So in littlefs, 32-bit tags describe every type of metadata. And this means 197 _every_ type of metadata, including file entries, directory fields, and 208 |. '-----.------------------ type (type3) 212 '------- type (type1) 233 into a 3-bit abstract type and an 8-bit chunk field. Note that the value 234 `0x000` is invalid and not assigned a type. 236 1. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into 276 Associates the id with a file name and file type. 281 The chunk field in this tag indicates an 8-bit file type which can be one of 295 | | '----------- file type [all …]
|
D | lfs.c | 311 #define LFS_MKTAG(type, id, size) \ argument 312 (((lfs_tag_t)(type) << 20) | ((lfs_tag_t)(id) << 10) | (lfs_tag_t)(size)) 314 #define LFS_MKTAG_IF(cond, type, id, size) \ argument 315 ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(LFS_FROM_NOOP, 0, 0)) 954 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse() 1270 info->type = LFS_TYPE_DIR; in lfs_dir_getinfo() 1280 info->type = lfs_tag_type3(tag); in lfs_dir_getinfo() 2155 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit() 2161 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit() 2190 f->type == LFS_TYPE_REG && (f->flags & LFS_F_INLINE) && in lfs_dir_orphaningcommit() [all …]
|
D | README.md | 103 The state of the littlefs is stored in the `lfs_t` type which is left up
|
D | DESIGN.md | 140 solution, however it limits the type of storage you can support. 142 3. Perhaps the most common type of filesystem, a journaling filesystem is the 351 So how do we atomically update our metadata pairs? Atomicity (a type of 600 are linear, this design gambles that appends are the most common type of data 618 [skip-list][wikipedia-skip-list]. However, unlike the most common type of
|