Home
last modified time | relevance | path

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

/littlefs-latest/
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.c1611 static int lfs_dir_commitprog(lfs_t *lfs, struct lfs_commit *commit, in lfs_dir_commitprog() argument
1615 commit->block, commit->off , in lfs_dir_commitprog()
1621 commit->crc = lfs_crc(commit->crc, buffer, size); in lfs_dir_commitprog()
1622 commit->off += size; in lfs_dir_commitprog()
1628 static int lfs_dir_commitattr(lfs_t *lfs, struct lfs_commit *commit, in lfs_dir_commitattr() argument
1632 if (commit->off + dsize > commit->end) { in lfs_dir_commitattr()
1637 lfs_tag_t ntag = lfs_tobe32((tag & 0x7fffffff) ^ commit->ptag); in lfs_dir_commitattr()
1638 int err = lfs_dir_commitprog(lfs, commit, &ntag, sizeof(ntag)); in lfs_dir_commitattr()
1645 err = lfs_dir_commitprog(lfs, commit, buffer, dsize-sizeof(tag)); in lfs_dir_commitattr()
1662 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-latest/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-latest/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
635 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
738 if = 'PROG_SIZE <= 0x3fe' # only works with one crc per commit
1038 # create + delete in same commit with neighbors
1189 # create + delete + delete in same commit with neighbors