Home
last modified time | relevance | path

Searched refs:ntag (Results 1 – 2 of 2) sorted by relevance

/littlefs-3.5.0-3.4.0/scripts/
Dreadmdir.py111 ntag = Tag(self.type, nid, self.size)
112 if hasattr(self, 'off'): ntag.off = self.off
113 if hasattr(self, 'data'): ntag.data = self.data
114 if hasattr(self, 'crc'): ntag.crc = self.crc
115 return ntag
183 ntag, = struct.unpack('>I', block[off:off+4])
185 tag = Tag(int(tag) ^ ntag)
225 ntag = tag.chid(id)
226 if ntag in self and self[ntag] is tag:
227 self.tags.append(ntag)
/littlefs-3.5.0-3.4.0/
Dlfs.c615 lfs_tag_t ntag = dir->etag; in lfs_dir_getslice() local
626 while (off >= sizeof(lfs_tag_t) + lfs_tag_dsize(ntag)) { in lfs_dir_getslice()
627 off -= lfs_tag_dsize(ntag); in lfs_dir_getslice()
628 lfs_tag_t tag = ntag; in lfs_dir_getslice()
630 NULL, &lfs->rcache, sizeof(ntag), in lfs_dir_getslice()
631 dir->pair[0], off, &ntag, sizeof(ntag)); in lfs_dir_getslice()
636 ntag = (lfs_frombe32(ntag) ^ tag) & 0x7fffffff; in lfs_dir_getslice()
1467 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr() local
1468 int err = lfs_dir_commitprog(lfs, commit, &ntag, sizeof(ntag)); in lfs_dir_commitattr()