Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dheap.h28 void* heapAlloc(uint32_t sz);
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c305 mDownloadState = heapAlloc(sizeof(struct DownloadState)); in doStartFirmwareUpload()
943 packet = heapAlloc(data_size + hdr_size); in forwardPacket()
1126 resp = heapAlloc(sizeof(*resp)); in halSendLegacyMgmtResponse()
1172 resp = heapAlloc(sizeof(*resp)); in halLegacyQueryApps()
1184 hdr = heapAlloc(sizeof(*hdr)); in halLegacyQueryApps()
1202 if (!(resp = heapAlloc(sizeof(*resp) + NANOHUB_RSA_KEY_CHUNK_LEN))) in halLegacyQueryRsaKeys()
1228 if (!(resp = heapAlloc(sizeof(*resp)))) in halLegacyStartUpload()
1247 if (!(cookie = heapAlloc(sizeof(*cookie)))) in halLegacyContUpload()
1277 if (!(resp = heapAlloc(sizeof(*resp)))) in halLegacyFinishUpload()
1339 resp = heapAlloc(sizeof(*resp)); in halSendAppMgmtResponse()
[all …]
Dslab.c42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz); in slabAllocatorNew()
DsimpleQ.c57 sq = heapAlloc(sz); in simpleQueueAlloc()
Dspi.c291 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); in spiMasterRequest()
355 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); in spiSlaveRequest()
DeventQ.c65 struct EvtQueue *q = heapAlloc(sizeof(struct EvtQueue)); in evtQueueAlloc()
Dheap.c115 void* heapAlloc(uint32_t sz) in heapAlloc() function
Dnanohub_chre.c167 *retValP = (uintptr_t)heapAlloc(size); in osChreApiHeapAlloc()
215 hostMsg = heapAlloc(sizeof(*hostMsg) + messageSize); in osChreSendMessageToHost()
DappSec.c143 struct AppSecState *state = heapAlloc(sizeof(struct AppSecState)); in appSecInit()
DhostIntf.c747 mActiveSensorTable = heapAlloc(numSensors * sizeof(struct ActiveSensor)); in initSensors()
1115 resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot()
1131 respLegacy = heapAlloc(sizeof(*respLegacy)); in hostIntfNotifyReboot()
DosApi.c233 *retValP = (uintptr_t)heapAlloc(sz); in osExpApiHeapAlloc()
Dseos.c1069 uint32_t *newList = heapAlloc(sizeof(uint32_t[newSz])); /* grow by 50% */ in osInternalEvtHandle()
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad()
/device/google/contexthub/firmware/os/platform/stm32/
Dplatform.c141 userData = heapAlloc(sizeof(struct HostIntfDataBuffer)); in platLogAllocUserData()
304 mEarlyLogBuffer = heapAlloc(EARLY_LOG_BUF_SIZE); in platInitialize()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c428 struct AlsCalibrationData *data = heapAlloc(sizeof(struct AlsCalibrationData)); in sendCalibrationResultAls()
448 struct ProxCalibrationData *data = heapAlloc(sizeof(struct ProxCalibrationData)); in sendCalibrationResultProx()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c285 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData)); in sendCalibrationResult()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c292 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData)); in sendCalibrationResult()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c544 struct TestResultData *data = heapAlloc(sizeof(struct TestResultData)); in sendTestResult()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c1181 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData));
1433 struct TestResultData *data = heapAlloc(sizeof(struct TestResultData));
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c2722 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData));
2880 struct TestResultData *data = heapAlloc(sizeof(struct TestResultData));
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1520 data = heapAlloc(sizeof(struct LSM6DSMSelfTestResultPkt)); in lsm6dsm_sendSelfTestResult()
1550 data = heapAlloc(sizeof(struct LSM6DSMCalibrationResultPkt)); in lsm6dsm_sendCalibrationResult()