Home
last modified time | relevance | path

Searched refs:type (Results 1 – 19 of 19) sorted by relevance

/littlefs-2.7.6/tests/
Dtest_dirs.toml7 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 …]
Dtest_move.toml24 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 …]
Dtest_interspersed.toml29 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 …]
Dtest_superblocks.toml41 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);
Dtest_paths.toml189 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);
Dtest_relocations.toml189 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);
Dtest_badblocks.toml56 info.type => LFS_TYPE_DIR;
130 info.type => LFS_TYPE_DIR;
203 info.type => LFS_TYPE_DIR;
Dtest_orphans.toml100 assert(info.type == LFS_TYPE_DIR);
105 assert(info.type == LFS_TYPE_DIR);
Dtest_evil.toml63 assert(info.type == LFS_TYPE_DIR);
109 assert(info.type == LFS_TYPE_REG);
170 assert(info.type == LFS_TYPE_REG);
/littlefs-2.7.6/scripts/
Dreadmdir.py35 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 …]
Dexplode_asserts.py144 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,
Dreadtree.py117 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),
Dreadblock.py22 parser.add_argument('block_size', type=lambda x: int(x, 0),
24 parser.add_argument('block', type=lambda x: int(x, 0),
Dtest.py137 ncase = (class_ or type(self))(self.config)
774 parser.add_argument('-e', '--exec', default=[], type=lambda e: e.split(' '),
/littlefs-2.7.6/
Dlfs.h248 uint8_t type; member
265 uint8_t type; member
321 uint8_t type; member
332 uint8_t type; member
372 uint8_t type; member
462 uint8_t type, void *buffer, lfs_size_t size);
472 uint8_t type, const void *buffer, lfs_size_t size);
479 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type);
DSPEC.md196 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 3. **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 …]
Dlfs.c280 #define LFS_MKTAG(type, id, size) \ argument
281 (((lfs_tag_t)(type) << 20) | ((lfs_tag_t)(id) << 10) | (lfs_tag_t)(size))
283 #define LFS_MKTAG_IF(cond, type, id, size) \ argument
284 ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(LFS_FROM_NOOP, 0, 0))
752 int err = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse()
1033 info->type = LFS_TYPE_DIR; in lfs_dir_getinfo()
1043 info->type = lfs_tag_type3(tag); in lfs_dir_getinfo()
1725 f->type == LFS_TYPE_REG && (f->flags & LFS_F_INLINE) && in lfs_dir_commit()
1877 if (d->type == LFS_TYPE_DIR) { in lfs_dir_commit()
1883 if (d->type == LFS_TYPE_DIR) { in lfs_dir_commit()
[all …]
DREADME.md103 The state of the littlefs is stored in the `lfs_t` type which is left up
DDESIGN.md140 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