Lines Matching refs:lfs

7     lfs_format(&lfs, &cfg) => 0;
9 lfs_mount(&lfs, &cfg) => 0;
10 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
12 while (LFS_BLOCK_COUNT - lfs_fs_size(&lfs) > 16) {
13 lfs_file_write(&lfs, &file, buffer, 512) => 512;
15 lfs_file_close(&lfs, &file) => 0;
17 lfs_mkdir(&lfs, "child") => 0;
18 lfs_unmount(&lfs) => 0;
20 lfs_mount(&lfs, &cfg) => 0;
24 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
25 lfs_file_close(&lfs, &file) => 0;
28 lfs_dir_open(&lfs, &dir, "child") => 0;
29 lfs_dir_read(&lfs, &dir, &info) => 1;
30 lfs_dir_read(&lfs, &dir, &info) => 1;
33 lfs_dir_read(&lfs, &dir, &info) => 1;
36 lfs_dir_read(&lfs, &dir, &info) => 0;
37 lfs_dir_close(&lfs, &dir) => 0;
45 lfs_remove(&lfs, path) => 0;
48 lfs_unmount(&lfs) => 0;
50 lfs_mount(&lfs, &cfg) => 0;
51 lfs_dir_open(&lfs, &dir, "child") => 0;
52 lfs_dir_read(&lfs, &dir, &info) => 1;
53 lfs_dir_read(&lfs, &dir, &info) => 1;
56 lfs_dir_read(&lfs, &dir, &info) => 1;
59 lfs_dir_read(&lfs, &dir, &info) => 0;
60 lfs_dir_close(&lfs, &dir) => 0;
63 lfs_remove(&lfs, path) => 0;
65 lfs_unmount(&lfs) => 0;
73 lfs_format(&lfs, &cfg) => 0;
75 lfs_mount(&lfs, &cfg) => 0;
76 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
78 while (LFS_BLOCK_COUNT - lfs_fs_size(&lfs) > 16) {
79 lfs_file_write(&lfs, &file, buffer, 512) => 512;
81 lfs_file_close(&lfs, &file) => 0;
83 lfs_mkdir(&lfs, "child") => 0;
84 lfs_unmount(&lfs) => 0;
86 lfs_mount(&lfs, &cfg) => 0;
90 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
91 lfs_file_close(&lfs, &file) => 0;
94 lfs_dir_open(&lfs, &dir, "child") => 0;
95 lfs_dir_read(&lfs, &dir, &info) => 1;
96 lfs_dir_read(&lfs, &dir, &info) => 1;
99 lfs_dir_read(&lfs, &dir, &info) => 1;
104 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
105 lfs_file_write(&lfs, &file, "hi", 2) => 2;
106 lfs_file_close(&lfs, &file) => 0;
108 lfs_dir_read(&lfs, &dir, &info) => 0;
110 lfs_dir_rewind(&lfs, &dir) => 0;
111 lfs_dir_read(&lfs, &dir, &info) => 1;
112 lfs_dir_read(&lfs, &dir, &info) => 1;
115 lfs_dir_read(&lfs, &dir, &info) => 1;
120 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
121 lfs_file_write(&lfs, &file, "hi", 2) => 2;
122 lfs_file_close(&lfs, &file) => 0;
124 lfs_dir_read(&lfs, &dir, &info) => 0;
126 lfs_dir_rewind(&lfs, &dir) => 0;
127 lfs_dir_read(&lfs, &dir, &info) => 1;
128 lfs_dir_read(&lfs, &dir, &info) => 1;
131 lfs_dir_read(&lfs, &dir, &info) => 1;
135 lfs_dir_read(&lfs, &dir, &info) => 0;
136 lfs_dir_close(&lfs, &dir) => 0;
140 lfs_remove(&lfs, path) => 0;
143 lfs_unmount(&lfs) => 0;
158 err = lfs_mount(&lfs, &cfg);
160 lfs_format(&lfs, &cfg) => 0;
161 lfs_mount(&lfs, &cfg) => 0;
174 int res = lfs_stat(&lfs, full_path, &info);
180 err = lfs_mkdir(&lfs, path);
187 lfs_stat(&lfs, path, &info) => 0;
200 err = lfs_remove(&lfs, path);
204 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
207 lfs_unmount(&lfs) => 0;
220 err = lfs_mount(&lfs, &cfg);
222 lfs_format(&lfs, &cfg) => 0;
223 lfs_mount(&lfs, &cfg) => 0;
236 int res = lfs_stat(&lfs, full_path, &info);
243 err = lfs_mkdir(&lfs, path);
250 lfs_stat(&lfs, path, &info) => 0;
265 res = lfs_stat(&lfs, new_path, &info);
274 err = lfs_rename(&lfs, path, path+128);
284 lfs_stat(&lfs, path, &info) => 0;
289 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
296 err = lfs_remove(&lfs, path);
300 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
304 lfs_unmount(&lfs) => 0;