Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_vmid.c50 struct lpfc_vmid *vmp; in lpfc_get_vmid_from_hashtable() local
52 hash_for_each_possible(vport->hash_table, vmp, hnode, hash) { in lpfc_get_vmid_from_hashtable()
53 if (memcmp(&vmp->host_vmid[0], buf, 16) == 0) in lpfc_get_vmid_from_hashtable()
54 return vmp; in lpfc_get_vmid_from_hashtable()
70 struct lpfc_vmid *vmp) in lpfc_put_vmid_in_hashtable() argument
72 hash_add(vport->hash_table, &vmp->hnode, hash); in lpfc_put_vmid_in_hashtable()
109 struct lpfc_vmid *vmp, in lpfc_vmid_update_entry() argument
115 tag->cs_ctl_vmid = vmp->un.cs_ctl_vmid; in lpfc_vmid_update_entry()
117 tag->app_id = vmp->un.app_id; in lpfc_vmid_update_entry()
120 vmp->io_wr_cnt++; in lpfc_vmid_update_entry()
[all …]
Dlpfc_ct.c3585 struct lpfc_vmid *vmp, *cur; in lpfc_cmpl_ct_cmd_vmid() local
3628 vmp = lpfc_get_vmid_from_hashtable(vport, hash, in lpfc_cmpl_ct_cmd_vmid()
3630 if (vmp) { in lpfc_cmpl_ct_cmd_vmid()
3632 vmp->un.app_id = be32_to_cpu(app->app_id); in lpfc_cmpl_ct_cmd_vmid()
3633 vmp->flag |= LPFC_VMID_REGISTERED; in lpfc_cmpl_ct_cmd_vmid()
3634 vmp->flag &= ~LPFC_VMID_REQ_REGISTER; in lpfc_cmpl_ct_cmd_vmid()
3656 vmp = &vport->vmid[i]; in lpfc_cmpl_ct_cmd_vmid()
3657 if (vmp->flag != LPFC_VMID_SLOT_FREE) in lpfc_cmpl_ct_cmd_vmid()
3658 memset(vmp, 0, sizeof(struct lpfc_vmid)); in lpfc_cmpl_ct_cmd_vmid()
Dlpfc_hbadisc.c297 struct lpfc_vmid *vmp; in lpfc_check_inactive_vmid_one() local
305 hash_for_each(vport->hash_table, bucket, vmp, hnode) { in lpfc_check_inactive_vmid_one()
307 if (vmp->flag & LPFC_VMID_REGISTERED) { in lpfc_check_inactive_vmid_one()
312 lta = per_cpu_ptr(vmp->last_io_time, cpu); in lpfc_check_inactive_vmid_one()
327 vmp->flag = LPFC_VMID_DE_REGISTER; in lpfc_check_inactive_vmid_one()
330 r = lpfc_vmid_uvem(vport, vmp, false); in lpfc_check_inactive_vmid_one()
334 vmp); in lpfc_check_inactive_vmid_one()
340 struct lpfc_vmid *ht = vmp; in lpfc_check_inactive_vmid_one()
Dlpfc.h347 struct lpfc_vmid *vmp; member
Dlpfc_els.c12363 vmid_context->vmp = vmid; in lpfc_vmid_uvem()
12438 vmid = vmid_context->vmp; in lpfc_cmpl_els_uvem()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c446 void kvm_vm_restart(struct kvm_vm *vmp) in kvm_vm_restart() argument
451 vm_open(vmp); in kvm_vm_restart()
452 if (vmp->has_irqchip) in kvm_vm_restart()
453 vm_create_irqchip(vmp); in kvm_vm_restart()
455 hash_for_each(vmp->regions.slot_hash, ctr, region, slot_node) { in kvm_vm_restart()
456 int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, &region->region); in kvm_vm_restart()
661 void kvm_vm_release(struct kvm_vm *vmp) in kvm_vm_release() argument
666 list_for_each_entry_safe(vcpu, tmp, &vmp->vcpus, list) in kvm_vm_release()
667 vm_vcpu_rm(vmp, vcpu); in kvm_vm_release()
669 ret = close(vmp->fd); in kvm_vm_release()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h339 void kvm_vm_free(struct kvm_vm *vmp);
340 void kvm_vm_restart(struct kvm_vm *vmp);
341 void kvm_vm_release(struct kvm_vm *vmp);
/linux-6.6.21/arch/s390/tools/
Dopcodes.txt904 e678 vmp VRI_VVV0UU2