Lines Matching refs:lock_result
100 esp_err_t lock_result = Lock::init(); in nvs_flash_init_partition_ptr() local
101 if (lock_result != ESP_OK) { in nvs_flash_init_partition_ptr()
102 return lock_result; in nvs_flash_init_partition_ptr()
129 esp_err_t lock_result = Lock::init(); in nvs_flash_init_partition() local
130 if (lock_result != ESP_OK) { in nvs_flash_init_partition()
131 return lock_result; in nvs_flash_init_partition()
178 esp_err_t lock_result = Lock::init(); in nvs_flash_secure_init_partition() local
179 if (lock_result != ESP_OK) { in nvs_flash_secure_init_partition()
180 return lock_result; in nvs_flash_secure_init_partition()
195 esp_err_t lock_result = Lock::init(); in nvs_flash_erase_partition() local
196 if (lock_result != ESP_OK) { in nvs_flash_erase_partition()
197 return lock_result; in nvs_flash_erase_partition()
222 esp_err_t lock_result = Lock::init(); in nvs_flash_erase_partition_ptr() local
223 if (lock_result != ESP_OK) { in nvs_flash_erase_partition_ptr()
224 return lock_result; in nvs_flash_erase_partition_ptr()
253 esp_err_t lock_result = Lock::init(); in nvs_flash_deinit_partition() local
254 if (lock_result != ESP_OK) { in nvs_flash_deinit_partition()
255 return lock_result; in nvs_flash_deinit_partition()