Lines Matching refs:cache_size
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);
3339 lfs->cfg->cache_size,
3920 LFS_ASSERT(lfs->cfg->cache_size != 0);
3924 LFS_ASSERT(lfs->cfg->cache_size % lfs->cfg->read_size == 0);
3925 LFS_ASSERT(lfs->cfg->cache_size % lfs->cfg->prog_size == 0);
3926 LFS_ASSERT(lfs->cfg->block_size % lfs->cfg->cache_size == 0);
3945 lfs->rcache.buffer = lfs_malloc(lfs->cfg->cache_size);
3956 lfs->pcache.buffer = lfs_malloc(lfs->cfg->cache_size);
5327 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,
5357 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,
5814 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,