Searched refs:ntag (Results 1 – 2 of 2) sorted by relevance
/littlefs-latest/scripts/ |
D | readmdir.py | 122 ntag = Tag(self.type, nid, self.size) 123 if hasattr(self, 'off'): ntag.off = self.off 124 if hasattr(self, 'data'): ntag.data = self.data 125 if hasattr(self, 'ccrc'): ntag.crc = self.crc 126 if hasattr(self, 'erased'): ntag.erased = self.erased 127 return ntag 202 ntag, = struct.unpack('>I', block[off:off+4]) 204 tag = Tag((int(tag) ^ ntag) & 0x7fffffff) 257 ntag = tag.chid(id) 258 if ntag in self and self[ntag] is tag: [all …]
|
/littlefs-latest/ |
D | lfs.c | 730 lfs_tag_t ntag = dir->etag; in lfs_dir_getslice() local 744 while (off >= sizeof(lfs_tag_t) + lfs_tag_dsize(ntag)) { in lfs_dir_getslice() 745 off -= lfs_tag_dsize(ntag); in lfs_dir_getslice() 746 lfs_tag_t tag = ntag; in lfs_dir_getslice() 748 NULL, &lfs->rcache, sizeof(ntag), in lfs_dir_getslice() 749 dir->pair[0], off, &ntag, sizeof(ntag)); in lfs_dir_getslice() 754 ntag = (lfs_frombe32(ntag) ^ tag) & 0x7fffffff; in lfs_dir_getslice() 1637 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr() local 1638 int err = lfs_dir_commitprog(lfs, commit, &ntag, sizeof(ntag)); in lfs_dir_commitattr() 1749 lfs_tag_t ntag = LFS_MKTAG( in lfs_dir_commitcrc() local [all …]
|