Lines Matching defs:desc
659 struct vmpacket_descriptor desc;
674 desc.Type = Type; /* VmbusPacketTypeDataInBand; */
675 desc.Flags = Flags; /* VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED; */
677 desc.DataOffset8 = sizeof(struct vmpacket_descriptor) >> 3;
678 desc.Length8 = (u16)(packetLenAligned >> 3);
679 desc.TransactionId = RequestId;
682 sg_set_buf(&bufferList[0], &desc, sizeof(struct vmpacket_descriptor));
707 struct VMBUS_CHANNEL_PACKET_PAGE_BUFFER desc;
732 desc.Type = VmbusPacketTypeDataUsingGpaDirect;
733 desc.Flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED;
734 desc.DataOffset8 = descSize >> 3; /* in 8-bytes grandularity */
735 desc.Length8 = (u16)(packetLenAligned >> 3);
736 desc.TransactionId = RequestId;
737 desc.RangeCount = PageCount;
740 desc.Range[i].Length = PageBuffers[i].Length;
741 desc.Range[i].Offset = PageBuffers[i].Offset;
742 desc.Range[i].Pfn = PageBuffers[i].Pfn;
746 sg_set_buf(&bufferList[0], &desc, descSize);
768 struct VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER desc;
798 desc.Type = VmbusPacketTypeDataUsingGpaDirect;
799 desc.Flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED;
800 desc.DataOffset8 = descSize >> 3; /* in 8-bytes grandularity */
801 desc.Length8 = (u16)(packetLenAligned >> 3);
802 desc.TransactionId = RequestId;
803 desc.RangeCount = 1;
805 desc.Range.Length = MultiPageBuffer->Length;
806 desc.Range.Offset = MultiPageBuffer->Offset;
808 memcpy(desc.Range.PfnArray, MultiPageBuffer->PfnArray,
812 sg_set_buf(&bufferList[0], &desc, descSize);
842 struct vmpacket_descriptor desc;
853 ret = RingBufferPeek(&Channel->Inbound, &desc,
864 packetLen = desc.Length8 << 3;
865 userLen = packetLen - (desc.DataOffset8 << 3);
870 Channel, Channel->OfferMsg.ChildRelId, desc.Type,
871 desc.Flags, desc.TransactionId, packetLen, userLen);
883 *RequestId = desc.TransactionId;
887 (desc.DataOffset8 << 3));
902 struct vmpacket_descriptor desc;
913 ret = RingBufferPeek(&Channel->Inbound, &desc,
924 packetLen = desc.Length8 << 3;
925 userLen = packetLen - (desc.DataOffset8 << 3);
929 Channel, Channel->OfferMsg.ChildRelId, desc.Type,
930 desc.Flags, desc.TransactionId, packetLen, userLen);
942 *RequestId = desc.TransactionId;