Home
last modified time | relevance | path

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

/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c1044 struct vmci_qp_alloc_msg *alloc_msg; in qp_alloc_hypercall() local
1051 msg_size = sizeof(*alloc_msg) + in qp_alloc_hypercall()
1053 alloc_msg = kmalloc(msg_size, GFP_KERNEL); in qp_alloc_hypercall()
1054 if (!alloc_msg) in qp_alloc_hypercall()
1057 alloc_msg->hdr.dst = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, in qp_alloc_hypercall()
1059 alloc_msg->hdr.src = VMCI_ANON_SRC_HANDLE; in qp_alloc_hypercall()
1060 alloc_msg->hdr.payload_size = msg_size - VMCI_DG_HEADERSIZE; in qp_alloc_hypercall()
1061 alloc_msg->handle = entry->qp.handle; in qp_alloc_hypercall()
1062 alloc_msg->peer = entry->qp.peer; in qp_alloc_hypercall()
1063 alloc_msg->flags = entry->qp.flags; in qp_alloc_hypercall()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1389 static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, in alloc_msg() function
1453 inb = alloc_msg(dev, in_size, gfp); in cmd_exec()