Home
last modified time | relevance | path

Searched refs:version_req (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/hv/
Dhv_balloon.c1446 struct dm_version_request version_req; in version_resp() local
1468 memset(&version_req, 0, sizeof(struct dm_version_request)); in version_resp()
1469 version_req.hdr.type = DM_VERSION_REQUEST; in version_resp()
1470 version_req.hdr.size = sizeof(struct dm_version_request); in version_resp()
1471 version_req.hdr.trans_id = atomic_inc_return(&trans_id); in version_resp()
1472 version_req.version.version = dm->next_version; in version_resp()
1473 dm->version = version_req.version.version; in version_resp()
1479 switch (version_req.version.version) { in version_resp()
1482 version_req.is_last_attempt = 0; in version_resp()
1486 version_req.is_last_attempt = 1; in version_resp()
[all …]
/Linux-v6.6/drivers/pci/controller/
Dpci-hyperv.c3108 struct pci_version_request *version_req; in hv_pci_protocol_negotiation() local
3120 pkt = kzalloc(sizeof(*pkt) + sizeof(*version_req), GFP_KERNEL); in hv_pci_protocol_negotiation()
3127 version_req = (struct pci_version_request *)&pkt->message; in hv_pci_protocol_negotiation()
3128 version_req->message_type.type = PCI_QUERY_PROTOCOL_VERSION; in hv_pci_protocol_negotiation()
3131 version_req->protocol_version = version[i]; in hv_pci_protocol_negotiation()
3132 ret = vmbus_sendpacket(hdev->channel, version_req, in hv_pci_protocol_negotiation()