Searched refs:ntag (Results 1 – 2 of 2) sorted by relevance
/littlefs-3.7.0-3.6.0/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-3.7.0-3.6.0/ |
D | lfs.c | 695 lfs_tag_t ntag = dir->etag; in lfs_dir_getslice() local 706 while (off >= sizeof(lfs_tag_t) + lfs_tag_dsize(ntag)) { in lfs_dir_getslice() 707 off -= lfs_tag_dsize(ntag); in lfs_dir_getslice() 708 lfs_tag_t tag = ntag; in lfs_dir_getslice() 710 NULL, &lfs->rcache, sizeof(ntag), in lfs_dir_getslice() 711 dir->pair[0], off, &ntag, sizeof(ntag)); in lfs_dir_getslice() 716 ntag = (lfs_frombe32(ntag) ^ tag) & 0x7fffffff; in lfs_dir_getslice() 1584 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr() local 1585 int err = lfs_dir_commitprog(lfs, commit, &ntag, sizeof(ntag)); in lfs_dir_commitattr() 1696 lfs_tag_t ntag = LFS_MKTAG( in lfs_dir_commitcrc() local [all …]
|