Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
Dseos.c539 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose() argument
550 int32_t fullSize = segDataSize + sizeof(seg); // without footer or padding in osAppSegmentClose()
554 if (segDataSize >= SEG_SIZE_MAX) in osAppSegmentClose()
558 if (osSegmentSizeAlignedWithFooter(segDataSize) + sizeof(struct Segment) > totalSize) in osAppSegmentClose()
568 if (osSegmentSizeGetNext(storageSeg, segDataSize) > (struct Segment*)end) in osAppSegmentClose()
572 osSegmentSetSize(&seg, segDataSize); in osAppSegmentClose()