Lines Matching full:vmid
44 * Return the VMID entry associated with the UUID
60 * lpfc_put_vmid_in_hashtable - put the VMID in the hash table
63 * @vmp: Pointer to a VMID entry representing a VM sending I/O
65 * This routine will insert the newly acquired VMID entity in the hash table.
77 * @vmid: uuid associated with the VE
78 * @len: length of the VMID string
81 int lpfc_vmid_hash_fn(const char *vmid, int len)
89 c = *vmid++;
101 * lpfc_vmid_update_entry - update the vmid entry in the hash table
104 * @vmp: Pointer to a VMID entry representing a VM sending I/O
105 * @tag: VMID tag
130 struct lpfc_vmid *vmid)
136 vmid->un.cs_ctl_vmid = lpfc_vmid_get_cs_ctl(vport);
138 hash = lpfc_vmid_hash_fn(vmid->host_vmid, vmid->vmid_len);
141 vmid->host_vmid);
143 vmid->un.cs_ctl_vmid = pvmid->un.cs_ctl_vmid;
145 vmid->un.cs_ctl_vmid = lpfc_vmid_get_cs_ctl(vport);
150 * lpfc_vmid_get_appid - get the VMID associated with the UUID
155 * @tag: VMID tag
173 /* search if the UUID has already been mapped to the VMID */
177 /* search for the VMID in the table */
189 /* Hence VMID tag will not be added for this I/O */
193 /* The VMID was not found in the hashtable. At this point, */
197 /* type of the VMID indicated */
215 vmp = vport->vmid + i;
230 /* Add the vmid and register */
241 /* if type priority tag, get next available VMID */
246 /* the last access time stamp only if VMID is enabled */
289 * lpfc_reinit_vmid - reinitializes the vmid data structure
292 * This routine reinitializes the vmid post flogi completion
309 vmp = &vport->vmid[i];