Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/
Dlfs.c422 ctz->head = lfs_fromle32(ctz->head); in lfs_ctz_fromle32()
428 ctz->head = lfs_tole32(ctz->head); in lfs_ctz_tole32()
455 static bool lfs_mlist_isopen(struct lfs_mlist *head, in lfs_mlist_isopen() argument
457 for (struct lfs_mlist **p = &head; *p; p = &(*p)->next) { in lfs_mlist_isopen()
2269 lfs_pair_cmp(lpair, ((lfs_dir_t*)d)->head) == 0) { in lfs_dir_orphaningcommit()
2270 ((lfs_dir_t*)d)->head[0] = ldir.pair[0]; in lfs_dir_orphaningcommit()
2271 ((lfs_dir_t*)d)->head[1] = ldir.pair[1]; in lfs_dir_orphaningcommit()
2529 dir->head[0] = dir->m.pair[0]; in lfs_dir_rawopen()
2530 dir->head[1] = dir->m.pair[1]; in lfs_dir_rawopen()
2605 dir->id = (off > 0 && lfs_pair_cmp(dir->head, lfs->root) == 0); in lfs_dir_rawseek()
[all …]
Dlfs.h348 lfs_block_t head[2]; member
359 lfs_block_t head; member
DSPEC.md490 are stored in a skip-list in reverse, with a pointer to the head of the
491 skip-list. Note that the head of the skip-list and the file size is enough
525 | | | | '-------------------- file head
534 1. **File head (32-bits)** - Pointer to the block that is the head of the
DDESIGN.md712 head block, the size of the skip-list, the index of the head block, and our
713 offset in the head block. But it's worth noting that each size maps to a unique
/littlefs-3.5.0-3.4.0/tests/
Dtest_evil.toml157 cfg.read(&cfg, ctz.head, 0, bbuffer, LFS_BLOCK_SIZE) => 0;
161 cfg.erase(&cfg, ctz.head) => 0;
162 cfg.prog(&cfg, ctz.head, 0, bbuffer, LFS_BLOCK_SIZE) => 0;
Dtest_alloc.toml356 // also save head of file so we can error during lookahead scan
357 lfs_block_t fileblock = file.ctz.head;
363 // but mark the head of our file as a "bad block", this is force our
Dtest_relocations.toml68 [[case]] # outdated head test