Home
last modified time | relevance | path

Searched refs:lfs_dir_t (Results 1 – 2 of 2) sorted by relevance

/littlefs-3.5.0-3.4.0/
Dlfs.h349 } lfs_dir_t; typedef
623 int lfs_dir_open(lfs_t *lfs, lfs_dir_t *dir, const char *path);
629 int lfs_dir_close(lfs_t *lfs, lfs_dir_t *dir);
636 int lfs_dir_read(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info);
644 int lfs_dir_seek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off);
652 lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t *dir);
657 int lfs_dir_rewind(lfs_t *lfs, lfs_dir_t *dir);
Dlfs.c514 static int lfs_dir_rawrewind(lfs_t *lfs, lfs_dir_t *dir);
2156 ((lfs_dir_t*)d)->pos -= 1; in lfs_dir_relocatingcommit()
2162 ((lfs_dir_t*)d)->pos += 1; in lfs_dir_relocatingcommit()
2269 lfs_pair_cmp(lpair, ((lfs_dir_t*)d)->head) == 0) { in lfs_dir_orphaningcommit()
2270 ((lfs_dir_t*)d)->head[0] = ldir.pair[0]; in lfs_dir_orphaningcommit()
2271 ((lfs_dir_t*)d)->head[1] = ldir.pair[1]; in lfs_dir_orphaningcommit()
2497 static int lfs_dir_rawopen(lfs_t *lfs, lfs_dir_t *dir, const char *path) { in lfs_dir_rawopen()
2541 static int lfs_dir_rawclose(lfs_t *lfs, lfs_dir_t *dir) { in lfs_dir_rawclose()
2548 static int lfs_dir_rawread(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info) { in lfs_dir_rawread()
2593 static int lfs_dir_rawseek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off) { in lfs_dir_rawseek()
[all …]