Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 22 of 22) sorted by relevance

/littlefs-latest/tests/
Dtest_compat.toml69 struct lfsp_config cfgp;
84 struct lfs_fsinfo fsinfo;
100 struct lfsp_config cfgp;
120 struct lfs_fsinfo fsinfo;
127 struct lfs_info info;
160 struct lfsp_config cfgp;
192 struct lfs_fsinfo fsinfo;
199 struct lfs_info info;
250 struct lfsp_config cfgp;
285 struct lfs_fsinfo fsinfo;
[all …]
Dtest_superblocks.toml42 struct lfs_config tweaked_cfg = *cfg;
83 struct lfs_fsinfo fsinfo;
100 struct lfs_config tweaked_cfg = *cfg;
111 struct lfs_fsinfo fsinfo;
134 struct lfs_info info;
148 struct lfs_info info;
168 struct lfs_info info;
198 struct lfs_info info;
219 struct lfs_info info;
245 struct lfs_info info;
[all …]
Dtest_attrs.toml177 struct lfs_attr attrs1[] = {
182 struct lfs_file_config cfg1 = {.attrs=attrs1, .attr_count=3};
235 struct lfs_attr attrs2[] = {
240 struct lfs_file_config cfg2 = {.attrs=attrs2, .attr_count=3};
252 struct lfs_attr attrs3[] = {
257 struct lfs_file_config cfg3 = {.attrs=attrs3, .attr_count=3};
290 struct lfs_attr attrs1[] = {
295 struct lfs_file_config cfg1 = {.attrs=attrs1, .attr_count=3};
Dtest_evil.toml64 struct lfs_info info;
109 {LFS_MKTAG(LFS_TYPE_CTZSTRUCT, 1, sizeof(struct lfs_ctz)),
110 &(struct lfs_ctz){0xcccccccc, lfs_tole32(SIZE)}})) => 0;
116 struct lfs_info info;
162 struct lfs_ctz ctz;
165 LFS_MKTAG(LFS_TYPE_STRUCT, 1, sizeof(struct lfs_ctz)), &ctz)
166 => LFS_MKTAG(LFS_TYPE_CTZSTRUCT, 1, sizeof(struct lfs_ctz));
181 struct lfs_info info;
Dtest_dirs.toml8 struct lfs_info info;
38 struct lfs_info info;
75 struct lfs_info info;
132 struct lfs_info info;
212 struct lfs_info info;
294 struct lfs_info info;
334 struct lfs_info info;
394 struct lfs_info info;
475 struct lfs_info info;
557 struct lfs_info info;
[all …]
Dtest_relocations.toml33 struct lfs_info info;
60 struct lfs_info info;
111 struct lfs_info info;
199 struct lfs_info info;
268 struct lfs_info info;
Dtest_interspersed.toml30 struct lfs_info info;
105 struct lfs_info info;
161 struct lfs_info info;
237 struct lfs_info info;
Dtest_move.toml24 struct lfs_info info;
74 struct lfs_info info;
106 struct lfs_info info;
187 struct lfs_info info;
283 struct lfs_info info;
385 struct lfs_info info;
439 struct lfs_info info;
500 struct lfs_info info;
570 struct lfs_info info;
657 struct lfs_info info;
[all …]
Dtest_alloc.toml18 struct lfs_config cfg_ = *cfg;
76 struct lfs_config cfg_ = *cfg;
133 struct lfs_config cfg_ = *cfg;
199 struct lfs_config cfg_ = *cfg;
259 struct lfs_config cfg_ = *cfg;
308 struct lfs_config cfg_ = *cfg;
367 struct lfs_config cfg_ = *cfg;
Dtest_exhaustion.toml85 struct lfs_info info;
174 struct lfs_info info;
273 struct lfs_info info;
370 struct lfs_info info;
463 struct lfs_info info;
Dtest_badblocks.toml59 struct lfs_info info;
139 struct lfs_info info;
218 struct lfs_info info;
Dtest_orphans.toml35 struct lfs_info info;
234 struct lfs_info info;
Dtest_paths.toml42 struct lfs_info info;
291 struct lfs_info info;
538 struct lfs_info info;
801 struct lfs_info info;
1143 struct lfs_info info;
1421 struct lfs_info info;
1807 struct lfs_info info;
2090 struct lfs_info info;
2311 struct lfs_info info;
2559 struct lfs_info info;
[all …]
Dtest_truncate.toml318 const struct {
Dtest_entries.toml518 struct lfs_info info;
/littlefs-latest/scripts/
Dreadtree.py3 import struct
77 tail = struct.unpack('<II', mdir.tail.data)
94 nblocks = struct.unpack('<II', dirstruct.data)
106 struct.unpack('<HH', superblock[1].data[0:4].ljust(4, b'\xff'))))
113 tag = Tag(struct.unpack('<I', gstate[0:4].ljust(4, b'\xff'))[0])
114 blocks = struct.unpack('<II', gstate[4:4+8].ljust(8, b'\xff'))
130 ' -> {%#x, %#x}' % struct.unpack('<II', mdir.tail.data)
Dreadmdir.py3 import struct
101 return struct.unpack('b', struct.pack('B', self.chunk))[0]
190 self.rev, = struct.unpack('<I', block[0:4])
202 ntag, = struct.unpack('>I', block[off:off+4])
218 fcrcdata = struct.unpack('<II', tag.data)
369 ' -> {%#x, %#x}' % struct.unpack('<II', mdir.tail.data)
Dwatch.py21 import struct
162 struct.pack('HHHH', h, w, 0, 0))
Dstructs.py113 def __new__(cls, file='', struct='', size=0): argument
114 return super().__new__(cls, file, struct,
118 return StructResult(self.file, self.struct,
/littlefs-latest/
DSPEC.md352 How each file is stored depends on its struct tag, which is described below.
361 the directory is stored in the struct tag, which is described below.
394 superblock type and an inline-struct tag. The name tag contains the magic
395 string "littlefs", while the inline-struct tag contains version and
398 Layout of the superblock name tag and inline-struct tag:
457 Any type of struct supersedes all other structs associated with the id. For
458 example, appending a ctz-struct replaces an inline-struct on the same file.
479 The dir-struct tag contains only the pointer to the first metadata-pair in the
485 Layout of the dir-struct tag:
497 Dir-struct fields:
[all …]
DREADME.md41 // configuration of the filesystem is provided by this struct
42 const struct lfs_config cfg = {
98 operates. The configuration struct provides the filesystem with the block
105 simultaneously. With the `lfs_t` and configuration struct, a user can
125 In the configuration struct, the `prog` and `erase` function provided by the
/littlefs-latest/benches/
Dbench_dir.toml186 struct lfs_info info;