Home
last modified time | relevance | path

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

/littlefs-latest/tests/
Dtest_paths.toml21 lfs_file_open(&lfs, &file, "coffee/drip",
24 lfs_file_open(&lfs, &file, "coffee/coldbrew",
27 lfs_file_open(&lfs, &file, "coffee/turkish",
30 lfs_file_open(&lfs, &file, "coffee/tubruk",
33 lfs_file_open(&lfs, &file, "coffee/vietnamese",
36 lfs_file_open(&lfs, &file, "coffee/thai",
65 lfs_file_open(&lfs, &file, "coffee/drip",
67 lfs_file_open(&lfs, &file, "coffee/coldbrew",
69 lfs_file_open(&lfs, &file, "coffee/turkish",
71 lfs_file_open(&lfs, &file, "coffee/tubruk",
[all …]
Dtest_entries.toml22 lfs_file_open(&lfs, &file, path,
30 lfs_file_open(&lfs, &file, path,
38 lfs_file_open(&lfs, &file, path,
46 lfs_file_open(&lfs, &file, path,
55 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
62 lfs_file_open(&lfs, &file, path,
71 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
78 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
85 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
92 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
[all …]
Dtest_move.toml11 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
48 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
49 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
50 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
59 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
92 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
146 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
147 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
148 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
156 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
[all …]
Dtest_files.toml9 lfs_file_open(&lfs, &file, "hello",
19 lfs_file_open(&lfs, &file, "hello", LFS_O_RDONLY) => 0;
37 lfs_file_open(&lfs, &file, "avacado",
53 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
81 lfs_file_open(&lfs, &file, "avacado",
96 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
112 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY) => 0;
126 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
167 lfs_file_open(&lfs, &file, "avacado",
182 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
[all …]
Dtest_alloc.toml30 lfs_file_open(&lfs, &files[n], path,
52 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
89 lfs_file_open(&lfs, &file, path,
109 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
147 lfs_file_open(&lfs, &files[n], path,
166 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
214 lfs_file_open(&lfs, &file, path,
231 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
265 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
292 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
[all …]
Dtest_truncate.toml11 lfs_file_open(&lfs, &file, "baldynoop",
27 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDWR) => 0;
37 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0;
62 lfs_file_open(&lfs, &file, "baldyread",
78 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDWR) => 0;
96 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0;
118 lfs_file_open(&lfs, &file, "sequence",
177 lfs_file_open(&lfs, &file, "baldywrite",
193 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDWR) => 0;
213 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0;
[all …]
Dtest_powerloss.toml14 lfs_file_open(&lfs, &file, "notebook/paper",
26 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
55 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
63 lfs_file_open(&lfs, &file, "notebook/paper",
73 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
107 lfs_file_open(&lfs, &file, "notebook/paper",
119 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
151 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
159 lfs_file_open(&lfs, &file, "notebook/paper",
169 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
Dtest_interspersed.toml14 lfs_file_open(&lfs, &files[j], path,
51 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
81 lfs_file_open(&lfs, &file, path,
92 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 0;
119 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0;
137 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0;
138 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0;
139 lfs_file_open(&lfs, &files[2], "g", LFS_O_WRONLY | LFS_O_CREAT) => 0;
179 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0;
180 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0;
[all …]
Dtest_seek.toml17 lfs_file_open(&lfs, &file, "kitty",
29 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
90 lfs_file_open(&lfs, &file, "kitty",
102 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
148 lfs_file_open(&lfs, &file, "kitty",
160 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
272 lfs_file_open(&lfs, &file, "kitty",
284 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
359 lfs_file_open(&lfs, &file, "kitty",
370 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
[all …]
Dtest_superblocks.toml131 lfs_file_open(&lfs, &file, "dummy",
145 lfs_file_open(&lfs, &file, "dummy",
165 lfs_file_open(&lfs, &file, "dummy",
208 lfs_file_open(&lfs, &file, "dummy",
255 lfs_file_open(&lfs, &file, "dummy",
306 lfs_file_open(&lfs, &file, "test",
316 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
361 lfs_file_open(&lfs, &file, "test",
371 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
509 lfs_file_open(&lfs, &file, "test",
[all …]
Dtest_exhaustion.toml32 lfs_file_open(&lfs, &file, path,
63 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
122 lfs_file_open(&lfs, &file, path,
153 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
221 lfs_file_open(&lfs, &file, path,
252 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
318 lfs_file_open(&lfs, &file, path,
349 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
411 lfs_file_open(&lfs, &file, path,
442 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
Dtest_dirs.toml285 lfs_file_open(&lfs, &file, path,
325 lfs_file_open(&lfs, &file, path,
385 lfs_file_open(&lfs, &file, path,
462 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
543 lfs_file_open(&lfs, &file, "burito",
735 lfs_file_open(&lfs, &file, "burito",
744 lfs_file_open(&lfs, &file, "burito",
746 lfs_file_open(&lfs, &file, "potato",
751 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT;
752 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR;
[all …]
Dtest_badblocks.toml40 lfs_file_open(&lfs, &file, (char*)buffer,
69 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
120 lfs_file_open(&lfs, &file, (char*)buffer,
149 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
199 lfs_file_open(&lfs, &file, (char*)buffer,
228 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
Dtest_attrs.toml8 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
75 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
89 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
155 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
169 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
265 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
279 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_evil.toml74 lfs_file_open(&lfs, &file, "dir_here/file_here",
76 lfs_file_open(&lfs, &file, "dir_here/file_here",
91 lfs_file_open(&lfs, &file, "file_here",
122 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
143 lfs_file_open(&lfs, &file, "file_here",
187 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
Dtest_relocations.toml12 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
28 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
90 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
106 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
123 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
140 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
Dtest_compat.toml49 #define lfsp_file_open lfs_file_open
224 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
341 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
486 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
528 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
611 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
677 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
794 lfs_file_open(&lfs, &file, name,
882 lfs_file_open(&lfs, &file, name,
1052 lfs_file_open(&lfs, &file, name,
[all …]
/littlefs-latest/benches/
Dbench_dir.toml20 lfs_file_open(&lfs, &file, name,
44 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
85 lfs_file_open(&lfs, &file, name,
122 lfs_file_open(&lfs, &file, name,
168 lfs_file_open(&lfs, &file, name,
Dbench_file.toml17 lfs_file_open(&lfs, &file, "file",
32 lfs_file_open(&lfs, &file, "file", LFS_O_RDONLY) => 0;
71 lfs_file_open(&lfs, &file, "file",
Dbench_superblock.toml17 lfs_file_open(&lfs, &file, name,
/littlefs-latest/
Dlfs.h574 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.c6117 int lfs_file_open(lfs_t *lfs, lfs_file_t *file, const char *path, int flags) { function