Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/scripts/
Dreadtree.py12 gstate = b'\0\0\0\0\0\0\0\0\0\0\0\0'
59 gstate = bytes((a or 0) ^ (b or 0)
60 for a,b in it.zip_longest(gstate, ngstate.data))
112 print("gstate 0x%s" % ''.join('%02x' % c for c in gstate))
113 tag = Tag(struct.unpack('<I', gstate[0:4].ljust(4, b'\xff'))[0])
114 blocks = struct.unpack('<II', gstate[4:4+8].ljust(8, b'\xff'))
/littlefs-3.5.0-3.4.0/
Dlfs.c1248 lfs_gstate_t *gstate) { in lfs_dir_getgstate() argument
1259 lfs_gstate_xor(gstate, &temp); in lfs_dir_getgstate()
1841 lfs_gstate_xor(&delta, &lfs->gstate); in lfs_dir_compact()
1882 lfs->gdisk = lfs->gstate; in lfs_dir_compact()
2080 lfs_gstate_xor(&delta, &lfs->gstate); in lfs_dir_relocatingcommit()
2116 lfs->gdisk = lfs->gstate; in lfs_dir_relocatingcommit()
2293 if (lfs_gstate_hasmovehere(&lfs->gstate, pdir.pair)) { in lfs_dir_orphaningcommit()
2294 moveid = lfs_tag_id(lfs->gstate.tag); in lfs_dir_orphaningcommit()
2334 if (lfs_gstate_hasorphans(&lfs->gstate)) { in lfs_dir_orphaningcommit()
2345 if (lfs_gstate_hasmovehere(&lfs->gstate, pdir.pair)) { in lfs_dir_orphaningcommit()
[all …]
DDESIGN.md1873 0x00 --> xor ------------------> xor ------> xor --> gstate 0x12
1889 0x00 --> xor ----------------> xor -|------> xor --> gstate = 0x12
1892 change gstate to 0xab --> xor <------------|--------------------------'
1904 0x00 --> xor ------------------> xor ------> xor --> gstate = 0xab
1925 .--------. gstate = no move
1946 begin move, add reference in dir C, change gstate to have move
1948 .--------. gstate = moving file D in dir A (m1)
1970 complete move, remove reference in dir A, change gstate to no move
1972 .--------. gstate = no move (m1^~m1)
2002 .--------. gstate = moving file D in dir A (m1)
[all …]
Dlfs.h400 lfs_gstate_t gstate; member
DSPEC.md679 0x00 --> xor ------------------> xor ------> xor --> gstate = 0x12
/littlefs-3.5.0-3.4.0/tests/
Dtest_evil.toml185 [[case]] # invalid gstate pointer
192 // create an invalid gstate
204 // we try to fix the gstate