Searched refs:head (Results 1 – 8 of 8) sorted by relevance
/littlefs-latest/ |
D | lfs.c | 481 ctz->head = lfs_fromle32(ctz->head); in lfs_ctz_fromle32() 487 ctz->head = lfs_tole32(ctz->head); in lfs_ctz_tole32() 514 static bool lfs_mlist_isopen(struct lfs_mlist *head, in lfs_mlist_isopen() argument 516 for (struct lfs_mlist **p = &head; *p; p = &(*p)->next) { in lfs_mlist_isopen() 2499 lfs_pair_cmp(lpair, ((lfs_dir_t*)d)->head) == 0) { in lfs_dir_orphaningcommit() 2500 ((lfs_dir_t*)d)->head[0] = ldir.pair[0]; in lfs_dir_orphaningcommit() 2501 ((lfs_dir_t*)d)->head[1] = ldir.pair[1]; in lfs_dir_orphaningcommit() 2759 dir->head[0] = dir->m.pair[0]; in lfs_dir_open_() 2760 dir->head[1] = dir->m.pair[1]; in lfs_dir_open_() 2835 dir->id = (off > 0 && lfs_pair_cmp(dir->head, lfs->root) == 0); in lfs_dir_seek_() [all …]
|
D | lfs.h | 396 lfs_block_t head[2]; member 407 lfs_block_t head; member
|
D | SPEC.md | 532 are stored in a skip-list in reverse, with a pointer to the head of the 533 skip-list. Note that the head of the skip-list and the file size is enough 567 | | | | '-------------------- file head 576 1. **File head (32-bits)** - Pointer to the block that is the head of the
|
D | DESIGN.md | 712 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-latest/scripts/ |
D | bench.py | 711 def __init__(self, path, head=None, tail=None): argument 714 self.head = head or [] 716 self.writer = csv.DictWriter(self.f, self.head + self.tail) 731 if all(k in self.head or k in self.tail for k in row.keys()): 736 self.head.extend(row.keys() - (self.head + self.tail)) 739 self.writer = csv.DictWriter(self.f, self.head + self.tail)
|
D | test.py | 728 def __init__(self, path, head=None, tail=None): argument 731 self.head = head or [] 733 self.writer = csv.DictWriter(self.f, self.head + self.tail) 748 if all(k in self.head or k in self.tail for k in row.keys()): 753 self.head.extend(row.keys() - (self.head + self.tail)) 756 self.writer = csv.DictWriter(self.f, self.head + self.tail)
|
/littlefs-latest/tests/ |
D | test_evil.toml | 170 cfg->read(cfg, ctz.head, 0, bbuffer, BLOCK_SIZE) => 0; 174 cfg->erase(cfg, ctz.head) => 0; 175 cfg->prog(cfg, ctz.head, 0, bbuffer, BLOCK_SIZE) => 0;
|
D | test_alloc.toml | 456 // also save head of file so we can error during lookahead scan 457 lfs_block_t fileblock = file.ctz.head; 463 // but mark the head of our file as a "bad block", this is force our
|