Home
last modified time | relevance | path

Searched refs:LFS_ERR_CORRUPT (Results 1 – 8 of 8) sorted by relevance

/littlefs-3.7.0-3.6.0/tests/
Dtest_evil.toml27 lfs_mount(&lfs, cfg) => LFS_ERR_CORRUPT;
70 lfs_dir_open(&lfs, &dir, "dir_here") => LFS_ERR_CORRUPT;
71 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
72 lfs_dir_open(&lfs, &dir, "dir_here/dir_here") => LFS_ERR_CORRUPT;
75 LFS_O_RDONLY) => LFS_ERR_CORRUPT;
77 LFS_O_WRONLY | LFS_O_CREAT) => LFS_ERR_CORRUPT;
123 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
128 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
188 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
193 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
[all …]
Dtest_badblocks.toml259 lfs_mount(&lfs, cfg) => LFS_ERR_CORRUPT;
Dtest_alloc.toml434 assert(res == (lfs_ssize_t)size || res == LFS_ERR_CORRUPT);
435 if (res == LFS_ERR_CORRUPT) {
Dtest_superblocks.toml49 lfs_mount(&lfs, cfg) => LFS_ERR_CORRUPT;
/littlefs-3.7.0-3.6.0/
Dlfs.c54 return LFS_ERR_CORRUPT; in lfs_bd_read()
202 return LFS_ERR_CORRUPT; in lfs_bd_flush()
766 return LFS_ERR_CORRUPT; in lfs_dir_getread()
1089 return LFS_ERR_CORRUPT; in lfs_dir_fetchmatch()
1100 if (err && err != LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1104 if (err != LFS_ERR_CORRUPT && in lfs_dir_fetchmatch()
1142 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1171 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1211 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1240 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
[all …]
Dlfs.h74 LFS_ERR_CORRUPT = -84, // Corrupted enumerator
DREADME.md126 user may return a `LFS_ERR_CORRUPT` error if the implementation already can
/littlefs-3.7.0-3.6.0/bd/
Dlfs_emubd.c234 LFS_EMUBD_TRACE("lfs_emubd_read -> %d", LFS_ERR_CORRUPT); in lfs_emubd_read()
235 return LFS_ERR_CORRUPT; in lfs_emubd_read()
289 LFS_EMUBD_TRACE("lfs_emubd_prog -> %d", LFS_ERR_CORRUPT); in lfs_emubd_prog()
290 return LFS_ERR_CORRUPT; in lfs_emubd_prog()
376 LFS_EMUBD_TRACE("lfs_emubd_erase -> %d", LFS_ERR_CORRUPT); in lfs_emubd_erase()
377 return LFS_ERR_CORRUPT; in lfs_emubd_erase()