Home
last modified time | relevance | path

Searched refs:lfs_config (Results 1 – 9 of 9) sorted by relevance

/littlefs-3.5.0-3.4.0/bd/
Dlfs_testbd.h100 int lfs_testbd_create(const struct lfs_config *cfg, const char *path);
101 int lfs_testbd_createcfg(const struct lfs_config *cfg, const char *path,
105 int lfs_testbd_destroy(const struct lfs_config *cfg);
108 int lfs_testbd_read(const struct lfs_config *cfg, lfs_block_t block,
114 int lfs_testbd_prog(const struct lfs_config *cfg, lfs_block_t block,
121 int lfs_testbd_erase(const struct lfs_config *cfg, lfs_block_t block);
124 int lfs_testbd_sync(const struct lfs_config *cfg);
130 lfs_testbd_swear_t lfs_testbd_getwear(const struct lfs_config *cfg,
134 int lfs_testbd_setwear(const struct lfs_config *cfg,
Dlfs_filebd.h43 int lfs_filebd_create(const struct lfs_config *cfg, const char *path);
44 int lfs_filebd_createcfg(const struct lfs_config *cfg, const char *path,
48 int lfs_filebd_destroy(const struct lfs_config *cfg);
51 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block,
57 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block,
64 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block);
67 int lfs_filebd_sync(const struct lfs_config *cfg);
Dlfs_rambd.h45 int lfs_rambd_create(const struct lfs_config *cfg);
46 int lfs_rambd_createcfg(const struct lfs_config *cfg,
50 int lfs_rambd_destroy(const struct lfs_config *cfg);
53 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block,
59 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block,
66 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block);
69 int lfs_rambd_sync(const struct lfs_config *cfg);
Dlfs_testbd.c14 int lfs_testbd_createcfg(const struct lfs_config *cfg, const char *path, in lfs_testbd_createcfg()
71 int lfs_testbd_create(const struct lfs_config *cfg, const char *path) { in lfs_testbd_create()
88 int lfs_testbd_destroy(const struct lfs_config *cfg) { in lfs_testbd_destroy()
107 static int lfs_testbd_rawread(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_rawread()
117 static int lfs_testbd_rawprog(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_rawprog()
127 static int lfs_testbd_rawerase(const struct lfs_config *cfg, in lfs_testbd_rawerase()
137 static int lfs_testbd_rawsync(const struct lfs_config *cfg) { in lfs_testbd_rawsync()
147 int lfs_testbd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_read()
172 int lfs_testbd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_prog()
221 int lfs_testbd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_testbd_erase()
[all …]
Dlfs_rambd.c10 int lfs_rambd_createcfg(const struct lfs_config *cfg, in lfs_rambd_createcfg()
48 int lfs_rambd_create(const struct lfs_config *cfg) { in lfs_rambd_create()
63 int lfs_rambd_destroy(const struct lfs_config *cfg) { in lfs_rambd_destroy()
74 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_read()
93 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_prog()
120 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_rambd_erase()
137 int lfs_rambd_sync(const struct lfs_config *cfg) { in lfs_rambd_sync()
Dlfs_filebd.c18 int lfs_filebd_createcfg(const struct lfs_config *cfg, const char *path, in lfs_filebd_createcfg()
51 int lfs_filebd_create(const struct lfs_config *cfg, const char *path) { in lfs_filebd_create()
68 int lfs_filebd_destroy(const struct lfs_config *cfg) { in lfs_filebd_destroy()
81 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_read()
118 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_prog()
172 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_filebd_erase()
202 int lfs_filebd_sync(const struct lfs_config *cfg) { in lfs_filebd_sync()
/littlefs-3.5.0-3.4.0/
Dlfs.h158 struct lfs_config { struct
165 int (*read)(const struct lfs_config *c, lfs_block_t block, argument
171 int (*prog)(const struct lfs_config *c, lfs_block_t block, argument
178 int (*erase)(const struct lfs_config *c, lfs_block_t block); argument
182 int (*sync)(const struct lfs_config *c); argument
187 int (*lock)(const struct lfs_config *c); argument
191 int (*unlock)(const struct lfs_config *c); argument
412 const struct lfs_config *cfg;
433 int lfs_format(lfs_t *lfs, const struct lfs_config *config);
444 int lfs_mount(lfs_t *lfs, const struct lfs_config *config);
[all …]
Dlfs.c3912 static int lfs_init(lfs_t *lfs, const struct lfs_config *cfg) {
4039 static int lfs_rawformat(lfs_t *lfs, const struct lfs_config *cfg) {
4104 static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) {
5001 const struct lfs_config *cfg) {
5068 static int lfs_rawmigrate(lfs_t *lfs, const struct lfs_config *cfg) {
5309 int lfs_format(lfs_t *lfs, const struct lfs_config *cfg) {
5339 int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) {
5796 int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
DREADME.md42 const struct lfs_config cfg = {