Home
last modified time | relevance | path

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

/openthread-3.6.0/examples/platforms/utils/
Dsettings_ram.c50 static uint16_t sSettingsBufLength; variable
66 sSettingsBufLength = 0; in otPlatSettingsInit()
82 while (i < sSettingsBufLength) in otPlatSettingsGet()
131 while (i < sSettingsBufLength) in otPlatSettingsSet()
140 if (nextBlockStart < sSettingsBufLength) in otPlatSettingsSet()
142 … memmove(&sSettingsBuf[i], &sSettingsBuf[nextBlockStart], sSettingsBufLength - nextBlockStart); in otPlatSettingsSet()
145 assert(sSettingsBufLength >= currentBlockLength); in otPlatSettingsSet()
146 sSettingsBufLength -= currentBlockLength; in otPlatSettingsSet()
165 if (sSettingsBufLength + newBlockLength <= sizeof(sSettingsBuf)) in otPlatSettingsAdd()
167 currentBlock = (struct settingsBlock *)&sSettingsBuf[sSettingsBufLength]; in otPlatSettingsAdd()
[all …]