Home
last modified time | relevance | path

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

/third_party/littlefs/
Dlfs.h40 typedef uint32_t lfs_size_t; typedef
165 lfs_off_t off, void *buffer, lfs_size_t size);
171 lfs_off_t off, const void *buffer, lfs_size_t size);
195 lfs_size_t read_size;
199 lfs_size_t prog_size;
205 lfs_size_t block_size;
208 lfs_size_t block_count;
223 lfs_size_t cache_size;
229 lfs_size_t lookahead_size;
248 lfs_size_t name_max;
[all …]
Dlfs.c29 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_read()
31 void *buffer, lfs_size_t size) { in lfs_bd_read()
39 lfs_size_t diff = size; in lfs_bd_read()
118 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_cmp()
120 const void *buffer, lfs_size_t size) { in lfs_bd_cmp()
122 lfs_size_t diff = 0; in lfs_bd_cmp()
149 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()
199 const void *buffer, lfs_size_t size) { in lfs_bd_prog()
209 lfs_size_t diff = lfs_min(size, in lfs_bd_prog()
330 static inline lfs_size_t lfs_tag_size(lfs_tag_t tag) { in lfs_tag_size()
[all …]
/third_party/littlefs/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_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_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_truncate.toml104 lfs_size_t qsize = size / 4;
120 lfs_size_t trunc = size - qsize;
/third_party/littlefs/bd/
Dlfs_filebd.h51 lfs_off_t off, void *buffer, lfs_size_t size);
57 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_rambd.h53 lfs_off_t off, void *buffer, lfs_size_t size);
59 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_testbd.h108 lfs_off_t off, void *buffer, lfs_size_t size);
114 lfs_off_t off, const void *buffer, lfs_size_t size);
Dlfs_testbd.c107 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_testbd_rawread()
117 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_testbd_rawprog()
147 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_testbd_read()
172 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_testbd_prog()
Dlfs_rambd.c72 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_rambd_read()
91 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_rambd_prog()
Dlfs_filebd.c72 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_filebd_read()
109 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_filebd_prog()