Lines Matching defs:Buf
1187 } Buf = {0, 0};
1188 uint32_t cbBuf = sizeof(Buf);
1194 int rc = DRVHostBaseScsiCmd(pThis, abCmd, 6, PDMBLOCKTXDIR_FROM_DEVICE, &Buf, &cbBuf, NULL, 0, 0);
1197 Assert(cbBuf == sizeof(Buf));
1198 Buf.cBlocks = RT_BE2H_U32(Buf.cBlocks);
1199 Buf.cbBlock = RT_BE2H_U32(Buf.cbBlock);
1200 //if (Buf.cbBlock > 2048) /* everyone else is doing this... check if it needed/right.*/
1201 // Buf.cbBlock = 2048;
1202 pThis->cbBlock = Buf.cbBlock;
1204 *pcb = (uint64_t)Buf.cBlocks * Buf.cbBlock;