Searched refs:alloc_msg (Results 1 – 2 of 2) sorted by relevance
524 struct vmci_queue_pair_alloc_msg *alloc_msg; in vmci_queue_pair_alloc_hypercall() local533 msg_size = sizeof(*alloc_msg) + (size_t)entry->num_ppns * sizeof(PPN); in vmci_queue_pair_alloc_hypercall()534 alloc_msg = vmci_alloc_kernel_mem(msg_size, VMCI_MEMORY_NORMAL); in vmci_queue_pair_alloc_hypercall()535 if (!alloc_msg) in vmci_queue_pair_alloc_hypercall()538 alloc_msg->hdr.dst = VMCI_MAKE_HANDLE(VMCI_HYPERVISOR_CONTEXT_ID, in vmci_queue_pair_alloc_hypercall()540 alloc_msg->hdr.src = VMCI_ANON_SRC_HANDLE; in vmci_queue_pair_alloc_hypercall()541 alloc_msg->hdr.payload_size = msg_size - VMCI_DG_HEADERSIZE; in vmci_queue_pair_alloc_hypercall()542 alloc_msg->handle = entry->qp.handle; in vmci_queue_pair_alloc_hypercall()543 alloc_msg->peer = entry->qp.peer; in vmci_queue_pair_alloc_hypercall()544 alloc_msg->flags = entry->qp.flags; in vmci_queue_pair_alloc_hypercall()[all …]
1252 static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, in alloc_msg() function1309 inb = alloc_msg(dev, in_size, gfp); in cmd_exec_helper()