Searched refs:Segment (Results 1 – 3 of 3) sorted by relevance
116 struct Segment { struct176 bool osSegmentSetSize(struct Segment *seg, uint32_t size);178 struct Segment *osGetSegment(const struct AppHdr *app);179 struct Segment *osSegmentGetEnd();181 static inline int32_t osSegmentGetSize(const struct Segment *seg) in osSegmentGetSize()186 static inline uint32_t osSegmentGetState(const struct Segment *seg) in osSegmentGetState()191 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()213 static inline const struct Segment *osSegmentSizeGetNext(const struct Segment *seg, uint32_t size) in osSegmentSizeGetNext()215 struct Segment *next = (struct Segment *)(((uint8_t*)seg) + in osSegmentSizeGetNext()222 static inline const struct Segment *osSegmentGetNext(const struct Segment *seg) in osSegmentGetNext()[all …]
431 it->shared = (const struct Segment *)(start); in osSegmentIteratorInit()432 it->sharedEnd = (const struct Segment *)(start + sz); in osSegmentIteratorInit()439 struct Segment *seg = osGetSegment(app); in osAppSegmentSetState()454 bool osSegmentSetSize(struct Segment *seg, uint32_t size) in osSegmentSetSize()473 struct Segment *osSegmentGetEnd() in osSegmentGetEnd()477 return (struct Segment *)(start + size); in osSegmentGetEnd()480 struct Segment *osGetSegment(const struct AppHdr *app) in osGetSegment()485 return (struct Segment *)((uint8_t*)app && in osGetSegment()488 (uint8_t*)app - sizeof(struct Segment) : NULL); in osGetSegment()520 const struct Segment *storageSeg = NULL; in osAppSegmentCreate()[all …]
315 struct Segment *seg = osGetSegment(app); in deferredUpdateOs()402 struct Segment *storageSeg; in firmwareFinish()