Home
last modified time | relevance | path

Searched refs:lfs_size_t (Results 1 – 12 of 12) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_files.toml33 for (lfs_size_t i = 0; i < SIZE; i += CHUNKSIZE) {
34 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i);
35 for (lfs_size_t b = 0; b < chunk; b++) {
48 for (lfs_size_t i = 0; i < SIZE; i += CHUNKSIZE) {
49 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i);
51 for (lfs_size_t b = 0; b < chunk; b++) {
72 for (lfs_size_t i = 0; i < SIZE1; i += CHUNKSIZE) {
73 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
74 for (lfs_size_t b = 0; b < chunk; b++) {
87 for (lfs_size_t i = 0; i < SIZE1; i += CHUNKSIZE) {
[all …]
Dtest_alloc.toml25 for (lfs_size_t i = 0; i < SIZE; i += size) {
39 for (lfs_size_t i = 0; i < SIZE; i += size) {
337 lfs_size_t filesize = 0;
352 for (lfs_size_t i = 0; i < filesize/size; i++) {
400 for (lfs_size_t i = 0; i < filesize/size; i++) {
495 for (lfs_size_t i = 0; i < cfg.block_size; i += 2) {
504 for (lfs_size_t i = 0;
521 for (lfs_size_t i = 0; i < cfg.block_size; i += 2) {
543 for (lfs_size_t i = 0;
554 for (lfs_size_t i = 0;
[all …]
Dtest_exhaustion.toml31 for (lfs_size_t j = 0; j < size; j++) {
58 for (lfs_size_t j = 0; j < size; j++) {
113 for (lfs_size_t j = 0; j < size; j++) {
140 for (lfs_size_t j = 0; j < size; j++) {
204 for (lfs_size_t j = 0; j < size; j++) {
231 for (lfs_size_t j = 0; j < size; j++) {
293 for (lfs_size_t j = 0; j < size; j++) {
320 for (lfs_size_t j = 0; j < size; j++) {
378 for (lfs_size_t j = 0; j < size; j++) {
405 for (lfs_size_t j = 0; j < size; j++) {
Dtest_truncate.toml104 lfs_size_t qsize = size / 4;
120 lfs_size_t trunc = size - qsize;
/littlefs-3.5.0-3.4.0/
Dlfs.h41 typedef uint32_t lfs_size_t; typedef
166 lfs_off_t off, void *buffer, lfs_size_t size);
172 lfs_off_t off, const void *buffer, lfs_size_t size);
196 lfs_size_t read_size;
200 lfs_size_t prog_size;
206 lfs_size_t block_size;
209 lfs_size_t block_count;
224 lfs_size_t cache_size;
230 lfs_size_t lookahead_size;
249 lfs_size_t name_max;
[all …]
Dlfs.c49 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_read()
51 void *buffer, lfs_size_t size) { in lfs_bd_read()
59 lfs_size_t diff = size; in lfs_bd_read()
132 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_cmp()
134 const void *buffer, lfs_size_t size) { in lfs_bd_cmp()
136 lfs_size_t diff = 0; in lfs_bd_cmp()
163 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()
213 const void *buffer, lfs_size_t size) { in lfs_bd_prog()
223 lfs_size_t diff = lfs_min(size, in lfs_bd_prog()
348 static inline lfs_size_t lfs_tag_size(lfs_tag_t tag) { in lfs_tag_size()
[all …]
/littlefs-3.5.0-3.4.0/bd/
Dlfs_testbd.c108 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_testbd_rawread()
118 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_testbd_rawprog()
148 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_testbd_read()
173 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_testbd_prog()
Dlfs_filebd.h52 lfs_off_t off, void *buffer, lfs_size_t size);
58 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_rambd.h54 lfs_off_t off, void *buffer, lfs_size_t size);
60 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_testbd.h109 lfs_off_t off, void *buffer, lfs_size_t size);
115 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_rambd.c75 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_rambd_read()
94 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_rambd_prog()
Dlfs_filebd.c82 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_filebd_read()
119 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_filebd_prog()