Searched refs:vmci_host_dev (Results 1 – 1 of 1) sorted by relevance
84 struct vmci_host_dev { struct121 struct vmci_host_dev *vmci_host_dev; in vmci_host_open() local123 vmci_host_dev = kzalloc(sizeof(struct vmci_host_dev), GFP_KERNEL); in vmci_host_open()124 if (vmci_host_dev == NULL) in vmci_host_open()127 vmci_host_dev->ct_type = VMCIOBJ_NOT_SET; in vmci_host_open()128 mutex_init(&vmci_host_dev->lock); in vmci_host_open()129 filp->private_data = vmci_host_dev; in vmci_host_open()140 struct vmci_host_dev *vmci_host_dev = filp->private_data; in vmci_host_close() local142 if (vmci_host_dev->ct_type == VMCIOBJ_CONTEXT) { in vmci_host_close()143 vmci_ctx_destroy(vmci_host_dev->context); in vmci_host_close()[all …]