Searched refs:LFS_ASSERT (Results 1 – 8 of 8) sorted by relevance
63 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_rambd_read()64 LFS_ASSERT(off % bd->cfg->read_size == 0); in lfs_rambd_read()65 LFS_ASSERT(size % bd->cfg->read_size == 0); in lfs_rambd_read()66 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_rambd_read()83 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_rambd_prog()84 LFS_ASSERT(off % bd->cfg->prog_size == 0); in lfs_rambd_prog()85 LFS_ASSERT(size % bd->cfg->prog_size == 0); in lfs_rambd_prog()86 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_rambd_prog()101 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_rambd_erase()
73 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_filebd_read()74 LFS_ASSERT(off % bd->cfg->read_size == 0); in lfs_filebd_read()75 LFS_ASSERT(size % bd->cfg->read_size == 0); in lfs_filebd_read()76 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_filebd_read()109 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_filebd_prog()110 LFS_ASSERT(off % bd->cfg->prog_size == 0); in lfs_filebd_prog()111 LFS_ASSERT(size % bd->cfg->prog_size == 0); in lfs_filebd_prog()112 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_filebd_prog()140 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_filebd_erase()
223 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_emubd_read()224 LFS_ASSERT(off % bd->cfg->read_size == 0); in lfs_emubd_read()225 LFS_ASSERT(size % bd->cfg->read_size == 0); in lfs_emubd_read()226 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_emubd_read()273 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_emubd_prog()274 LFS_ASSERT(off % bd->cfg->prog_size == 0); in lfs_emubd_prog()275 LFS_ASSERT(size % bd->cfg->prog_size == 0); in lfs_emubd_prog()276 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_emubd_prog()303 LFS_ASSERT(b->data[off+i] == bd->cfg->erase_value); in lfs_emubd_prog()362 LFS_ASSERT(block < bd->cfg->erase_count); in lfs_emubd_erase()[all …]
27 LFS_ASSERT(buffer[j] == (i+j) % 251);55 LFS_ASSERT(buffer[j] == (block+i+j) % 251);75 LFS_ASSERT(buffer[j] == (block+i+j) % 251);85 LFS_ASSERT(buffer[j] == (block+i+j) % 251);113 LFS_ASSERT(buffer[j] == (block+i+j) % 251);133 LFS_ASSERT(buffer[j] == (block+i+j) % 251);143 LFS_ASSERT(buffer[j] == (block+i+j) % 251);171 LFS_ASSERT(buffer[j] == (block+i+j) % 251);186 LFS_ASSERT(buffer[j] == (block+i+j) % 251);218 LFS_ASSERT(buffer[j] == (block+i+j) % 251);[all …]
285 LFS_ASSERT(run_cycles[1]*110/100 > 2*run_cycles[0]);382 LFS_ASSERT(run_cycles[1]*110/100 > 2*run_cycles[0]);
110 LFS_ASSERT(!lfs->block_count || block < lfs->block_count); in lfs_bd_read()121 LFS_ASSERT(err <= 0); in lfs_bd_read()182 LFS_ASSERT(pcache->block < lfs->block_count); in lfs_bd_flush()186 LFS_ASSERT(err <= 0); in lfs_bd_flush()224 LFS_ASSERT(err <= 0); in lfs_bd_sync()235 LFS_ASSERT(block == LFS_BLOCK_INLINE || block < lfs->block_count); in lfs_bd_prog()236 LFS_ASSERT(off + size <= lfs->cfg->block_size); in lfs_bd_prog()265 LFS_ASSERT(pcache->block == LFS_BLOCK_NULL); in lfs_bd_prog()279 LFS_ASSERT(block < lfs->block_count); in lfs_bd_erase()281 LFS_ASSERT(err <= 0); in lfs_bd_erase()[all …]
94 #ifndef LFS_ASSERT96 #define LFS_ASSERT(test) assert(test) macro98 #define LFS_ASSERT(test)
529 ./scripts/prettyasserts.py -p LFS_ASSERT $< -o $@532 ./scripts/prettyasserts.py -p LFS_ASSERT $< -o $@