Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 33) sorted by relevance

12

/littlefs-latest/tests/
Dtest_bd.toml22 // read data
24 cfg->read(cfg, 0, i, buffer, READ) => 0;
49 // read block 0
52 cfg->read(cfg, block, i, buffer, READ) => 0;
69 // read block 1
72 cfg->read(cfg, block, i, buffer, READ) => 0;
79 // read block 0 again
82 cfg->read(cfg, block, i, buffer, READ) => 0;
107 // read block 0
110 cfg->read(cfg, block, i, buffer, READ) => 0;
[all …]
Dtest_entries.toml53 // read hi1 20
69 // read hi0 20
76 // read hi1 200
83 // read hi2 20
90 // read hi3 20
146 // read hi1 200
162 // read hi0 20
169 // read hi1 20
176 // read hi2 20
183 // read hi3 20
[all …]
Dtest_seek.toml183 // read @ offset
189 // read after
196 // read before
204 // read @ 0
209 // read @ offset
215 // read after
222 // read before
233 // read @ 0
238 // read @ offset
244 // read after
[all …]
Dtest_compat.toml83 // we should be able to read the version using lfs_fs_stat
91 # test we can read dirs in a new version
119 // we should be able to read the version using lfs_fs_stat
149 # test we can read files in a new version
191 // we should be able to read the version using lfs_fs_stat
218 // now can we read the files?
239 # test we can read files in dirs in a new version
284 // we should be able to read the version using lfs_fs_stat
335 // now can we read the files?
384 // we should be able to read the version using lfs_fs_stat
[all …]
Dtest_files.toml51 // read
94 // read
124 // read
180 // read
210 // read
261 // read
291 // read
348 // read
430 // read
Dtest_superblocks.toml29 cfg->read(cfg, 0, 0, magic, lfs_max(16, READ_SIZE)) => 0;
31 cfg->read(cfg, 1, 0, magic, lfs_max(16, READ_SIZE)) => 0;
73 # test we can read superblock info through lfs_fs_stat
80 // test we can mount and read fsinfo
108 // test we can mount and read these params with the original config
182 cfg->read(cfg, 0, 0, magic, lfs_max(16, READ_SIZE)) => 0;
184 cfg->read(cfg, 1, 0, magic, lfs_max(16, READ_SIZE)) => 0;
Dtest_powerloss.toml45 cfg->read(cfg, pair[1], 0, bbuffer, BLOCK_SIZE) => 0;
54 // can read?
141 cfg->read(cfg, block, 0, bbuffer, BLOCK_SIZE) => 0;
150 // can read?
Dtest_move.toml112 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
193 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
209 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
289 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
305 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
576 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
663 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
679 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
766 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
782 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
Dtest_truncate.toml52 # truncate and read
111 # write, truncate, and read
Dtest_orphans.toml24 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
/littlefs-latest/scripts/
Dtracebd.py236 def read(self): member in Block
266 read=True, argument
324 elif read and self.readed:
386 def read(self, block=None, off=None, size=None): member in Bd
387 self._op(Block.read, block, off, size)
451 read=False, argument
510 if ((read and b.readed)
513 or (not read and not prog and not erase
521 read=read,
534 if ((read and b.readed)
[all …]
Dreadblock.py8 block = (f.read(args.block_size)
Dteepipe.py33 buf = f.read(io.DEFAULT_BUFFER_SIZE)
Dreadtree.py33 data.append(f.read(args.block_size)
Dwatch.py66 inotify.read()
Dreadmdir.py348 blocks.append(f.read(args.block_size)
/littlefs-latest/
DREADME.md44 .read = user_provided_block_device_read,
71 // read current count
128 code of these functions, instead all data is read back and checked for
132 flushes all the data to memory and ensures that the next read fetches the data
134 function does not perform caching, and therefore each `read` or `write` call
DDESIGN.md114 Some logging filesystems cache files to avoid the read cost, but this comes
573 efficient to read and write, but most frustrating, they need to be traversable
614 just to read a file! That's awful.
672 of _O(1)_, and can be read with a worst case runtime of _O(n log n)_. Given
775 _O(n)_, can be appended in _O(1)_, and can be read in _O(n log n)_. All of
979 write to a block, we can read the data back and verify that it was written
1210 To avoid read errors, we need to be proactive, as opposed to reactive as we
1216 read errors have a chance to develop.
1811 boot, and a read-only littlefs can ignore the threaded linked-list entirely.
Dlfs.h164 int (*read)(const struct lfs_config *c, lfs_block_t block, member
DSPEC.md27 block size), littlefs also uses a program block size and read block size.
534 information to read the file.
660 be ignored if littlefs is mounted read-only.
/littlefs-latest/bd/
Dlfs_filebd.c26 (void*)(uintptr_t)cfg->read, (void*)(uintptr_t)cfg->prog, in lfs_filebd_create()
90 ssize_t res2 = read(bd->fd, buffer, size); in lfs_filebd_read()
Dlfs_rambd.c18 (void*)(uintptr_t)cfg->read, (void*)(uintptr_t)cfg->prog, in lfs_rambd_create()
/littlefs-latest/benches/
Dbench_dir.toml34 // then read the files
182 // then read the directory
Dbench_file.toml30 // then read the file
/littlefs-latest/runners/
Dtest_runner.c1338 .read = lfs_emubd_read, in run_powerloss_none()
1417 .read = lfs_emubd_read, in run_powerloss_linear()
1513 .read = lfs_emubd_read, in run_powerloss_log()
1607 .read = lfs_emubd_read, in run_powerloss_cycles()
1799 .read = lfs_emubd_read, in run_powerloss_exhaustive()

12