| /linux/drivers/hv/ |
| H A D | mshv_synic.c | 214 int vp_index; in handle_bitset_message() local 229 vp_index = (bank_idx * vp_bank_size) + vp_bank_idx; in handle_bitset_message() 232 if (unlikely(vp_index >= MSHV_MAX_VPS)) { in handle_bitset_message() 234 vp_index); in handle_bitset_message() 238 vp = partition->pt_vp_array[vp_index]; in handle_bitset_message() 240 pr_debug("failed to find VP %u\n", vp_index); in handle_bitset_message() 270 u32 vp_index = msg->vp_indexes[idx]; in handle_pair_message() local 282 if (unlikely(vp_index >= MSHV_MAX_VPS)) { in handle_pair_message() 283 pr_debug("VP index %u out of bounds\n", vp_index); in handle_pair_message() 287 vp = partition->pt_vp_array[vp_index]; in handle_pair_message() [all …]
|
| H A D | mshv_root_main.c | 295 static int mshv_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_get_vp_registers() argument 298 return hv_call_get_vp_registers(vp_index, partition_id, in mshv_get_vp_registers() 302 static int mshv_set_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_set_vp_registers() argument 305 return hv_call_set_vp_registers(vp_index, partition_id, in mshv_set_vp_registers() 341 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp() 348 ret = mshv_get_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp() 381 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_run_vp_with_hyp_scheduler() 434 input->vp_index = vp->vp_index; in mshv_vp_dispatch() 462 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_vp_clear_explicit_suspend() 561 __func__, vp->vp_index); in mshv_run_vp_with_root_scheduler() [all …]
|
| H A D | mshv_common.c | 29 int hv_call_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, in hv_call_get_vp_registers() argument 47 input_page->vp_index = vp_index; in hv_call_get_vp_registers() 75 int hv_call_set_vp_registers(u32 vp_index, u64 partition_id, u16 count, in hv_call_set_vp_registers() argument 90 input_page->vp_index = vp_index; in hv_call_set_vp_registers()
|
| H A D | mshv_root_hv_call.c | 405 int hv_call_delete_vp(u64 partition_id, u32 vp_index) in hv_call_delete_vp() argument 411 input.vp_index = vp_index; in hv_call_delete_vp() 420 int hv_call_get_vp_state(u32 vp_index, u64 partition_id, in hv_call_get_vp_state() argument 448 input->vp_index = vp_index; in hv_call_get_vp_state() 475 int hv_call_set_vp_state(u32 vp_index, u64 partition_id, in hv_call_set_vp_state() argument 507 input->vp_index = vp_index; in hv_call_set_vp_state() 535 static int hv_call_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type, in hv_call_map_vp_state_page() argument 553 input->vp_index = vp_index; in hv_call_map_vp_state_page() 588 int hv_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type, in hv_map_vp_state_page() argument 604 ret = hv_call_map_vp_state_page(partition_id, vp_index, type, input_vtl, in hv_map_vp_state_page() [all …]
|
| H A D | hv_proc.c | 154 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp() argument 175 input->vp_index = vp_index; in hv_call_create_vp() 185 vp_index, flags); in hv_call_create_vp()
|
| H A D | mshv_root.h | 37 u32 vp_index; member 63 __vp->vp_index, ##__VA_ARGS__); \ 272 int hv_call_delete_vp(u64 partition_id, u32 vp_index); 281 int hv_call_get_vp_state(u32 vp_index, u64 partition_id, 286 int hv_call_set_vp_state(u32 vp_index, u64 partition_id, 290 int hv_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type, 293 int hv_unmap_vp_state_page(u64 partition_id, u32 vp_index, u32 type,
|
| H A D | mshv.h | 17 int hv_call_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, 21 int hv_call_set_vp_registers(u32 vp_index, u64 partition_id, u16 count,
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_vtl.c | 143 input->vp_index = target_vp_index; in hv_vtl_bringup_vcpu() 222 int vp_index; in hv_vtl_wakeup_secondary_cpu() local 225 vp_index = hv_apicid_to_vp_index(apicid); in hv_vtl_wakeup_secondary_cpu() 227 if (vp_index < 0) { in hv_vtl_wakeup_secondary_cpu() 231 if (vp_index > ms_hyperv.max_vp_index) { in hv_vtl_wakeup_secondary_cpu() 232 pr_err("Invalid CPU id %d for APIC ID %d\n", vp_index, apicid); in hv_vtl_wakeup_secondary_cpu() 236 return hv_vtl_bringup_vcpu(vp_index, cpu, start_eip); in hv_vtl_wakeup_secondary_cpu()
|
| H A D | ivm.c | 303 int vp_index; in hv_snp_boot_ap() local 309 vp_index = hv_apicid_to_vp_index(apic_id); in hv_snp_boot_ap() 310 if (vp_index < 0 || vp_index > ms_hyperv.max_vp_index) in hv_snp_boot_ap() 360 start_vp_input->vp_index = vp_index; in hv_snp_boot_ap()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm_onhyperv.h | 54 u32 vp_index = kvm_hv_get_vpindex(vcpu); in svm_hv_update_vp_id() local 56 if (hve->hv_vp_id != vp_index) { in svm_hv_update_vp_id() 57 hve->hv_vp_id = vp_index; in svm_hv_update_vp_id()
|
| /linux/include/hyperv/ |
| H A D | hvhdk.h | 384 u32 vp_index; member 428 u32 vp_index; member 447 u32 vp_index; member 454 u32 vp_index; member 459 u32 vp_index; member 622 u32 vp_index; member 725 u32 vp_index; member 744 u32 vp_index; member 770 u32 vp_index; member 874 u32 vp_index; member
|
| H A D | hvhdk_mini.h | 78 u32 vp_index; member 396 u32 vp_index; member
|
| H A D | hvgdk_mini.h | 876 u32 vp_index; member 1317 u32 vp_index; member 1326 u32 vp_index; member
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_nvme.h | 75 uint8_t vp_index; member 93 uint8_t vp_index; member 117 uint8_t vp_index; member
|
| H A D | qla_fw.h | 469 uint8_t vp_index; member 510 uint8_t vp_index; member 556 uint8_t vp_index; member 590 uint8_t vp_index; member 688 uint8_t vp_index; member 714 uint8_t vp_index; member 791 uint8_t vp_index; member 849 uint8_t vp_index; member 922 uint8_t vp_index; member 980 uint8_t vp_index; member [all …]
|
| H A D | qla_target.h | 169 uint8_t vp_index; member 408 uint8_t vp_index; member 461 uint8_t vp_index; member 511 uint8_t vp_index; member 578 uint8_t vp_index; member 626 uint8_t vp_index; member
|
| H A D | qla_nvme.c | 680 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla2x00_start_nvme_mq() 1115 lsrjt_iocb->vp_index = a->vp_idx; in qla_nvme_lsrjt_pt_iocb() 1205 qla2xxx_get_vha_from_vp_idx(struct qla_hw_data *ha, uint16_t vp_index) in qla2xxx_get_vha_from_vp_idx() argument 1212 if (!vp_index && !ha->num_vhosts) in qla2xxx_get_vha_from_vp_idx() 1217 if (vha->vp_idx == vp_index) { in qla2xxx_get_vha_from_vp_idx() 1246 vha = qla2xxx_get_vha_from_vp_idx(ha, p->vp_index); in qla2xxx_process_purls_iocb() 1248 ql_log(ql_log_warn, NULL, 0x2110, "Invalid vp index %d\n", p->vp_index); in qla2xxx_process_purls_iocb() 1256 a.vp_idx = p->vp_index; in qla2xxx_process_purls_iocb()
|
| H A D | qla_iocb.c | 535 mrk24->vp_index = vha->vp_idx; in __qla2x00_marker() 1370 cmd_pkt->vp_index = sp->vha->vp_idx; in qla24xx_build_scsi_crc_2_iocbs() 1637 cmd_pkt->vp_index = sp->vha->vp_idx; in qla24xx_start_scsi() 2004 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla2xxx_start_scsi_mq() 2411 logio->vp_index = sp->vha->vp_idx; in qla24xx_prli_iocb() 2441 logio->vp_index = sp->vha->vp_idx; in qla24xx_login_iocb() 2488 logio->vp_index = sp->vha->vp_idx; in qla24xx_logout_iocb() 2515 logio->vp_index = sp->vha->vp_idx; in qla24xx_adisc_iocb() 2562 tsk->vp_index = fcport->vha->vp_idx; in qla24xx_tm_iocb() 2808 els_iocb->vp_index = vha->vp_idx; in qla24xx_els_logo_iocb() [all …]
|
| H A D | qla_mid.c | 949 int vp_index = vha->vp_idx; in qla24xx_control_vp() local 955 "Entered %s cmd %x index %d.\n", __func__, cmd, vp_index); in qla24xx_control_vp() 957 if (vp_index == 0 || vp_index >= ha->max_npiv_vports) in qla24xx_control_vp() 971 sp->u.iocb_cmd.u.ctrlvp.vp_index = vp_index; in qla24xx_control_vp()
|
| H A D | qla_edif.h | 75 uint8_t vp_index; member
|
| H A D | qla_target.c | 349 if ((entry->u.isp24.vp_index != 0xFF) && in qlt_24xx_atio_pkt_all_vps() 352 entry->u.isp24.vp_index); in qlt_24xx_atio_pkt_all_vps() 358 vha->vp_idx, entry->u.isp24.vp_index); in qlt_24xx_atio_pkt_all_vps() 376 entry->vp_index); in qlt_24xx_atio_pkt_all_vps() 383 vha->vp_idx, entry->vp_index); in qlt_24xx_atio_pkt_all_vps() 419 entry->vp_index); in qlt_response_pkt_all_vps() 424 vha->vp_idx, entry->vp_index); in qlt_response_pkt_all_vps() 437 host = qla_find_host_by_vp_idx(vha, entry->u.isp24.vp_index); in qlt_response_pkt_all_vps() 442 vha->vp_idx, entry->u.isp24.vp_index); in qlt_response_pkt_all_vps() 454 if (0xFF != entry->u.isp24.vp_index) { in qlt_response_pkt_all_vps() [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | trace.h | 1793 TP_PROTO(int vcpu_id, u32 vp_index, u32 msr, u64 data), 1794 TP_ARGS(vcpu_id, vp_index, msr, data), 1798 __field(u32, vp_index) 1805 __entry->vp_index = vp_index; 1811 __entry->vcpu_id, __entry->vp_index, __entry->msr, 1819 TP_PROTO(int vcpu_id, u32 vp_index, u32 msr, u64 data), 1820 TP_ARGS(vcpu_id, vp_index, msr, data), 1824 __field(u32, vp_index) 1831 __entry->vp_index = vp_index; 1837 __entry->vcpu_id, __entry->vp_index, __entry->msr,
|
| H A D | hyperv.h | 92 return hv_vcpu ? hv_vcpu->vp_index : vcpu->vcpu_idx; in kvm_hv_get_vpindex()
|
| /linux/include/asm-generic/ |
| H A D | mshyperv.h | 347 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags); 361 static inline int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp() argument
|
| /linux/include/uapi/linux/ |
| H A D | mshv.h | 99 __u32 vp_index; member
|