Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/settings/src/
Dsettings_nvs.c220 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()
[all …]