Home | History | Annotate | Download | only in src

Lines Matching refs:Segment

431     it->shared    = (const struct Segment *)(start);
432 it->sharedEnd = (const struct Segment *)(start + sz);
439 struct Segment *seg = osGetSegment(app);
454 bool osSegmentSetSize(struct Segment *seg, uint32_t size)
473 struct Segment *osSegmentGetEnd()
477 return (struct Segment *)(start + size);
480 struct Segment *osGetSegment(const struct AppHdr *app)
485 return (struct Segment *)((uint8_t*)app &&
488 (uint8_t*)app - sizeof(struct Segment) : NULL);
520 const struct Segment *storageSeg = NULL;
541 struct Segment seg;
551 struct Segment *storageSeg = osGetSegment(app);
558 if (osSegmentSizeAlignedWithFooter(segDataSize) + sizeof(struct Segment) > totalSize)
568 if (osSegmentSizeGetNext(storageSeg, segDataSize) > (struct Segment*)end)
595 struct Segment *seg = osGetSegment(app);
603 osLog(LOG_ERROR, "%s: can't erase segment: app=%p; seg=%p"
734 const struct Segment *seg;