Lines Matching refs:aReply
243 uint8_t aReply[8];
244 memset(aReply, 0, sizeof(aReply));
251 vscsiH2BEU32(aReply, UINT32_C(0xffffffff));
253 vscsiH2BEU32(aReply, pVScsiLunSbc->cSectors - 1);
254 vscsiH2BEU32(&aReply[4], pVScsiLunSbc->cbSector);
255 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, aReply, sizeof(aReply));
262 uint8_t aReply[24];
266 memset(aReply, 0, sizeof(aReply));
267 aReply[0] = 4; /* Reply length 4. */
268 aReply[1] = 0; /* Default media type. */
269 aReply[2] = RT_BIT(4); /* Caching supported. */
270 aReply[3] = 0; /* Block descriptor length. */
273 aReply[2] |= RT_BIT(7); /* Set write protect bit */
275 pu8ReplyPos = aReply + 4;
290 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, aReply, sizeof(aReply));
404 uint8_t aReply[4];
407 memset(aReply, 0, sizeof(aReply));
409 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, aReply, sizeof(aReply));
439 uint8_t aReply[4];
441 aReply[0] = 0;
442 aReply[1] = 0;
443 aReply[2] = 0;
444 aReply[3] = 0;
445 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, aReply, sizeof(aReply));
461 uint8_t aReply[32];
463 memset(aReply, 0, sizeof(aReply));
464 vscsiH2BEU64(aReply, pVScsiLunSbc->cSectors - 1);
465 vscsiH2BEU32(&aReply[8], 512);
467 aReply[14] = 0x80; /* LPME enabled */
470 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, aReply, sizeof(aReply));