Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/tests/
Dtest_evil.toml26 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
65 lfs_dir_open(&lfs, &dir, "dir_here") => LFS_ERR_CORRUPT;
66 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
67 lfs_dir_open(&lfs, &dir, "dir_here/dir_here") => LFS_ERR_CORRUPT;
69 LFS_O_RDONLY) => LFS_ERR_CORRUPT;
71 LFS_O_WRONLY | LFS_O_CREAT) => LFS_ERR_CORRUPT;
113 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
118 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
174 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
179 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
[all …]
Dtest_superblocks.toml26 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
Dtest_badblocks.toml240 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
Dtest_alloc.toml371 assert(res == (lfs_ssize_t)size || res == LFS_ERR_CORRUPT);
372 if (res == LFS_ERR_CORRUPT) {
/littlefs-3.5.0-3.4.0/bd/
Dlfs_testbd.c162 LFS_TESTBD_TRACE("lfs_testbd_read -> %d", LFS_ERR_CORRUPT); in lfs_testbd_read()
163 return LFS_ERR_CORRUPT; in lfs_testbd_read()
188 LFS_TESTBD_TRACE("lfs_testbd_prog -> %d", LFS_ERR_CORRUPT); in lfs_testbd_prog()
189 return LFS_ERR_CORRUPT; in lfs_testbd_prog()
233 LFS_TESTBD_TRACE("lfs_testbd_erase -> %d", LFS_ERR_CORRUPT); in lfs_testbd_erase()
234 return LFS_ERR_CORRUPT; in lfs_testbd_erase()
/littlefs-3.5.0-3.4.0/
Dlfs.c55 return LFS_ERR_CORRUPT; in lfs_bd_read()
182 return LFS_ERR_CORRUPT; in lfs_bd_flush()
686 return LFS_ERR_CORRUPT; in lfs_dir_getread()
1013 return LFS_ERR_CORRUPT; in lfs_dir_fetchmatch()
1024 if (err && err != LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1028 if (err != LFS_ERR_CORRUPT && in lfs_dir_fetchmatch()
1061 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1091 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1134 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1167 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
[all …]
Dlfs.h76 LFS_ERR_CORRUPT = -84, // Corrupted enumerator
DREADME.md126 user may return a `LFS_ERR_CORRUPT` error if the implementation already can