Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/utils/
Dflash.cpp71 …for (mSwapUsed = kSwapMarkerSize; mSwapUsed <= mSwapSize - sizeof(record); mSwapUsed += record.Get… in Init()
125 for (offset = kSwapMarkerSize; offset < mSwapUsed; offset += record.GetSize()) in Get()
188 OT_ASSERT((mSwapSize - record.GetSize()) >= kSwapMarkerSize); in Add()
229 uint32_t dstOffset = kSwapMarkerSize; in Swap()
234 for (uint32_t srcOffset = kSwapMarkerSize; srcOffset < mSwapUsed; srcOffset += record.GetSize()) in Swap()
264 for (uint32_t offset = kSwapMarkerSize; offset < mSwapUsed; offset += record.GetSize()) in Delete()
Dflash.hpp140 static constexpr uint32_t kSwapMarkerSize = 4; // in bytes member in ot::Flash