Home
last modified time | relevance | path

Searched refs:lfs_file_open (Results 1 – 18 of 18) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_entries.toml18 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 …]
Dtest_move.toml9 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 …]
Dtest_files.toml6 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 …]
Dtest_alloc.toml20 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 …]
Dtest_truncate.toml7 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 …]
Dtest_interspersed.toml12 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 …]
Dtest_seek.toml14 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 …]
Dtest_exhaustion.toml28 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;
Dtest_badblocks.toml37 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;
Dtest_dirs.toml245 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 …]
Dtest_superblocks.toml36 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",
Dtest_paths.toml175 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,
Dtest_attrs.toml6 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;
Dtest_evil.toml68 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;
Dtest_relocations.toml10 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/
Dlfs.h524 int lfs_file_open(lfs_t *lfs, lfs_file_t *file,
DREADME.md73 lfs_file_open(&lfs, &file, "boot_count", LFS_O_RDWR | LFS_O_CREAT);
Dlfs.c5479 int lfs_file_open(lfs_t *lfs, lfs_file_t *file, const char *path, int flags) { function