Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_host.c84 struct vmci_host_dev { struct
121 struct vmci_host_dev *vmci_host_dev; in vmci_host_open() local
123 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() local
142 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 …]