Home
last modified time | relevance | path

Searched refs:part_name (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.4.0/components/nvs_flash/src/
Dnvs_api.cpp34 NVSHandleEntry(nvs::NVSHandleSimple *handle, const char* part_name) in NVSHandleEntry() argument
37 handle_part_name(part_name) { } in NVSHandleEntry()
81 static esp_err_t close_handles_and_deinit(const char* part_name) in close_handles_and_deinit() argument
84 return strncmp(e.nvs_handle->get_partition_name(), part_name, NVS_PART_NAME_MAX_SIZE) == 0; in close_handles_and_deinit()
95 return NVSPartitionManager::get_instance()->deinit_partition(part_name); in close_handles_and_deinit()
127 extern "C" esp_err_t nvs_flash_init_partition(const char *part_name) in nvs_flash_init_partition() argument
135 return NVSPartitionManager::get_instance()->init_partition(part_name); in nvs_flash_init_partition()
176 extern "C" esp_err_t nvs_flash_secure_init_partition(const char *part_name, nvs_sec_cfg_t* cfg) in nvs_flash_secure_init_partition() argument
184 return NVSPartitionManager::get_instance()->secure_init_partition(part_name, cfg); in nvs_flash_secure_init_partition()
193 extern "C" esp_err_t nvs_flash_erase_partition(const char *part_name) in nvs_flash_erase_partition() argument
[all …]
Dnvs_partition_manager.cpp104 esp_err_t NVSPartitionManager::secure_init_partition(const char *part_name, nvs_sec_cfg_t* cfg) in secure_init_partition() argument
106 if (strlen(part_name) > NVS_PART_NAME_MAX_SIZE) { in secure_init_partition()
112 mStorage = lookup_storage_from_name(part_name); in secure_init_partition()
120 result = partition_lookup::lookup_nvs_encrypted_partition(part_name, cfg, &p); in secure_init_partition()
122 result = partition_lookup::lookup_nvs_partition(part_name, &p); in secure_init_partition()
175 esp_err_t NVSPartitionManager::open_handle(const char *part_name, in open_handle() argument
191 sHandle = lookup_storage_from_name(part_name); in open_handle()
Dnvs_partition_manager.hpp35 esp_err_t secure_init_partition(const char *part_name, nvs_sec_cfg_t* cfg);
42 …esp_err_t open_handle(const char *part_name, const char *ns_name, nvs_open_mode_t open_mode, NVSHa…
/hal_espressif-3.4.0/components/nvs_flash/include/
Dnvs.h162 esp_err_t nvs_open_from_partition(const char *part_name, const char* name, nvs_open_mode_t open_mod…
558 esp_err_t nvs_get_stats(const char *part_name, nvs_stats_t *nvs_stats);
631 nvs_iterator_t nvs_entry_find(const char *part_name, const char *namespace_name, nvs_type_t type);
Dnvs_flash.h152 esp_err_t nvs_flash_erase_partition(const char *part_name);
/hal_espressif-3.4.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp2557 char const *part_name, in check_nvs_part_gen_args() argument
2569 strncpy(esp_part.label, part_name, PART_NAME_MAX_SIZE); in check_nvs_part_gen_args()
2577 part.reset(new PartitionEmulation(spi_flash_emulator, 0, size, part_name)); in check_nvs_part_gen_args()
2582 TEST_ESP_OK( nvs_open_from_partition(part_name, "dummyNamespace", NVS_READONLY, &handle)); in check_nvs_part_gen_args()
2637 TEST_ESP_OK(nvs_flash_deinit_partition(part_name)); in check_nvs_part_gen_args()