Home
last modified time | relevance | path

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

/third_party/littlefs/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) {
/third_party/littlefs/bd/
Dlfs_testbd.c161 LFS_TESTBD_TRACE("lfs_testbd_read -> %d", LFS_ERR_CORRUPT); in lfs_testbd_read()
162 return LFS_ERR_CORRUPT; in lfs_testbd_read()
187 LFS_TESTBD_TRACE("lfs_testbd_prog -> %d", LFS_ERR_CORRUPT); in lfs_testbd_prog()
188 return LFS_ERR_CORRUPT; in lfs_testbd_prog()
232 LFS_TESTBD_TRACE("lfs_testbd_erase -> %d", LFS_ERR_CORRUPT); in lfs_testbd_erase()
233 return LFS_ERR_CORRUPT; in lfs_testbd_erase()
/third_party/littlefs/
Dlfs.c35 return LFS_ERR_CORRUPT; in lfs_bd_read()
168 return LFS_ERR_CORRUPT; in lfs_bd_flush()
658 return LFS_ERR_CORRUPT; in lfs_dir_getread()
850 return LFS_ERR_CORRUPT; in lfs_dir_fetchmatch()
861 if (err && err != LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
865 if (err != LFS_ERR_CORRUPT && in lfs_dir_fetchmatch()
898 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
928 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
971 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
1004 if (err == LFS_ERR_CORRUPT) { in lfs_dir_fetchmatch()
[all …]
Dlfs.h75 LFS_ERR_CORRUPT = -84, // Corrupted enumerator
DREADME.md126 user may return a `LFS_ERR_CORRUPT` error if the implementation already can