Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/scripts/
Dreadmdir.py34 self.tag = args[0]
51 self.tag = (type << 20) | (id << 10) | size
57 return not bool(self.tag & 0x80000000)
61 return not bool(self.tag & 0x40000000)
65 return bool(self.tag & 0x20000000)
69 return not bool(self.tag & 0x10000000)
73 return (self.tag & 0x7ff00000) >> 20
77 return (self.tag & 0x70000000) >> 20
81 return (self.tag & 0x7ff00000) >> 20
85 return (self.tag & 0x000ffc00) >> 10
[all …]
Dreadtree.py89 for tag in mdir.tags:
90 if tag.is_('dir'):
92 npath = tag.data.decode('utf8')
93 dirstruct = mdir[Tag('dirstruct', tag.id, 0)]
113 tag = Tag(struct.unpack('<I', gstate[0:4].ljust(4, b'\xff'))[0])
115 if tag.size or not tag.isvalid:
116 print(" orphans >=%d" % max(tag.size, 1))
117 if tag.type:
119 blocks[0], blocks[1], tag.id))
/littlefs-3.7.0-3.6.0/
Dlfs.c338 static inline bool lfs_tag_isvalid(lfs_tag_t tag) { in lfs_tag_isvalid() argument
339 return !(tag & 0x80000000); in lfs_tag_isvalid()
342 static inline bool lfs_tag_isdelete(lfs_tag_t tag) { in lfs_tag_isdelete() argument
343 return ((int32_t)(tag << 22) >> 22) == -1; in lfs_tag_isdelete()
346 static inline uint16_t lfs_tag_type1(lfs_tag_t tag) { in lfs_tag_type1() argument
347 return (tag & 0x70000000) >> 20; in lfs_tag_type1()
350 static inline uint16_t lfs_tag_type2(lfs_tag_t tag) { in lfs_tag_type2() argument
351 return (tag & 0x78000000) >> 20; in lfs_tag_type2()
354 static inline uint16_t lfs_tag_type3(lfs_tag_t tag) { in lfs_tag_type3() argument
355 return (tag & 0x7ff00000) >> 20; in lfs_tag_type3()
[all …]
DSPEC.md102 Entries themselves are stored as a 32-bit tag followed by a variable length
106 this without duplicating the space for each tag, neighboring entries have their
115 | tag ~A |---> xor -> tag A | tag ~A |---> xor -> 0xffffffff
121 | tag AxB |---> xor -> tag B | tag AxB |---> xor -> tag A
127 | tag BxC |---> xor -> tag C | tag BxC |---> xor -> tag B
130 | | | | tag C
140 .-| revision count | tag ~A | \
145 | | tag AxB | data B | <--. |
149 | | | tag BxC | | <-.| |
154 | | tag CxCRC | CRC | || /
[all …]
Dlfs.h411 uint32_t tag; member
DREADME.md208 Individual files contain the following tag instead of the full license text.