Searched refs:nvs_fs (Results 1 – 9 of 9) sorted by relevance
| /Zephyr-latest/include/zephyr/fs/ |
| D | nvs.h | 39 struct nvs_fs { struct 85 int nvs_mount(struct nvs_fs *fs); argument 94 int nvs_clear(struct nvs_fs *fs); 113 ssize_t nvs_write(struct nvs_fs *fs, uint16_t id, const void *data, size_t len); 123 int nvs_delete(struct nvs_fs *fs, uint16_t id); 138 ssize_t nvs_read(struct nvs_fs *fs, uint16_t id, void *data, size_t len); 154 ssize_t nvs_read_hist(struct nvs_fs *fs, uint16_t id, void *data, size_t len, uint16_t cnt); 165 ssize_t nvs_calc_free_space(struct nvs_fs *fs); 174 size_t nvs_sector_max_data_size(struct nvs_fs *fs); 189 int nvs_sector_use_next(struct nvs_fs *fs);
|
| /Zephyr-latest/subsys/fs/nvs/ |
| D | nvs.c | 19 static int nvs_prev_ate(struct nvs_fs *fs, uint32_t *addr, struct nvs_ate *ate); 20 static int nvs_ate_valid(struct nvs_fs *fs, const struct nvs_ate *entry); 39 static int nvs_lookup_cache_rebuild(struct nvs_fs *fs) in nvs_lookup_cache_rebuild() 73 static void nvs_lookup_cache_invalidate(struct nvs_fs *fs, uint32_t sector) in nvs_lookup_cache_invalidate() 89 static inline size_t nvs_al_size(struct nvs_fs *fs, size_t len) in nvs_al_size() 102 static int nvs_flash_al_wrt(struct nvs_fs *fs, uint32_t addr, const void *data, in nvs_flash_al_wrt() 145 static int nvs_flash_rd(struct nvs_fs *fs, uint32_t addr, void *data, in nvs_flash_rd() 160 static int nvs_flash_ate_wrt(struct nvs_fs *fs, const struct nvs_ate *entry) in nvs_flash_ate_wrt() 178 static int nvs_flash_data_wrt(struct nvs_fs *fs, const void *data, size_t len, bool compute_crc) in nvs_flash_data_wrt() 222 static int nvs_flash_ate_rd(struct nvs_fs *fs, uint32_t addr, in nvs_flash_ate_rd() [all …]
|
| /Zephyr-latest/tests/subsys/settings/functional/nvs/ |
| D | settings_test_nvs.c | 22 nvs_rc = nvs_write((struct nvs_fs *)storage, 26, &data, sizeof(data)); in ZTEST()
|
| /Zephyr-latest/subsys/settings/include/settings/ |
| D | settings_nvs.h | 38 struct nvs_fs cf_nvs;
|
| /Zephyr-latest/tests/subsys/fs/nvs/src/ |
| D | main.c | 41 struct nvs_fs fs; 110 static void execute_long_pattern_write(uint16_t id, struct nvs_fs *fs) in execute_long_pattern_write() 308 struct nvs_fs *fs) in write_content() 324 static void check_content(uint16_t max_id, struct nvs_fs *fs) in check_content() 763 static size_t num_matching_cache_entries(uint32_t addr, bool compare_sector_only, struct nvs_fs *fs) in num_matching_cache_entries() 777 static size_t num_occupied_cache_entries(struct nvs_fs *fs) in num_occupied_cache_entries()
|
| /Zephyr-latest/samples/subsys/nvs/src/ |
| D | main.c | 49 static struct nvs_fs fs;
|
| /Zephyr-latest/subsys/settings/src/ |
| D | settings_nvs.c | 27 struct nvs_fs *fs;
|
| /Zephyr-latest/doc/services/storage/nvs/ |
| D | nvs.rst | 54 static struct nvs_fs fs = {
|
| /Zephyr-latest/doc/releases/ |
| D | release-notes-3.2.rst | 2147 * :github:`48328` - Add API to get the nvs_fs struct from the settings backend
|