Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/bd/
Dlfs_emubd.h164 int lfs_emubd_create(const struct lfs_config *cfg,
168 int lfs_emubd_destroy(const struct lfs_config *cfg);
171 int lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block,
177 int lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block,
184 int lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block);
187 int lfs_emubd_sync(const struct lfs_config *cfg);
193 int lfs_emubd_crc(const struct lfs_config *cfg,
197 int lfs_emubd_bdcrc(const struct lfs_config *cfg, uint32_t *crc);
200 lfs_emubd_sio_t lfs_emubd_readed(const struct lfs_config *cfg);
203 lfs_emubd_sio_t lfs_emubd_proged(const struct lfs_config *cfg);
[all …]
Dlfs_emubd.c49 const struct lfs_config *cfg, in lfs_emubd_mutblock()
97 int lfs_emubd_create(const struct lfs_config *cfg, in lfs_emubd_create()
187 int lfs_emubd_destroy(const struct lfs_config *cfg) { in lfs_emubd_destroy()
215 int lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_emubd_read()
265 int lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_emubd_prog()
356 int lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_emubd_erase()
442 int lfs_emubd_sync(const struct lfs_config *cfg) { in lfs_emubd_sync()
454 static int lfs_emubd_rawcrc(const struct lfs_config *cfg, in lfs_emubd_rawcrc()
479 int lfs_emubd_crc(const struct lfs_config *cfg, in lfs_emubd_crc()
488 int lfs_emubd_bdcrc(const struct lfs_config *cfg, uint32_t *crc) { in lfs_emubd_bdcrc()
[all …]
Dlfs_filebd.h52 int lfs_filebd_create(const struct lfs_config *cfg, const char *path,
56 int lfs_filebd_destroy(const struct lfs_config *cfg);
59 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block,
65 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block,
72 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block);
75 int lfs_filebd_sync(const struct lfs_config *cfg);
Dlfs_rambd.h55 int lfs_rambd_create(const struct lfs_config *cfg,
59 int lfs_rambd_destroy(const struct lfs_config *cfg);
62 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block,
68 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block,
75 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block);
78 int lfs_rambd_sync(const struct lfs_config *cfg);
Dlfs_rambd.c10 int lfs_rambd_create(const struct lfs_config *cfg, in lfs_rambd_create()
44 int lfs_rambd_destroy(const struct lfs_config *cfg) { in lfs_rambd_destroy()
55 int lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_read()
75 int lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_rambd_prog()
95 int lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_rambd_erase()
110 int lfs_rambd_sync(const struct lfs_config *cfg) { in lfs_rambd_sync()
Dlfs_filebd.c18 int lfs_filebd_create(const struct lfs_config *cfg, const char *path, in lfs_filebd_create()
52 int lfs_filebd_destroy(const struct lfs_config *cfg) { in lfs_filebd_destroy()
65 int lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_read()
101 int lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block, in lfs_filebd_prog()
134 int lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block) { in lfs_filebd_erase()
149 int lfs_filebd_sync(const struct lfs_config *cfg) { in lfs_filebd_sync()
/littlefs-3.7.0-3.6.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
441 const struct lfs_config *cfg;
463 int lfs_format(lfs_t *lfs, const struct lfs_config *config);
474 int lfs_mount(lfs_t *lfs, const struct lfs_config *config);
[all …]
Dlfs.c4114 static int lfs_init(lfs_t *lfs, const struct lfs_config *cfg) {
4262 static int lfs_rawformat(lfs_t *lfs, const struct lfs_config *cfg) {
4329 static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) {
5446 const struct lfs_config *cfg) {
5513 static int lfs_rawmigrate(lfs_t *lfs, const struct lfs_config *cfg) {
5758 int lfs_format(lfs_t *lfs, const struct lfs_config *cfg) {
5788 int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) {
6307 int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
DREADME.md42 const struct lfs_config cfg = {
/littlefs-3.7.0-3.6.0/runners/
Dbench_runner.h40 struct lfs_config;
61 void (*run)(struct lfs_config *cfg);
Dtest_runner.h33 struct lfs_config;
54 void (*run)(struct lfs_config *cfg);
Dtest_runner.c1336 struct lfs_config cfg = { in run_powerloss_none()
1412 struct lfs_config cfg = { in run_powerloss_linear()
1505 struct lfs_config cfg = { in run_powerloss_log()
1596 struct lfs_config cfg = { in run_powerloss_cycles()
1674 struct lfs_config *cfg;
1715 struct lfs_config *cfg, in run_powerloss_exhaustive_layer()
1785 struct lfs_config cfg = { in run_powerloss_exhaustive()
Dbench_runner.c560 static struct lfs_config *bench_cfg = NULL;
1311 struct lfs_config cfg = { in perm_run()
/littlefs-3.7.0-3.6.0/tests/
Dtest_superblocks.toml24 struct lfs_config tweaked_cfg = *cfg;
79 struct lfs_config tweaked_cfg = *cfg;
Dtest_compat.toml29 #define lfsp_config lfs_config