Home
last modified time | relevance | path

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

/drivers/misc/vmw_vmci/
Dvmci_host.c92 struct vmci_host_dev { struct
124 struct vmci_host_dev *vmci_host_dev; in vmci_host_open() local
126 vmci_host_dev = kzalloc(sizeof(struct vmci_host_dev), GFP_KERNEL); in vmci_host_open()
127 if (vmci_host_dev == NULL) in vmci_host_open()
130 vmci_host_dev->ct_type = VMCIOBJ_NOT_SET; in vmci_host_open()
131 mutex_init(&vmci_host_dev->lock); in vmci_host_open()
132 filp->private_data = vmci_host_dev; in vmci_host_open()
143 struct vmci_host_dev *vmci_host_dev = filp->private_data; in vmci_host_close() local
145 if (vmci_host_dev->ct_type == VMCIOBJ_CONTEXT) { in vmci_host_close()
146 vmci_ctx_destroy(vmci_host_dev->context); in vmci_host_close()
[all …]