Searched refs:cache_size (Results 1 – 4 of 4) sorted by relevance
23 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 …]
207 lfs_size_t cache_size; member
54 .cache_size = 16,
103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);