Lines Matching refs:ptag
784 lfs_tag_t ptag; member
803 const lfs_mdir_t *dir, lfs_off_t off, lfs_tag_t ptag, in lfs_dir_traverse() argument
820 if (off+lfs_tag_dsize(ptag) < dir->off) { in lfs_dir_traverse()
821 off += lfs_tag_dsize(ptag); in lfs_dir_traverse()
829 tag = (lfs_frombe32(tag) ^ ptag) | 0x80000000; in lfs_dir_traverse()
833 ptag = tag; in lfs_dir_traverse()
858 .ptag = ptag, in lfs_dir_traverse()
876 ptag = ptag; in lfs_dir_traverse()
925 .ptag = ptag, in lfs_dir_traverse()
943 ptag = 0xffffffff; in lfs_dir_traverse()
981 ptag = stack[sp-1].ptag; in lfs_dir_traverse()
1042 lfs_tag_t ptag = 0xffffffff; in lfs_dir_fetchmatch() local
1056 off += lfs_tag_dsize(ptag); in lfs_dir_fetchmatch()
1070 tag = lfs_frombe32(tag) ^ ptag; in lfs_dir_fetchmatch()
1074 dir->erased = (lfs_tag_type1(ptag) == LFS_TYPE_CRC && in lfs_dir_fetchmatch()
1082 ptag = tag; in lfs_dir_fetchmatch()
1105 ptag ^= (lfs_tag_t)(lfs_tag_chunk(tag) & 1U) << 31; in lfs_dir_fetchmatch()
1116 dir->etag = ptag; in lfs_dir_fetchmatch()
1433 lfs_tag_t ptag; member
1467 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr()
1499 commit->ptag = tag & 0x7fffffff; in lfs_dir_commitattr()
1538 footer[0] = lfs_tobe32(tag ^ commit->ptag); in lfs_dir_commitcrc()
1555 commit->ptag = tag ^ ((lfs_tag_t)reset << 31); in lfs_dir_commitcrc()
1778 .ptag = 0xffffffff, in lfs_dir_compact()
1878 dir->etag = commit.ptag; in lfs_dir_compact()
2055 .ptag = dir->etag, in lfs_dir_relocatingcommit()
2114 dir->etag = commit.ptag; in lfs_dir_relocatingcommit()