Searched refs:cache_size (Results 1 – 4 of 4) sorted by relevance
44 memset(pcache->buffer, 0xff, lfs->cfg->cache_size); in lfs_cache_zero()119 lfs->cfg->cache_size); in lfs_bd_read()221 off < pcache->off + lfs->cfg->cache_size) { in lfs_bd_prog()224 lfs->cfg->cache_size - (off-pcache->off)); in lfs_bd_prog()232 if (pcache->size == lfs->cfg->cache_size) { in lfs_bd_prog()730 lfs->cfg->cache_size); in lfs_dir_getread()2191 f->ctz.size > lfs->cfg->cache_size) { in lfs_dir_orphaningcommit()2963 file->cache.buffer = lfs_malloc(lfs->cfg->cache_size);2980 file->cache.size = lfs->cfg->cache_size;3085 memcpy(file->cache.buffer, lfs->pcache.buffer, lfs->cfg->cache_size);[all …]
224 lfs_size_t cache_size; member
54 .cache_size = 16,
103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);