Home
last modified time | relevance | path

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

/freebsd/sys/dev/vmware/vmci/
H A Dvmci_queue_pair.c524 struct vmci_queue_pair_alloc_msg *alloc_msg; in vmci_queue_pair_alloc_hypercall() local
533 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 …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c1252 static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, in alloc_msg() function
1309 inb = alloc_msg(dev, in_size, gfp); in cmd_exec_helper()