Home
last modified time | relevance | path

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

/linux-6.1.9/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.c3577 struct lpfc_vmid *vmp, *cur; in lpfc_cmpl_ct_cmd_vmid() local
3620 vmp = lpfc_get_vmid_from_hashtable(vport, hash, in lpfc_cmpl_ct_cmd_vmid()
3622 if (vmp) { in lpfc_cmpl_ct_cmd_vmid()
3624 vmp->un.app_id = be32_to_cpu(app->app_id); in lpfc_cmpl_ct_cmd_vmid()
3625 vmp->flag |= LPFC_VMID_REGISTERED; in lpfc_cmpl_ct_cmd_vmid()
3626 vmp->flag &= ~LPFC_VMID_REQ_REGISTER; in lpfc_cmpl_ct_cmd_vmid()
3648 vmp = &vport->vmid[i]; in lpfc_cmpl_ct_cmd_vmid()
3649 if (vmp->flag != LPFC_VMID_SLOT_FREE) in lpfc_cmpl_ct_cmd_vmid()
3650 memset(vmp, 0, sizeof(struct lpfc_vmid)); in lpfc_cmpl_ct_cmd_vmid()
Dlpfc_hbadisc.c281 struct lpfc_vmid *vmp; in lpfc_check_inactive_vmid_one() local
289 hash_for_each(vport->hash_table, bucket, vmp, hnode) { in lpfc_check_inactive_vmid_one()
291 if (vmp->flag & LPFC_VMID_REGISTERED) { in lpfc_check_inactive_vmid_one()
296 lta = per_cpu_ptr(vmp->last_io_time, cpu); in lpfc_check_inactive_vmid_one()
311 vmp->flag = LPFC_VMID_DE_REGISTER; in lpfc_check_inactive_vmid_one()
314 r = lpfc_vmid_uvem(vport, vmp, false); in lpfc_check_inactive_vmid_one()
318 vmp); in lpfc_check_inactive_vmid_one()
324 struct lpfc_vmid *ht = vmp; in lpfc_check_inactive_vmid_one()
Dlpfc.h347 struct lpfc_vmid *vmp; member
Dlpfc_els.c12154 vmid_context->vmp = vmid; in lpfc_vmid_uvem()
12228 vmid = vmid_context->vmp; in lpfc_cmpl_els_uvem()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c411 void kvm_vm_restart(struct kvm_vm *vmp) in kvm_vm_restart() argument
416 vm_open(vmp); in kvm_vm_restart()
417 if (vmp->has_irqchip) in kvm_vm_restart()
418 vm_create_irqchip(vmp); in kvm_vm_restart()
420 hash_for_each(vmp->regions.slot_hash, ctr, region, slot_node) { in kvm_vm_restart()
421 int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, &region->region); in kvm_vm_restart()
556 void kvm_vm_release(struct kvm_vm *vmp) in kvm_vm_release() argument
561 list_for_each_entry_safe(vcpu, tmp, &vmp->vcpus, list) in kvm_vm_release()
562 vm_vcpu_rm(vmp, vcpu); in kvm_vm_release()
564 ret = close(vmp->fd); in kvm_vm_release()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h280 void kvm_vm_free(struct kvm_vm *vmp);
281 void kvm_vm_restart(struct kvm_vm *vmp);
282 void kvm_vm_release(struct kvm_vm *vmp);
/linux-6.1.9/arch/s390/tools/
Dopcodes.txt904 e678 vmp VRI_VVV0UU2