Home
last modified time | relevance | path

Searched refs:id (Results 1 – 6 of 6) sorted by relevance

/littlefs-3.5.0-3.4.0/scripts/
Dreadmdir.py40 id = int(args[1], 0) if args[1] not in 'x.' else 0x3ff
42 id = args[1]
49 self.tag = (type << 20) | (id << 10) | size
82 def id(self): member in Tag
135 return repr(self.id) if self.id != 0x3ff else '.'
141 return 'Tag(%r, %d, %d)' % (self.typerepr(), self.id, self.size)
144 return (self.id, self.type) < (other.id, other.type)
210 lambda id: Tag('name', id, 0) in self,
218 elif tag.id == 0x3ff:
224 for id in self.ids:
[all …]
Dreadtree.py35 blocks[id(data[-1])] = block
38 mdir.blocks = tuple(blocks[id(p.data)] for p in mdir.pair)
93 dirstruct = mdir[Tag('dirstruct', tag.id, 0)]
119 blocks[0], blocks[1], tag.id))
/littlefs-3.5.0-3.4.0/
DSPEC.md207 |. | . '------------ id
240 abstract types. type1+chunk+id form a unique identifier for each tag in the
243 3. **Id (10-bits)** - File id associated with the tag. Each file in a metadata
244 block gets a unique id which is used to associate tags with that file. The
258 Creates a new file with this id. Note that files in a metadata block
260 files using this id. In this sense a create is similar to insertion into
269 Deletes the file with this id. An inverse to create, this tag moves over
270 any files neighboring this id similar to a deletion from an imaginary
276 Associates the id with a file name and file type.
284 Currently, the name tag must precede any other tags associated with the id and
[all …]
Dlfs.c311 #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))
501 uint16_t id, const lfs_block_t pair[2]);
1004 lfs_tag_t fmask, lfs_tag_t ftag, uint16_t *id, in lfs_dir_fetchmatch() argument
1216 if (id) { in lfs_dir_fetchmatch()
1217 *id = lfs_min(lfs_tag_id(besttag), dir->count); in lfs_dir_fetchmatch()
1266 uint16_t id, struct lfs_info *info) { in lfs_dir_getinfo() argument
1267 if (id == 0x3ff) { in lfs_dir_getinfo()
[all …]
Dlfs.h343 uint16_t id; member
354 uint16_t id; member
394 uint16_t id; member
/littlefs-3.5.0-3.4.0/tests/
Dtest_evil.toml44 // make sure id 1 == our directory
92 // make sure id 1 == our file
143 // make sure id 1 == our file and get our CTZ structure