Home
last modified time | relevance | path

Searched refs:commit (Results 1 – 7 of 7) sorted by relevance

/littlefs-3.7.0-3.6.0/
DSPEC.md56 | | | +-- 1st commit
63 | | | +-- 2nd commit
69 | | | +-- 3rd commit
83 commits. Each commit contains a variable number of metadata entries followed
88 aligned to our program block size. This means each commit may have padding for
147 | | | | +-- 1st commit
159 | | +-------------------+----| || +-- 2nd commit
169 | |---------+-------------------+ | |||| +-- 3rd commit
191 commit is valid. After XORing, this bit should always be zero.
193 At the end of each commit, the valid bit of the previous tag is XORed
[all …]
Dlfs.c1558 static int lfs_dir_commitprog(lfs_t *lfs, struct lfs_commit *commit, in lfs_dir_commitprog() argument
1562 commit->block, commit->off , in lfs_dir_commitprog()
1568 commit->crc = lfs_crc(commit->crc, buffer, size); in lfs_dir_commitprog()
1569 commit->off += size; in lfs_dir_commitprog()
1575 static int lfs_dir_commitattr(lfs_t *lfs, struct lfs_commit *commit, in lfs_dir_commitattr() argument
1579 if (commit->off + dsize > commit->end) { in lfs_dir_commitattr()
1584 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr()
1585 int err = lfs_dir_commitprog(lfs, commit, &ntag, sizeof(ntag)); in lfs_dir_commitattr()
1592 err = lfs_dir_commitprog(lfs, commit, buffer, dsize-sizeof(tag)); in lfs_dir_commitattr()
1609 err = lfs_dir_commitprog(lfs, commit, &dat, 1); in lfs_dir_commitattr()
[all …]
DDESIGN.md364 commit A
383 operation. What we can do instead is group multiple entries into a commit
388 commit B and A'
418 the revision count. Because we can commit multiple entries at once, we can
420 loss. It's only when the commit's checksum is written that the compacted
424 commit B', need to compact
455 and then inserting the tail pointer during the commit to the original
459 commit C and D, need to split
815 commit to metadata pair
1823 In littlefs we can atomically commit to directories, but we can't create
[all …]
/littlefs-3.7.0-3.6.0/scripts/
Dperfbd.py335 def commit(): function
408 commit()
455 commit()
525 commit()
528 commit()
Dperf.py433 def commit(): function
455 commit()
561 commit()
564 commit()
/littlefs-3.7.0-3.6.0/tests/
Dtest_orphans.toml3 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
14 // corrupt the child's most recent commit, this should be the update
Dtest_move.toml163 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
259 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
631 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
734 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
1030 # create + delete in same commit with neighbors
1181 # create + delete + delete in same commit with neighbors