Lines Matching refs:nvs_fs

21 static inline size_t nvs_al_size(struct nvs_fs *fs, size_t len)  in nvs_al_size()
34 static int nvs_flash_al_wrt(struct nvs_fs *fs, uint32_t addr, const void *data, in nvs_flash_al_wrt()
77 static int nvs_flash_rd(struct nvs_fs *fs, uint32_t addr, void *data, in nvs_flash_rd()
93 static int nvs_flash_ate_wrt(struct nvs_fs *fs, const struct nvs_ate *entry) in nvs_flash_ate_wrt()
105 static int nvs_flash_data_wrt(struct nvs_fs *fs, const void *data, size_t len) in nvs_flash_data_wrt()
116 static int nvs_flash_ate_rd(struct nvs_fs *fs, uint32_t addr, in nvs_flash_ate_rd()
130 static int nvs_flash_block_cmp(struct nvs_fs *fs, uint32_t addr, const void *data, in nvs_flash_block_cmp()
162 static int nvs_flash_cmp_const(struct nvs_fs *fs, uint32_t addr, uint8_t value, in nvs_flash_cmp_const()
188 static int nvs_flash_block_move(struct nvs_fs *fs, uint32_t addr, size_t len) in nvs_flash_block_move()
216 static int nvs_flash_erase_sector(struct nvs_fs *fs, uint32_t addr) in nvs_flash_erase_sector()
287 static int nvs_ate_valid(struct nvs_fs *fs, const struct nvs_ate *entry) in nvs_ate_valid()
308 static int nvs_close_ate_valid(struct nvs_fs *fs, const struct nvs_ate *entry) in nvs_close_ate_valid()
326 static int nvs_flash_wrt_entry(struct nvs_fs *fs, uint16_t id, const void *data, in nvs_flash_wrt_entry()
362 static int nvs_recover_last_ate(struct nvs_fs *fs, uint32_t *addr) in nvs_recover_last_ate()
397 static int nvs_prev_ate(struct nvs_fs *fs, uint32_t *addr, struct nvs_ate *ate) in nvs_prev_ate()
452 static void nvs_sector_advance(struct nvs_fs *fs, uint32_t *addr) in nvs_sector_advance()
463 static int nvs_sector_close(struct nvs_fs *fs) in nvs_sector_close()
489 static int nvs_add_gc_done_ate(struct nvs_fs *fs) in nvs_add_gc_done_ate()
505 static int nvs_gc(struct nvs_fs *fs) in nvs_gc()
620 static int nvs_startup(struct nvs_fs *fs) in nvs_startup()
826 int nvs_clear(struct nvs_fs *fs) in nvs_clear()
850 int nvs_init(struct nvs_fs *fs, const char *dev_name) in nvs_init()
915 ssize_t nvs_write(struct nvs_fs *fs, uint16_t id, const void *data, size_t len) in nvs_write()
1033 int nvs_delete(struct nvs_fs *fs, uint16_t id) in nvs_delete()
1038 ssize_t nvs_read_hist(struct nvs_fs *fs, uint16_t id, void *data, size_t len, in nvs_read_hist()
1095 ssize_t nvs_read(struct nvs_fs *fs, uint16_t id, void *data, size_t len) in nvs_read()
1103 ssize_t nvs_calc_free_space(struct nvs_fs *fs) in nvs_calc_free_space()