Home
last modified time | relevance | path

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

/openthread-latest/src/core/utils/
Dflash.cpp48 mSwapSize = otPlatFlashGetSwapSize(&GetInstance()); in Init()
68 …for (mSwapUsed = kSwapMarkerSize; mSwapUsed <= mSwapSize - sizeof(record); mSwapUsed += record.Get… in Init()
98 for (uint32_t offset = mSwapUsed; offset < mSwapSize; offset += sizeof(temp)) in SanitizeFreeSpace()
185 OT_ASSERT((mSwapSize - record.GetSize()) >= kSwapMarkerSize); in Add()
187 if ((mSwapSize - record.GetSize()) < mSwapUsed) in Add()
190 VerifyOrExit((mSwapSize - record.GetSize()) >= mSwapUsed, error = kErrorNoBufs); in Add()
Dflash.hpp213 uint32_t mSwapSize; member in ot::Flash