Lines Matching defs:Entry
395 IoLogEntryStart Entry;
399 Entry.u32Type = VDIOLOG_EVENT_START;
400 Entry.u8AsyncIo = fAsync ? 1 : 0;
401 Entry.u32ReqType = enmTxDir;
402 Entry.u64Id = RT_H2LE_U64(pIoLogEntry->idStart);
403 Entry.Io.u64Off = RT_H2LE_U64(off);
404 Entry.Io.u64IoSize = RT_H2LE_U64(cbIo);
407 rc = RTFileWriteAt(pIoLogger->hFile, pIoLogger->offWriteNext, &Entry, sizeof(Entry), NULL);
410 pIoLogger->offWriteNext += sizeof(Entry);
419 pIoLogger->offWriteNext -= sizeof(Entry);
468 IoLogEntryStart Entry;
472 Entry.u32Type = VDIOLOG_EVENT_START;
473 Entry.u8AsyncIo = fAsync ? 1 : 0;
474 Entry.u32ReqType = VDDBGIOLOGREQ_DISCARD;
475 Entry.u64Id = RT_H2LE_U64(pIoLogEntry->idStart);
476 Entry.Discard.cRanges = RT_H2LE_U32(cRanges);
479 rc = RTFileWriteAt(pIoLogger->hFile, pIoLogger->offWriteNext, &Entry, sizeof(Entry), NULL);
482 pIoLogger->offWriteNext += sizeof(Entry);
498 pIoLogger->offWriteNext -= sizeof(Entry);
537 IoLogEntryComplete Entry;
539 Entry.u32Type = VDIOLOG_EVENT_COMPLETE;
540 Entry.u64Id = RT_H2LE_U64(pIoLogEntry->idStart);
541 Entry.msDuration = RTTimeProgramMilliTS() - RT_H2LE_U64(pIoLogEntry->tsStart);
542 Entry.i32Rc = (int32_t)RT_H2LE_U32((uint32_t)rcReq);
543 Entry.u64IoBuffer = RT_H2LE_U64(pIoLogEntry->cbIo);
546 rc = RTFileWriteAt(pIoLogger->hFile, pIoLogger->offWriteNext, &Entry, sizeof(Entry), NULL);
549 pIoLogger->offWriteNext += sizeof(Entry);
558 pIoLogger->offWriteNext -= sizeof(Entry);
664 IoLogEntryStart Entry;
665 rc = RTFileReadAt(pIoLogger->hFile, pIoLogger->offReadNext, &Entry, sizeof(Entry), NULL);
668 *pfAsync = RT_BOOL(Entry.u8AsyncIo);
669 *pidEvent = RT_LE2H_U64(Entry.u64Id);
670 *poff = RT_LE2H_U64(Entry.Io.u64Off);
671 *pcbIo = RT_LE2H_U64(Entry.Io.u64IoSize);
680 rc = RTFileReadAt(pIoLogger->hFile, pIoLogger->offReadNext + sizeof(Entry), pvBuf, *pcbIo, NULL);
683 pIoLogger->offReadNext += *pcbIo + sizeof(Entry);
686 pIoLogger->offReadNext += sizeof(Entry);
715 IoLogEntryStart Entry;
716 rc = RTFileReadAt(pIoLogger->hFile, pIoLogger->offReadNext, &Entry, sizeof(Entry), NULL);
722 pIoLogger->offReadNext += sizeof(Entry);
723 *pfAsync = RT_BOOL(Entry.u8AsyncIo);
724 *pidEvent = RT_LE2H_U64(Entry.u64Id);
725 *pcRanges = RT_LE2H_U32(Entry.Discard.cRanges);
747 pIoLogger->offReadNext -= sizeof(Entry);
780 IoLogEntryComplete Entry;
781 rc = RTFileReadAt(pIoLogger->hFile, pIoLogger->offReadNext, &Entry, sizeof(Entry), NULL);
784 *pidEvent = RT_LE2H_U64(Entry.u64Id);
785 *pRc = (int)RT_LE2H_U32((int32_t)Entry.i32Rc);
786 *pmsDuration = RT_LE2H_U64(Entry.msDuration);
787 *pcbIo = RT_LE2H_U64(Entry.u64IoBuffer);
795 rc = RTFileReadAt(pIoLogger->hFile, pIoLogger->offReadNext + sizeof(Entry), pvBuf, *pcbIo, NULL);
798 pIoLogger->offReadNext += *pcbIo + sizeof(Entry);
801 pIoLogger->offReadNext += sizeof(Entry);