Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/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.toml24 struct lfs_config tweaked_cfg = *cfg;
62 struct lfs_fsinfo fsinfo;
79 struct lfs_config tweaked_cfg = *cfg;
90 struct lfs_fsinfo fsinfo;
113 struct lfs_info info;
127 struct lfs_info info;
144 struct lfs_info info;
165 struct lfs_info info;
187 struct lfs_info info;
209 struct lfs_info info;
[all …]
Dtest_paths.toml13 struct lfs_info info;
38 struct lfs_info info;
65 struct lfs_info info;
98 struct lfs_info info;
127 struct lfs_info info;
148 struct lfs_info info;
171 struct lfs_info info;
189 struct lfs_info info;
214 struct lfs_info info;
234 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;
208 struct lfs_info info;
290 struct lfs_info info;
330 struct lfs_info info;
390 struct lfs_info info;
467 struct lfs_info info;
549 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;
233 struct lfs_info info;
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_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;
381 struct lfs_info info;
435 struct lfs_info info;
496 struct lfs_info info;
566 struct lfs_info info;
653 struct lfs_info info;
[all …]
Dtest_orphans.toml35 struct lfs_info info;
234 struct lfs_info info;
Dtest_truncate.toml314 const struct {
Dtest_entries.toml518 struct lfs_info info;
/littlefs-3.7.0-3.6.0/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-3.7.0-3.6.0/
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:
456 Any type of struct supersedes all other structs associated with the id. For
457 example, appending a ctz-struct replaces an inline-struct on the same file.
478 The dir-struct tag contains only the pointer to the first metadata-pair in the
484 Layout of the dir-struct tag:
496 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-3.7.0-3.6.0/benches/
Dbench_dir.toml186 struct lfs_info info;