Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dseos.c519 const struct Segment *storageSeg = NULL; in osSegmentGetFree() local
524 storageSeg = it.seg; in osSegmentGetFree()
528 if (!storageSeg || storageSeg > it.sharedEnd) in osSegmentGetFree()
531 return (uint8_t *)it.sharedEnd - (uint8_t *)storageSeg; in osSegmentGetFree()
576 const struct Segment *storageSeg = NULL; in osAppSegmentCreate() local
582 storageSeg = it.seg; in osAppSegmentCreate()
586 if (!storageSeg || osSegmentSizeGetNext(storageSeg, size) > it.sharedEnd) in osAppSegmentCreate()
589 app = osSegmentGetData(storageSeg); in osAppSegmentCreate()
607 struct Segment *storageSeg = osGetSegment(app); in osAppSegmentClose() local
624 if (osSegmentSizeGetNext(storageSeg, segDataSize) > (struct Segment*)end) in osAppSegmentClose()
[all …]
DnanohubCommand.c425 struct Segment *storageSeg; in firmwareFinish() local
436 storageSeg = osGetSegment(app); in firmwareFinish()
440 if (storageSeg->state != SEG_ST_RESERVED || in firmwareFinish()