/littlefs-3.5.0-3.4.0/tests/ |
D | test_entries.toml | 18 lfs_file_open(&lfs, &file, path, 26 lfs_file_open(&lfs, &file, path, 34 lfs_file_open(&lfs, &file, path, 42 lfs_file_open(&lfs, &file, path, 51 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 58 lfs_file_open(&lfs, &file, path, 67 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 74 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 81 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 88 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; [all …]
|
D | test_move.toml | 9 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0; 44 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 45 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 46 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 54 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 83 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0; 135 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 136 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 137 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 145 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; [all …]
|
D | test_files.toml | 6 lfs_file_open(&lfs, &file, "hello", 15 lfs_file_open(&lfs, &file, "hello", LFS_O_RDONLY) => 0; 30 lfs_file_open(&lfs, &file, "avacado", 45 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 69 lfs_file_open(&lfs, &file, "avacado", 84 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 100 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY) => 0; 114 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 151 lfs_file_open(&lfs, &file, "avacado", 166 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; [all …]
|
D | test_alloc.toml | 20 lfs_file_open(&lfs, &files[n], path, 37 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 62 lfs_file_open(&lfs, &file, path, 76 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 105 lfs_file_open(&lfs, &files[n], path, 122 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 159 lfs_file_open(&lfs, &file, path, 173 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 197 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT); 220 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY); [all …]
|
D | test_truncate.toml | 7 lfs_file_open(&lfs, &file, "baldynoop", 21 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDWR) => 0; 31 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0; 51 lfs_file_open(&lfs, &file, "baldyread", 65 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDWR) => 0; 82 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0; 100 lfs_file_open(&lfs, &file, "sequence", 154 lfs_file_open(&lfs, &file, "baldywrite", 168 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDWR) => 0; 185 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0; [all …]
|
D | test_interspersed.toml | 12 lfs_file_open(&lfs, &files[j], path, 45 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0; 71 lfs_file_open(&lfs, &file, path, 81 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 0; 105 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0; 121 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0; 122 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0; 123 lfs_file_open(&lfs, &files[2], "g", LFS_O_WRONLY | LFS_O_CREAT) => 0; 161 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0; 162 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0; [all …]
|
D | test_seek.toml | 14 lfs_file_open(&lfs, &file, "kitty", 25 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0; 83 lfs_file_open(&lfs, &file, "kitty", 94 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0; 138 lfs_file_open(&lfs, &file, "kitty", 149 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0; 198 lfs_file_open(&lfs, &file, "kitty", 208 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0; 246 lfs_file_open(&lfs, &file, "tinykitty", 318 err = lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY); [all …]
|
D | test_exhaustion.toml | 28 lfs_file_open(&lfs, &file, path, 57 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 110 lfs_file_open(&lfs, &file, path, 139 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 201 lfs_file_open(&lfs, &file, path, 230 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 290 lfs_file_open(&lfs, &file, path, 319 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 375 lfs_file_open(&lfs, &file, path, 404 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
|
D | test_badblocks.toml | 37 lfs_file_open(&lfs, &file, (char*)buffer, 63 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0; 111 lfs_file_open(&lfs, &file, (char*)buffer, 137 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0; 184 lfs_file_open(&lfs, &file, (char*)buffer, 210 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
|
D | test_dirs.toml | 245 lfs_file_open(&lfs, &file, path, 278 lfs_file_open(&lfs, &file, path, 330 lfs_file_open(&lfs, &file, path, 395 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0; 468 lfs_file_open(&lfs, &file, "burito", 649 lfs_file_open(&lfs, &file, "burito", 658 lfs_file_open(&lfs, &file, "burito", 660 lfs_file_open(&lfs, &file, "potato", 664 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT; 665 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR; [all …]
|
D | test_superblocks.toml | 36 lfs_file_open(&lfs, &file, "dummy", 48 lfs_file_open(&lfs, &file, "dummy", 73 lfs_file_open(&lfs, &file, "dummy", 111 lfs_file_open(&lfs, &file, "dummy",
|
D | test_paths.toml | 175 lfs_file_open(&lfs, &file, "dirt/ground", LFS_O_WRONLY | LFS_O_CREAT) 178 lfs_file_open(&lfs, &file, "dirt/ground/earth", LFS_O_WRONLY | LFS_O_CREAT) 192 lfs_file_open(&lfs, &file, "/", LFS_O_WRONLY | LFS_O_CREAT) 252 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT) 259 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT) 277 lfs_file_open(&lfs, &file, path, 287 lfs_file_open(&lfs, &file, path,
|
D | test_attrs.toml | 6 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0; 72 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0; 84 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0; 149 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0; 161 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0; 256 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0; 268 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
|
D | test_evil.toml | 68 lfs_file_open(&lfs, &file, "dir_here/file_here", 70 lfs_file_open(&lfs, &file, "dir_here/file_here", 83 lfs_file_open(&lfs, &file, "file_here", 112 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0; 131 lfs_file_open(&lfs, &file, "file_here", 173 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
|
D | test_relocations.toml | 10 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0; 24 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0; 76 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0; 90 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0; 104 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0; 120 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.h | 524 int lfs_file_open(lfs_t *lfs, lfs_file_t *file,
|
D | README.md | 73 lfs_file_open(&lfs, &file, "boot_count", LFS_O_RDWR | LFS_O_CREAT);
|
D | lfs.c | 5479 int lfs_file_open(lfs_t *lfs, lfs_file_t *file, const char *path, int flags) { function
|