Home
last modified time | relevance | path

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

/third_party/littlefs/bd/
Dlfs_testbd.h99 int lfs_testbd_create(const struct lfs_config *cfg, const char *path);
100 int lfs_testbd_createcfg(const struct lfs_config *cfg, const char *path,
104 int lfs_testbd_destroy(const struct lfs_config *cfg);
107 int lfs_testbd_read(const struct lfs_config *cfg, lfs_block_t block,
113 int lfs_testbd_prog(const struct lfs_config *cfg, lfs_block_t block,
120 int lfs_testbd_erase(const struct lfs_config *cfg, lfs_block_t block);
123 int lfs_testbd_sync(const struct lfs_config *cfg);
129 lfs_testbd_swear_t lfs_testbd_getwear(const struct lfs_config *cfg,
133 int lfs_testbd_setwear(const struct lfs_config *cfg,
Dlfs_filebd.h42 int lfs_filebd_create(const struct lfs_config *cfg, const char *path);
43 int lfs_filebd_createcfg(const struct lfs_config *cfg, const char *path,
47 int lfs_filebd_destroy(const struct lfs_config *cfg);
50 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block,
56 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block,
63 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block);
66 int lfs_filebd_sync(const struct lfs_config *cfg);
Dlfs_rambd.h44 int lfs_rambd_create(const struct lfs_config *cfg);
45 int lfs_rambd_createcfg(const struct lfs_config *cfg,
49 int lfs_rambd_destroy(const struct lfs_config *cfg);
52 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block,
58 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block,
65 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block);
68 int lfs_rambd_sync(const struct lfs_config *cfg);
Dlfs_testbd.c13 int lfs_testbd_createcfg(const struct lfs_config *cfg, const char *path, in lfs_testbd_createcfg()
70 int lfs_testbd_create(const struct lfs_config *cfg, const char *path) { in lfs_testbd_create()
87 int lfs_testbd_destroy(const struct lfs_config *cfg) { in lfs_testbd_destroy()
106 static int lfs_testbd_rawread(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_rawread()
116 static int lfs_testbd_rawprog(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_rawprog()
126 static int lfs_testbd_rawerase(const struct lfs_config *cfg, in lfs_testbd_rawerase()
136 static int lfs_testbd_rawsync(const struct lfs_config *cfg) { in lfs_testbd_rawsync()
146 int lfs_testbd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_read()
171 int lfs_testbd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_testbd_prog()
220 int lfs_testbd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_testbd_erase()
[all …]
Dlfs_rambd.c9 int lfs_rambd_createcfg(const struct lfs_config *cfg, in lfs_rambd_createcfg()
45 int lfs_rambd_create(const struct lfs_config *cfg) { in lfs_rambd_create()
60 int lfs_rambd_destroy(const struct lfs_config *cfg) { in lfs_rambd_destroy()
71 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_read()
90 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_prog()
117 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_rambd_erase()
134 int lfs_rambd_sync(const struct lfs_config *cfg) { in lfs_rambd_sync()
Dlfs_filebd.c13 int lfs_filebd_createcfg(const struct lfs_config *cfg, const char *path, in lfs_filebd_createcfg()
41 int lfs_filebd_create(const struct lfs_config *cfg, const char *path) { in lfs_filebd_create()
58 int lfs_filebd_destroy(const struct lfs_config *cfg) { in lfs_filebd_destroy()
71 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_read()
108 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_prog()
162 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_filebd_erase()
192 int lfs_filebd_sync(const struct lfs_config *cfg) { in lfs_filebd_sync()
/third_party/littlefs/
Dlfs.h157 struct lfs_config { struct
164 int (*read)(const struct lfs_config *c, lfs_block_t block, argument
170 int (*prog)(const struct lfs_config *c, lfs_block_t block, argument
177 int (*erase)(const struct lfs_config *c, lfs_block_t block); argument
181 int (*sync)(const struct lfs_config *c); argument
186 int (*lock)(const struct lfs_config *c); argument
190 int (*unlock)(const struct lfs_config *c); argument
411 const struct lfs_config *cfg;
432 int lfs_format(lfs_t *lfs, const struct lfs_config *config);
443 int lfs_mount(lfs_t *lfs, const struct lfs_config *config);
[all …]
Dlfs.c3483 static int lfs_init(lfs_t *lfs, const struct lfs_config *cfg) {
3610 static int lfs_rawformat(lfs_t *lfs, const struct lfs_config *cfg) {
3675 static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) {
4609 const struct lfs_config *cfg) {
4676 static int lfs_rawmigrate(lfs_t *lfs, const struct lfs_config *cfg) {
4917 int lfs_format(lfs_t *lfs, const struct lfs_config *cfg) {
4947 int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) {
5402 int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
DREADME.md42 const struct lfs_config cfg = {