Searched refs:version_req (Results 1 – 2 of 2) sorted by relevance
1402 struct dm_version_request version_req; in version_resp() local1424 memset(&version_req, 0, sizeof(struct dm_version_request)); in version_resp()1425 version_req.hdr.type = DM_VERSION_REQUEST; in version_resp()1426 version_req.hdr.size = sizeof(struct dm_version_request); in version_resp()1427 version_req.hdr.trans_id = atomic_inc_return(&trans_id); in version_resp()1428 version_req.version.version = dm->next_version; in version_resp()1429 dm->version = version_req.version.version; in version_resp()1435 switch (version_req.version.version) { in version_resp()1438 version_req.is_last_attempt = 0; in version_resp()1442 version_req.is_last_attempt = 1; in version_resp()[all …]
2606 struct pci_version_request *version_req; in hv_pci_protocol_negotiation() local2618 pkt = kzalloc(sizeof(*pkt) + sizeof(*version_req), GFP_KERNEL); in hv_pci_protocol_negotiation()2625 version_req = (struct pci_version_request *)&pkt->message; in hv_pci_protocol_negotiation()2626 version_req->message_type.type = PCI_QUERY_PROTOCOL_VERSION; in hv_pci_protocol_negotiation()2629 version_req->protocol_version = version[i]; in hv_pci_protocol_negotiation()2630 ret = vmbus_sendpacket(hdev->channel, version_req, in hv_pci_protocol_negotiation()