sm_memcpy
sm_memcpy(void *dst, const void *src, bit32 count);
sm_memcpy(pModeSense, &AllPages, lenRead);
sm_memcpy(pModeSense, &Control, lenRead);
sm_memcpy(pModeSense, &RWErrorRecovery, lenRead);
sm_memcpy(pModeSense, &Caching, lenRead);
sm_memcpy(pModeSense, &InfoExceptionCtrl, lenRead);
sm_memcpy(pVirtAddr, dataBuffer, MIN(allocationLen, 8));
sm_memcpy(pVirtAddr, dataBuffer, MIN(allocationLen, readCapacityLen));
sm_memcpy(smScsiRequest->sglVirtualAddr, dataBuffer, MIN(allocationLen, reportLunLen));
sm_memcpy(pLogPage, &AllLogPages, lenRead);
sm_memcpy(pLogPage, &AllLogPages, lenRead);
sm_memcpy(pLogPage, &AllLogPages, lenRead);
sm_memcpy(smSMPRequestBody->smpPayload, &smSMPFrameHeader, 4);
sm_memcpy((smSMPRequestBody->smpPayload)+4, pSmpBody, smpBodySize);
sm_memcpy(pLogPage, &AllLogPages, lenRead);
sm_memcpy(smSMPRequestBody->smpPayload, &smSMPFrameHeader, 4);
sm_memcpy((smSMPRequestBody->smpPayload)+4, pSmpBody, smpBodySize);
sm_memcpy(pSerialNumber, MediaSerialNumber, 4);
sm_memcpy(&MediaSerialNumber[4], (void *)pSATAIdData->currentMediaSerialNumber, 60);
sm_memcpy(pSerialNumber, MediaSerialNumber, MIN(allocationLen, 64));
sm_memcpy(satIOContext->LBA, LBA, 8);
sm_memcpy(satOrgIOContext->LBA, LBA, 8);
sm_memcpy(satNewIOContext->pScsiCmnd->cdb, scsiCmnd->cdb, 16);
sm_memcpy(&temp_satMaxLBA, &pSatDevData->satMaxLBA, sizeof(temp_satMaxLBA));
sm_memcpy(sglVirtualAddr, sglSplitVirtualAddr, (satIOContext->EsglLen) * sizeof(agsaSgl_t));
sm_memcpy(&pInquiry[60], pSimpleData, MIN((len - 60), sizeof(satSimpleSATAIdentifyData_t)));
sm_memcpy(&pInquiry[60], pSimpleData, sizeof(satSimpleSATAIdentifyData_t));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pModeSense, &AllPages, lenRead);
sm_memcpy(pModeSense, &Control, lenRead);
sm_memcpy(pModeSense, &RWErrorRecovery, lenRead);
sm_memcpy(pModeSense, &Caching, 4);
sm_memcpy(pModeSense, &Caching, lenRead);
sm_memcpy(pModeSense, &InfoExceptionCtrl, lenRead);
sm_memcpy(smScsiRequest->sglVirtualAddr, dataBuffer, MIN(allocationLen, lenNeeded));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(pDataBuffer, pSense, MIN(SENSE_DATA_LENGTH, allocationLen));
sm_memcpy(satNewIOContext->pScsiCmnd, scsiCmnd, sizeof(smIniScsiCmnd_t));
sm_memcpy(pLogPage, LogPage, MIN(allocationLen, SELFTEST_RESULTS_LOG_PAGE_LENGTH));
sm_memcpy(satOrgIOContext->pSmSenseData->senseData, satIntIo->satIntDmaMem.virtPtr, SENSE_DATA_LENGTH);
sm_memcpy(pLogPage, LogPage, MIN(allocationLen, SELFTEST_RESULTS_LOG_PAGE_LENGTH));
sm_memcpy(pLogPage, LogPage, MIN(allocationLen, INFORMATION_EXCEPTIONS_LOG_PAGE_LENGTH));
sm_memcpy(satOrgIOContext->pSmSenseData->senseData, satIntIo->satIntDmaMem.virtPtr, dataLength);
sm_memcpy(pMediaSerialNumber, MediaSerialNumber, MIN(allocationLen, ZERO_MEDIA_SERIAL_NUMBER_LENGTH));
sm_memcpy(smOrgScsiRequest->sglVirtualAddr, dataBuffer, MIN(allocationLen, lenNeeded));
sm_memcpy(agSATAReq->scsiCDB, smScsiRequest->scsiCmnd.cdb, 16);
sm_memcpy(&agSATAReq->encrypt, &superRequest->Encrypt, sizeof(agsaEncrypt_t));