Lines Matching refs:write_name_id
220 uint16_t name_id, write_name_id; in settings_nvs_save() local
236 write_name_id = name_id; in settings_nvs_save()
244 write_name_id = cf->last_name_id + 1; in settings_nvs_save()
265 write_name_id = name_id; in settings_nvs_save()
277 write_name_id = name_id; in settings_nvs_save()
316 if (write_name_id == NVS_NAMECNT_ID + NVS_NAME_ID_OFFSET) { in settings_nvs_save()
321 if (write_name_id > cf->last_name_id) { in settings_nvs_save()
322 cf->last_name_id = write_name_id; in settings_nvs_save()
331 rc = nvs_write(&cf->cf_nvs, write_name_id + NVS_NAME_ID_OFFSET, in settings_nvs_save()
339 rc = nvs_write(&cf->cf_nvs, write_name_id, name, strlen(name)); in settings_nvs_save()
347 settings_nvs_cache_add(cf, name, write_name_id); in settings_nvs_save()