Searched refs:allocSize (Results 1 – 8 of 8) sorted by relevance
1213 …size_t allocSize = sizeof(struct UsbHostRequest) + (sizeof(struct UsbIsoPacketDesc) * (size_t)isoP… in AdapterAllocRequest() local1217 memBuf = RawUsbMemCalloc(allocSize); in AdapterAllocRequest()1223 memBuf = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, MAP_SHARED, handle->fd, 0); in AdapterAllocRequest()1231 request->buffer = (unsigned char *)memBuf + allocSize - len; in AdapterAllocRequest()1251 …size_t allocSize = sizeof(struct UsbHostRequest) + (sizeof(struct UsbIsoPacketDesc) * (size_t)isoP… in AdapterAllocRequestByMmap() local1253 request = RawUsbMemCalloc(allocSize); in AdapterAllocRequestByMmap()1314 size_t allocSize = sizeof(struct UsbHostRequest) + in AdapterFreeRequest() local1316 if (munmap((void *)request, allocSize) != 0) { in AdapterFreeRequest()
1297 size_t allocSize; in AdapterAllocRequest() local1300 …allocSize = sizeof(struct UsbHostRequest) + (sizeof(struct UsbIsoPacketDesc) * (size_t)isoPackets)… in AdapterAllocRequest()1302 request = RawUsbMemCalloc(allocSize); in AdapterAllocRequest()1308 request->buffer = (unsigned char *)request + allocSize - length; in AdapterAllocRequest()
394 …size_t allocSize = sizeof(UsbHostRequest) + (sizeof(UsbIsoPacketDesc) * static_cast<size_t>(isoPac… in FuncAdapterAllocRequest() local396 memBuf = RawUsbMemCalloc(allocSize); in FuncAdapterAllocRequest()404 request->buffer = static_cast<unsigned char *>(memBuf) + allocSize - len; in FuncAdapterAllocRequest()
763 uint32_t allocSize = expectedSize; in EcmCtrlIrq() local764 ecm->notificationBuffer = OsalMemCalloc(allocSize); in EcmCtrlIrq()768 ecm->nbSize = allocSize; in EcmCtrlIrq()
242 unsigned int expectedSize, copySize, allocSize; in AcmNotifyReqCallback() local256 allocSize = expectedSize; in AcmNotifyReqCallback()257 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmNotifyReqCallback()261 acm->nbSize = allocSize; in AcmNotifyReqCallback()
159 uint32_t allocSize = expectedSize; in AcmCtrlIrq() local160 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmCtrlIrq()164 acm->nbSize = allocSize; in AcmCtrlIrq()
1040 unsigned int allocSize = expectedSize; in AcmNotificationBufferProcess() local1041 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmNotificationBufferProcess()1045 acm->nbSize = allocSize; in AcmNotificationBufferProcess()
1270 unsigned int allocSize = expectedSize; in AcmCtrlIrqCheckSize() local1271 acm->notificationBuffer = OsalMemCalloc(allocSize); in AcmCtrlIrqCheckSize()1275 acm->nbSize = allocSize; in AcmCtrlIrqCheckSize()