Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 6 of 6) sorted by relevance

/littlefs-2.7.6/bd/
Dlfs_rambd.c19 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_rambd_createcfg()
53 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count); in lfs_rambd_create()
79 LFS_ASSERT(off % cfg->read_size == 0); in lfs_rambd_read()
80 LFS_ASSERT(size % cfg->read_size == 0); in lfs_rambd_read()
Dlfs_filebd.c24 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_createcfg()
50 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_create()
79 LFS_ASSERT(off % cfg->read_size == 0); in lfs_filebd_read()
80 LFS_ASSERT(size % cfg->read_size == 0); in lfs_filebd_read()
Dlfs_testbd.c26 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_createcfg()
79 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_create()
154 LFS_ASSERT(off % cfg->read_size == 0); in lfs_testbd_read()
155 LFS_ASSERT(size % cfg->read_size == 0); in lfs_testbd_read()
/littlefs-2.7.6/
Dlfs.c74 if (size >= hint && off % lfs->cfg->read_size == 0 && in lfs_bd_read()
75 size >= lfs->cfg->read_size) { in lfs_bd_read()
77 diff = lfs_aligndown(diff, lfs->cfg->read_size); in lfs_bd_read()
92 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_bd_read()
95 lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_bd_read()
632 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_dir_getread()
633 rcache->size = lfs_min(lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_dir_getread()
3469 LFS_ASSERT(lfs->cfg->read_size != 0); in lfs_init()
3475 LFS_ASSERT(lfs->cfg->cache_size % lfs->cfg->read_size == 0); in lfs_init()
3600 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_format()
[all …]
Dlfs.h179 lfs_size_t read_size; member
DREADME.md50 .read_size = 16,