search for: vmci_hash_remove

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

2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...SERT(idx < table->size); + + /* New entry is added to top/front of hash bucket. */ + entry->refCount++; + entry->next = table->entries[idx]; + table->entries[idx] = entry; + spin_unlock_bh(&table->lock); + + return VMCI_SUCCESS; +} + +int vmci_hash_remove(struct vmci_hash_table *table, + struct vmci_hash_entry *entry) +{ + int result; + + ASSERT(table); + ASSERT(entry); + + spin_lock_bh(&table->lock); + + /* First unlink the entry. */ + result = hash_unlink(table, entry); + if (resu...
2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...SERT(idx < table->size); + + /* New entry is added to top/front of hash bucket. */ + entry->refCount++; + entry->next = table->entries[idx]; + table->entries[idx] = entry; + spin_unlock_bh(&table->lock); + + return VMCI_SUCCESS; +} + +int vmci_hash_remove(struct vmci_hash_table *table, + struct vmci_hash_entry *entry) +{ + int result; + + ASSERT(table); + ASSERT(entry); + + spin_lock_bh(&table->lock); + + /* First unlink the entry. */ + result = hash_unlink(table, entry); + if (resu...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...esourceHandle, + enum vmci_resource_type resourceType) +{ + struct vmci_resource *resource = + vmci_resource_get(resourceHandle, resourceType); + + if (resource == NULL) + return; + + /* Remove resource from hashtable. */ + vmci_hash_remove(resourceTable, &resource->hashEntry); + + vmci_resource_release(resource); + /* resource could be freed by now. */ +} + +struct vmci_resource *vmci_resource_get(struct vmci_handle resourceHandle, + enum vmci_resource_type resourceType) +{ +...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...esourceHandle, + enum vmci_resource_type resourceType) +{ + struct vmci_resource *resource = + vmci_resource_get(resourceHandle, resourceType); + + if (resource == NULL) + return; + + /* Remove resource from hashtable. */ + vmci_hash_remove(resourceTable, &resource->hashEntry); + + vmci_resource_release(resource); + /* resource could be freed by now. */ +} + +struct vmci_resource *vmci_resource_get(struct vmci_handle resourceHandle, + enum vmci_resource_type resourceType) +{ +...
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.