Lines Matching refs:part_name

34     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
202 if (NVSPartitionManager::get_instance()->lookup_storage_from_name(part_name)) { in nvs_flash_erase_partition()
203 esp_err_t err = close_handles_and_deinit(part_name); in nvs_flash_erase_partition()
212 ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_NVS, part_name); in nvs_flash_erase_partition()
279 extern "C" esp_err_t nvs_open_from_partition(const char *part_name, const char* name, nvs_open_mode… in nvs_open_from_partition() argument
285 …esp_err_t result = NVSPartitionManager::get_instance()->open_handle(part_name, name, open_mode, &h… in nvs_open_from_partition()
287 NVSHandleEntry *entry = new (std::nothrow) NVSHandleEntry(handle, part_name); in nvs_open_from_partition()
529 extern "C" esp_err_t nvs_get_stats(const char* part_name, nvs_stats_t* nvs_stats) in nvs_get_stats() argument
542 pStorage = lookup_storage_from_name((part_name == nullptr) ? NVS_DEFAULT_PART_NAME : part_name); in nvs_get_stats()
728 extern "C" nvs_iterator_t nvs_entry_find(const char *part_name, const char *namespace_name, nvs_typ… in nvs_entry_find() argument
733 pStorage = lookup_storage_from_name(part_name); in nvs_entry_find()