/third_party/littlefs/bd/ |
H A D | lfs_emubd.h | 163 // Create an emulating block device using the geometry in lfs_config 164 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 *cf [all...] |
H A D | lfs_testbd.h | 96 // Create a test block device using the geometry in lfs_config 100 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 *cf [all...] |
H A D | lfs_rambd.h | 55 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);
|
H A D | lfs_filebd.h | 52 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);
|
H A D | lfs_testbd.c | 14 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 *cf [all...] |
H A D | lfs_emubd.c | 49 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 *cf [all...] |
H A D | lfs_rambd.c | 10 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()
|
H A D | lfs_filebd.c | 18 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()
|
/third_party/littlefs/ |
H A D | lfs.h | 158 struct lfs_config { struct 165 int (*read)(const struct lfs_config *c, lfs_block_t block, 171 int (*prog)(const struct lfs_config *c, lfs_block_t block, 178 int (*erase)(const struct lfs_config *c, lfs_block_t block); 182 int (*sync)(const struct lfs_config *c); 187 int (*lock)(const struct lfs_config *c); 191 int (*unlock)(const struct lfs_config *c); 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 *confi [all...] |
H A D | lfs.c | 4109 static int lfs_init(lfs_t *lfs, const struct lfs_config *cfg) { 4257 static int lfs_rawformat(lfs_t *lfs, const struct lfs_config *cfg) { 4324 static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) { 5441 const struct lfs_config *cfg) { 5508 static int lfs_rawmigrate(lfs_t *lfs, const struct lfs_config *cfg) { 5753 int lfs_format(lfs_t *lfs, const struct lfs_config *cfg) { 5783 int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) { 6302 int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
|
/third_party/littlefs/runners/ |
H A D | bench_runner.h | 40 struct lfs_config; 61 void (*run)(struct lfs_config *cfg);
|
H A D | test_runner.h | 33 struct lfs_config; 54 void (*run)(struct lfs_config *cfg);
|
H A D | test_runner.c | 1336 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()
|
H A D | bench_runner.c | 560 static struct lfs_config *bench_cfg = NULL; 1311 struct lfs_config cfg = { in perm_run()
|