Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 4 of 4) sorted by relevance

/littlefs-2.7.6/
Dlfs.c23 memset(pcache->buffer, 0xff, lfs->cfg->cache_size); in lfs_cache_zero()
98 lfs->cfg->cache_size); in lfs_bd_read()
197 off < pcache->off + lfs->cfg->cache_size) { in lfs_bd_prog()
200 lfs->cfg->cache_size - (off-pcache->off)); in lfs_bd_prog()
208 if (pcache->size == lfs->cfg->cache_size) { in lfs_bd_prog()
634 lfs->cfg->cache_size); in lfs_dir_getread()
1726 f->ctz.size > lfs->cfg->cache_size) { in lfs_dir_commit()
2493 file->cache.buffer = lfs_malloc(lfs->cfg->cache_size); in lfs_file_opencfg()
2510 file->cache.size = lfs->cfg->cache_size; in lfs_file_opencfg()
2624 memcpy(file->cache.buffer, lfs->pcache.buffer, lfs->cfg->cache_size); in lfs_file_relocate()
[all …]
Dlfs.h207 lfs_size_t cache_size; member
DREADME.md54 .cache_size = 16,
/littlefs-2.7.6/tests/
Dtest_truncate.toml103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);