search for: vmci_hash_exists

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

2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...pin_unlock_bh(&table->lock); + kfree(table); +} + +void vmci_hash_init_entry(struct vmci_hash_entry *entry, + struct vmci_handle handle) +{ + ASSERT(entry); + entry->handle = handle; + entry->refCount = 0; +} + +/* + * Unlocked version of vmci_hash_exists. + * True if handle already in hashtable. false otherwise. + */ +static bool hash_exists_locked(struct vmci_hash_table *table, + struct vmci_handle handle) +{ + struct vmci_hash_entry *entry; + int idx; + + ASSERT(table); + + idx = VMCI_HASHTABLE...
2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
...pin_unlock_bh(&table->lock); + kfree(table); +} + +void vmci_hash_init_entry(struct vmci_hash_entry *entry, + struct vmci_handle handle) +{ + ASSERT(entry); + entry->handle = handle; + entry->refCount = 0; +} + +/* + * Unlocked version of vmci_hash_exists. + * True if handle already in hashtable. false otherwise. + */ +static bool hash_exists_locked(struct vmci_hash_table *table, + struct vmci_handle handle) +{ + struct vmci_hash_entry *entry; + int idx; + + ASSERT(table); + + idx = VMCI_HASHTABLE...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...esourceID++; + if (unlikely(resourceID == VMCI_INVALID_ID)) { + /* Skip the reserved rids. */ + + resourceID = VMCI_RESERVED_RESOURCE_ID_MAX + 1; + } + spin_unlock(&resourceIdLock); + foundRID = !vmci_hash_exists(resourceTable, handle); + } while (!foundRID && resourceID != oldRID); + + return (unlikely(!foundRID)) ? VMCI_INVALID_ID : currentRID; +} + +int vmci_resource_add(struct vmci_resource *resource, + enum vmci_resource_type resourceType, + s...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...esourceID++; + if (unlikely(resourceID == VMCI_INVALID_ID)) { + /* Skip the reserved rids. */ + + resourceID = VMCI_RESERVED_RESOURCE_ID_MAX + 1; + } + spin_unlock(&resourceIdLock); + foundRID = !vmci_hash_exists(resourceTable, handle); + } while (!foundRID && resourceID != oldRID); + + return (unlikely(!foundRID)) ? VMCI_INVALID_ID : currentRID; +} + +int vmci_resource_add(struct vmci_resource *resource, + enum vmci_resource_type resourceType, + s...
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.