search for: vmci_hash_get

Displaying 10 results from an estimated 10 matches for "vmci_hash_get".

2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...I_HANDLE_TO_CONTEXT_ID(handle)) || + (VMCI_INVALID_ID == + VMCI_HANDLE_TO_CONTEXT_ID(cur->handle)))) { + cur->refCount++; + break; + } + } + + return cur; +} + +struct vmci_hash_entry *vmci_hash_get(struct vmci_hash_table *table, + struct vmci_handle handle) +{ + struct vmci_hash_entry *entry; + + if (VMCI_HANDLE_EQUAL(handle, VMCI_INVALID_HANDLE)) + return NULL; + + ASSERT(table); + + spin_lock_bh(&table->lock);...
2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...I_HANDLE_TO_CONTEXT_ID(handle)) || + (VMCI_INVALID_ID == + VMCI_HANDLE_TO_CONTEXT_ID(cur->handle)))) { + cur->refCount++; + break; + } + } + + return cur; +} + +struct vmci_hash_entry *vmci_hash_get(struct vmci_hash_table *table, + struct vmci_handle handle) +{ + struct vmci_hash_entry *entry; + + if (VMCI_HANDLE_EQUAL(handle, VMCI_INVALID_HANDLE)) + return NULL; + + ASSERT(table); + + spin_lock_bh(&table->lock);...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
.../* resource could be freed by now. */ +} + +struct vmci_resource *vmci_resource_get(struct vmci_handle resourceHandle, + enum vmci_resource_type resourceType) +{ + struct vmci_resource *resource; + struct vmci_hash_entry *entry = + vmci_hash_get(resourceTable, resourceHandle); + + if (entry == NULL) + return NULL; + + resource = container_of(entry, struct vmci_resource, hashEntry); + if (resourceType == VMCI_RESOURCE_TYPE_ANY || + resource->type == resourceType) + return resource;...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
.../* resource could be freed by now. */ +} + +struct vmci_resource *vmci_resource_get(struct vmci_handle resourceHandle, + enum vmci_resource_type resourceType) +{ + struct vmci_resource *resource; + struct vmci_hash_entry *entry = + vmci_hash_get(resourceTable, resourceHandle); + + if (entry == NULL) + return NULL; + + resource = container_of(entry, struct vmci_resource, hashEntry); + if (resourceType == VMCI_RESOURCE_TYPE_ANY || + resource->type == resourceType) + return resource;...
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
Second revision of the VMware VMCI RFC patchset. It incorperates fixes for all the feedback about the comment blocks and style and now passes checkpatch with 0 errors and 0 warnings. Thanks to all who have reviewed the code thus far. * * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
Second revision of the VMware VMCI RFC patchset. It incorperates fixes for all the feedback about the comment blocks and style and now passes checkpatch with 0 errors and 0 warnings. Thanks to all who have reviewed the code thus far. * * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.