Lines Matching refs:Segment
117 struct Segment { struct
190 bool osSegmentSetSize(struct Segment *seg, uint32_t size);
192 struct Segment *osSegmentGetEnd();
194 struct Segment *osGetSegment(const struct AppHdr *app);
196 static inline int32_t osSegmentGetSize(const struct Segment *seg) in osSegmentGetSize()
201 static inline uint32_t osSegmentGetState(const struct Segment *seg) in osSegmentGetState()
206 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()
218 static inline uint32_t osSegmentGetCrc(const struct Segment *seg) in osSegmentGetCrc()
230 static inline const struct Segment *osSegmentSizeGetNext(const struct Segment *seg, uint32_t size) in osSegmentSizeGetNext()
232 struct Segment *next = (struct Segment *)(((uint8_t*)seg) + in osSegmentSizeGetNext()
239 static inline const struct Segment *osSegmentGetNext(const struct Segment *seg) in osSegmentGetNext()
256 struct Segment *seg = osGetSegment(app); in osAppSegmentCalcCrcResidue()
268 const struct Segment *shared;
269 const struct Segment *sharedEnd;
270 const struct Segment *seg;
277 const struct Segment *seg = it->shared; in osSegmentIteratorNext()
278 const struct Segment *next = seg < it->sharedEnd ? osSegmentGetNext(seg) : it->sharedEnd; in osSegmentIteratorNext()