Searched refs:lfs_stat (Results 1 – 11 of 11) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_paths.toml | 14 lfs_stat(&lfs, "tea/hottea", &info) => 0; 16 lfs_stat(&lfs, "/tea/hottea", &info) => 0; 20 lfs_stat(&lfs, "/milk", &info) => 0; 22 lfs_stat(&lfs, "milk", &info) => 0; 39 lfs_stat(&lfs, "/tea/hottea", &info) => 0; 41 lfs_stat(&lfs, "//tea//hottea", &info) => 0; 43 lfs_stat(&lfs, "///tea///hottea", &info) => 0; 47 lfs_stat(&lfs, "////milk", &info) => 0; 49 lfs_stat(&lfs, "milk", &info) => 0; 66 lfs_stat(&lfs, "./tea/hottea", &info) => 0; [all …]
|
D | test_orphans.toml | 36 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; 37 lfs_stat(&lfs, "parent/child", &info) => 0; 42 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; 43 lfs_stat(&lfs, "parent/child", &info) => 0; 48 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; 49 lfs_stat(&lfs, "parent/child", &info) => 0; 50 lfs_stat(&lfs, "parent/otherchild", &info) => 0; 55 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; 56 lfs_stat(&lfs, "parent/child", &info) => 0; 57 lfs_stat(&lfs, "parent/otherchild", &info) => 0; [all …]
|
D | test_relocations.toml | 200 int res = lfs_stat(&lfs, full_path, &info); 215 lfs_stat(&lfs, path, &info) => 0; 233 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT; 269 int res = lfs_stat(&lfs, full_path, &info); 285 lfs_stat(&lfs, path, &info) => 0; 300 res = lfs_stat(&lfs, new_path, &info); 321 lfs_stat(&lfs, path, &info) => 0; 326 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT; 338 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
|
D | test_superblocks.toml | 114 lfs_stat(&lfs, "dummy", &info) => 0; 128 lfs_stat(&lfs, "dummy", &info) => 0; 145 int err = lfs_stat(&lfs, "dummy", &info); 157 lfs_stat(&lfs, "dummy", &info) => 0; 166 lfs_stat(&lfs, "dummy", &info) => 0; 188 err = lfs_stat(&lfs, "dummy", &info); 200 lfs_stat(&lfs, "dummy", &info) => 0; 210 lfs_stat(&lfs, "dummy", &info) => 0;
|
D | test_move.toml | 75 lfs_stat(&lfs, "hi/hi/hi", &info) => 0; 382 if (lfs_stat(&lfs, "a/hello", &info) == 0) { 388 if (lfs_stat(&lfs, "b/hello", &info) == 0) { 394 if (lfs_stat(&lfs, "c/hello", &info) == 0) { 400 if (lfs_stat(&lfs, "d/hello", &info) == 0) { 410 if (lfs_stat(&lfs, "a/hello", &info) == 0 && info.size > 0) { 412 } else if (lfs_stat(&lfs, "b/hello", &info) == 0) { 414 } else if (lfs_stat(&lfs, "c/hello", &info) == 0) { 416 } else if (lfs_stat(&lfs, "d/hello", &info) == 0) { 864 if (lfs_stat(&lfs, "a/hi", &info) == 0) { [all …]
|
D | test_exhaustion.toml | 86 lfs_stat(&lfs, path, &info) => 0; 176 lfs_stat(&lfs, path, &info) => 0; 275 lfs_stat(&lfs, path, &info) => 0; 372 lfs_stat(&lfs, path, &info) => 0; 465 lfs_stat(&lfs, path, &info) => 0;
|
D | test_badblocks.toml | 60 lfs_stat(&lfs, (char*)buffer, &info) => 0; 140 lfs_stat(&lfs, (char*)buffer, &info) => 0; 219 lfs_stat(&lfs, (char*)buffer, &info) => 0;
|
D | test_evil.toml | 65 lfs_stat(&lfs, "dir_here", &info) => 0; 71 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT; 117 lfs_stat(&lfs, "file_here", &info) => 0; 182 lfs_stat(&lfs, "file_here", &info) => 0;
|
D | test_entries.toml | 519 lfs_stat(&lfs, "hi1", &info) => LFS_ERR_NOENT; 543 lfs_stat(&lfs, "hi2", &info) => LFS_ERR_NOENT; 560 lfs_stat(&lfs, "hi3", &info) => LFS_ERR_NOENT; 570 lfs_stat(&lfs, "hi0", &info) => LFS_ERR_NOENT;
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.h | 506 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
|
D | lfs.c | 5863 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info) { function
|