Searched refs:alloc_msg (Results 1 – 2 of 2) sorted by relevance
947 struct vmci_qp_alloc_msg *alloc_msg; in qp_alloc_hypercall() local956 msg_size = sizeof(*alloc_msg) + in qp_alloc_hypercall()958 alloc_msg = kmalloc(msg_size, GFP_KERNEL); in qp_alloc_hypercall()959 if (!alloc_msg) in qp_alloc_hypercall()962 alloc_msg->hdr.dst = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, in qp_alloc_hypercall()964 alloc_msg->hdr.src = VMCI_ANON_SRC_HANDLE; in qp_alloc_hypercall()965 alloc_msg->hdr.payload_size = msg_size - VMCI_DG_HEADERSIZE; in qp_alloc_hypercall()966 alloc_msg->handle = entry->qp.handle; in qp_alloc_hypercall()967 alloc_msg->peer = entry->qp.peer; in qp_alloc_hypercall()968 alloc_msg->flags = entry->qp.flags; in qp_alloc_hypercall()[all …]
1745 static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, in alloc_msg() function1813 inb = alloc_msg(dev, in_size, gfp); in cmd_exec()