Searched refs:cache (Results 1 – 3 of 3) sorted by relevance
2862 file->cache.buffer = NULL;2961 file->cache.buffer = file->cfg->buffer;2963 file->cache.buffer = lfs_malloc(lfs->cfg->cache_size);2964 if (!file->cache.buffer) {2971 lfs_cache_zero(lfs, &file->cache);2978 file->cache.block = file->ctz.head;2979 file->cache.off = 0;2980 file->cache.size = lfs->cfg->cache_size;2987 lfs_min(file->cache.size, 0x3fe)),2988 file->cache.buffer);[all …]
367 lfs_cache_t cache; member
114 Some logging filesystems cache files to avoid the read cost, but this comes