Searched refs:cache (Results 1 – 3 of 3) sorted by relevance
3033 file->cache.buffer = NULL;3132 file->cache.buffer = file->cfg->buffer;3134 file->cache.buffer = lfs_malloc(lfs->cfg->cache_size);3135 if (!file->cache.buffer) {3142 lfs_cache_zero(lfs, &file->cache);3149 file->cache.block = file->ctz.head;3150 file->cache.off = 0;3151 file->cache.size = lfs->cfg->cache_size;3158 lfs_min(file->cache.size, 0x3fe)),3159 file->cache.buffer);[all …]
396 lfs_cache_t cache; member
114 Some logging filesystems cache files to avoid the read cost, but this comes