Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hv/
Dhv_balloon.c1430 struct dm_version_request version_req; in version_resp() local
1452 memset(&version_req, 0, sizeof(struct dm_version_request)); in version_resp()
1453 version_req.hdr.type = DM_VERSION_REQUEST; in version_resp()
1454 version_req.hdr.size = sizeof(struct dm_version_request); in version_resp()
1455 version_req.hdr.trans_id = atomic_inc_return(&trans_id); in version_resp()
1456 version_req.version.version = dm->next_version; in version_resp()
1457 dm->version = version_req.version.version; in version_resp()
1463 switch (version_req.version.version) { in version_resp()
1466 version_req.is_last_attempt = 0; in version_resp()
1470 version_req.is_last_attempt = 1; in version_resp()
[all …]
/linux-6.1.9/drivers/pci/controller/
Dpci-hyperv.c3030 struct pci_version_request *version_req; in hv_pci_protocol_negotiation() local
3042 pkt = kzalloc(sizeof(*pkt) + sizeof(*version_req), GFP_KERNEL); in hv_pci_protocol_negotiation()
3049 version_req = (struct pci_version_request *)&pkt->message; in hv_pci_protocol_negotiation()
3050 version_req->message_type.type = PCI_QUERY_PROTOCOL_VERSION; in hv_pci_protocol_negotiation()
3053 version_req->protocol_version = version[i]; in hv_pci_protocol_negotiation()
3054 ret = vmbus_sendpacket(hdev->channel, version_req, in hv_pci_protocol_negotiation()