Searched refs:LFS_ASSERT (Results 1 – 6 of 6) sorted by relevance
155 LFS_ASSERT(off % cfg->read_size == 0); in lfs_testbd_read()156 LFS_ASSERT(size % cfg->read_size == 0); in lfs_testbd_read()157 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_read()180 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_testbd_prog()181 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_testbd_prog()182 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_prog()211 LFS_ASSERT(lfs_testbd_rawsync(cfg) == 0); in lfs_testbd_prog()226 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_erase()258 LFS_ASSERT(lfs_testbd_rawsync(cfg) == 0); in lfs_testbd_erase()283 LFS_ASSERT(bd->cfg->erase_cycles); in lfs_testbd_getwear()[all …]
82 LFS_ASSERT(off % cfg->read_size == 0); in lfs_rambd_read()83 LFS_ASSERT(size % cfg->read_size == 0); in lfs_rambd_read()84 LFS_ASSERT(block < cfg->block_count); in lfs_rambd_read()101 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_rambd_prog()102 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_rambd_prog()103 LFS_ASSERT(block < cfg->block_count); in lfs_rambd_prog()108 LFS_ASSERT(bd->buffer[block*cfg->block_size + off + i] == in lfs_rambd_prog()125 LFS_ASSERT(block < cfg->block_count); in lfs_rambd_erase()
89 LFS_ASSERT(off % cfg->read_size == 0); in lfs_filebd_read()90 LFS_ASSERT(size % cfg->read_size == 0); in lfs_filebd_read()91 LFS_ASSERT(block < cfg->block_count); in lfs_filebd_read()125 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_filebd_prog()126 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_filebd_prog()127 LFS_ASSERT(block < cfg->block_count); in lfs_filebd_prog()148 LFS_ASSERT(c == bd->cfg->erase_value); in lfs_filebd_prog()177 LFS_ASSERT(block < cfg->block_count); in lfs_filebd_erase()
111 LFS_ASSERT(block < lfs->cfg->block_count); in lfs_bd_read()122 LFS_ASSERT(err <= 0); in lfs_bd_read()162 LFS_ASSERT(pcache->block < lfs->cfg->block_count); in lfs_bd_flush()166 LFS_ASSERT(err <= 0); in lfs_bd_flush()204 LFS_ASSERT(err <= 0); in lfs_bd_sync()215 LFS_ASSERT(block == LFS_BLOCK_INLINE || block < lfs->cfg->block_count); in lfs_bd_prog()216 LFS_ASSERT(off + size <= lfs->cfg->block_size); in lfs_bd_prog()245 LFS_ASSERT(pcache->block == LFS_BLOCK_NULL); in lfs_bd_prog()259 LFS_ASSERT(block < lfs->cfg->block_count); in lfs_bd_erase()261 LFS_ASSERT(err <= 0); in lfs_bd_erase()[all …]
94 #ifndef LFS_ASSERT96 #define LFS_ASSERT(test) assert(test) macro98 #define LFS_ASSERT(test)
261 LFS_ASSERT(run_cycles[1]*110/100 > 2*run_cycles[0]);350 LFS_ASSERT(run_cycles[1]*110/100 > 2*run_cycles[0]);