Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/settings/src/
Dsettings_nvs.c80 uint16_t name_id) in settings_nvs_cache_add() argument
85 cf->cache[cf->cache_next++].name_id = name_id; in settings_nvs_cache_add()
101 if (cf->cache[i].name_id <= NVS_NAMECNT_ID) { in settings_nvs_cache_match()
105 rc = nvs_read(&cf->cf_nvs, cf->cache[i].name_id, rdname, len); in settings_nvs_cache_match()
116 return cf->cache[i].name_id; in settings_nvs_cache_match()
132 uint16_t name_id = NVS_NAMECNT_ID; in settings_nvs_load() local
140 name_id = cf->last_name_id + 1; in settings_nvs_load()
144 name_id--; in settings_nvs_load()
145 if (name_id == NVS_NAMECNT_ID) { in settings_nvs_load()
157 rc1 = nvs_read(&cf->cf_nvs, name_id, &name, sizeof(name)); in settings_nvs_load()
[all …]
/Zephyr-latest/subsys/settings/include/settings/
Dsettings_nvs.h44 uint16_t name_id; member