Home
last modified time | relevance | path

Searched refs:vp_index (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/hv/
H A Dmshv_trace.h157 TP_PROTO(u64 partition_id, u32 vp_index, long vp_fd),
158 TP_ARGS(partition_id, vp_index, vp_fd),
161 __field(u32, vp_index)
166 __entry->vp_index = vp_index;
171 __entry->vp_index,
177 TP_PROTO(u64 partition_id, u32 vp_index, u32 page_type, u64 status),
178 TP_ARGS(partition_id, vp_index, page_type, status),
181 __field(u32, vp_index)
187 __entry->vp_index = vp_index;
193 __entry->vp_index,
[all …]
H A Dmshv_root_main.c284 static int mshv_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_get_vp_registers() argument
287 return hv_call_get_vp_registers(vp_index, partition_id, in mshv_get_vp_registers()
291 static int mshv_set_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_set_vp_registers() argument
294 return hv_call_set_vp_registers(vp_index, partition_id, in mshv_set_vp_registers()
330 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp()
337 ret = mshv_get_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp()
370 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_run_vp_with_hyp_scheduler()
423 input->vp_index = vp->vp_index; in mshv_vp_dispatch()
433 vp->vp_index, flags, in mshv_vp_dispatch()
462 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_vp_clear_explicit_suspend()
[all …]
H A Dmshv_synic.c222 int vp_index; in handle_bitset_message() local
237 vp_index = (bank_idx * vp_bank_size) + vp_bank_idx; in handle_bitset_message()
240 if (unlikely(vp_index >= MSHV_MAX_VPS)) { in handle_bitset_message()
242 vp_index); in handle_bitset_message()
246 vp = partition->pt_vp_array[vp_index]; in handle_bitset_message()
248 pr_debug("failed to find VP %u\n", vp_index); in handle_bitset_message()
278 u32 vp_index = msg->vp_indexes[idx]; in handle_pair_message() local
290 if (unlikely(vp_index >= MSHV_MAX_VPS)) { in handle_pair_message()
291 pr_debug("VP index %u out of bounds\n", vp_index); in handle_pair_message()
295 vp = partition->pt_vp_array[vp_index]; in handle_pair_message()
[all …]
H A Dmshv_root_hv_call.c413 int hv_call_delete_vp(u64 partition_id, u32 vp_index) in hv_call_delete_vp() argument
419 input.vp_index = vp_index; in hv_call_delete_vp()
428 int hv_call_get_vp_state(u32 vp_index, u64 partition_id, in hv_call_get_vp_state() argument
456 input->vp_index = vp_index; in hv_call_get_vp_state()
482 int hv_call_set_vp_state(u32 vp_index, u64 partition_id, in hv_call_set_vp_state() argument
514 input->vp_index = vp_index; in hv_call_set_vp_state()
541 static int hv_call_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type, in hv_call_map_vp_state_page() argument
559 input->vp_index = vp_index; in hv_call_map_vp_state_page()
585 trace_mshv_hvcall_map_vp_state_page(partition_id, vp_index, in hv_call_map_vp_state_page()
597 int hv_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type, in hv_map_vp_state_page() argument
[all …]
H A Dmshv_common.c29 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 Dmshv_root.h38 u32 vp_index; member
67 __vp->vp_index, ##__VA_ARGS__); \
269 int mshv_vp_stats_map(u64 partition_id, u32 vp_index,
271 void mshv_vp_stats_unmap(u64 partition_id, u32 vp_index,
289 int hv_call_delete_vp(u64 partition_id, u32 vp_index);
298 int hv_call_get_vp_state(u32 vp_index, u64 partition_id,
303 int hv_call_set_vp_state(u32 vp_index, u64 partition_id,
307 int hv_map_vp_state_page(u64 partition_id, u32 vp_index, u32 type,
310 int hv_unmap_vp_state_page(u64 partition_id, u32 vp_index, u32 type,
H A Dmshv_debugfs.c230 static int vp_debugfs_create(u64 partition_id, u32 vp_index, in vp_debugfs_create() argument
239 sprintf(vp_idx_str, "%u", vp_index); in vp_debugfs_create()
441 static void parent_vp_debugfs_remove(u32 vp_index, in parent_vp_debugfs_remove() argument
448 mshv_vp_stats_unmap(hv_current_partition_id, vp_index, pstats); in parent_vp_debugfs_remove()
467 static int __init parent_vp_debugfs_create(u32 vp_index, in parent_vp_debugfs_create() argument
479 err = mshv_vp_stats_map(hv_current_partition_id, vp_index, pstats); in parent_vp_debugfs_create()
483 err = vp_debugfs_create(hv_current_partition_id, vp_index, pstats, in parent_vp_debugfs_create()
491 mshv_vp_stats_unmap(hv_current_partition_id, vp_index, pstats); in parent_vp_debugfs_create()
631 return vp_debugfs_create(p->pt_id, vp->vp_index, in mshv_debugfs_vp_create()
H A Dmshv.h17 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,
H A Dhv_proc.c199 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp() argument
220 input->vp_index = vp_index; in hv_call_create_vp()
230 vp_index, flags); in hv_call_create_vp()
/linux/arch/x86/hyperv/
H A Dhv_vtl.c145 input->vp_index = target_vp_index; in hv_vtl_bringup_vcpu()
224 int vp_index; in hv_vtl_wakeup_secondary_cpu() local
227 vp_index = hv_apicid_to_vp_index(apicid); in hv_vtl_wakeup_secondary_cpu()
229 if (vp_index < 0) { in hv_vtl_wakeup_secondary_cpu()
233 if (vp_index > ms_hyperv.max_vp_index) { in hv_vtl_wakeup_secondary_cpu()
234 pr_err("Invalid CPU id %d for APIC ID %d\n", vp_index, apicid); in hv_vtl_wakeup_secondary_cpu()
238 return hv_vtl_bringup_vcpu(vp_index, cpu, start_eip); in hv_vtl_wakeup_secondary_cpu()
H A Divm.c304 int vp_index; in hv_snp_boot_ap() local
310 vp_index = hv_apicid_to_vp_index(apic_id); in hv_snp_boot_ap()
311 if (vp_index < 0 || vp_index > ms_hyperv.max_vp_index) in hv_snp_boot_ap()
361 start_vp_input->vp_index = vp_index; in hv_snp_boot_ap()
/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h54 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 Dhvhdk.h393 u32 vp_index; member
437 u32 vp_index; member
456 u32 vp_index; member
463 u32 vp_index; member
468 u32 vp_index; member
631 u32 vp_index; member
734 u32 vp_index; member
753 u32 vp_index; member
779 u32 vp_index; member
826 u32 vp_index; member
[all …]
H A Dhvhdk_mini.h80 u32 vp_index; member
415 u32 vp_index; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_nvme.h75 uint8_t vp_index; member
93 uint8_t vp_index; member
117 uint8_t vp_index; member
H A Dqla_fw.h469 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 Dqla_target.h169 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 Dqla_nvme.c680 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 Dqla_iocb.c535 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()
2806 els_iocb->vp_index = vha->vp_idx; in qla24xx_els_logo_iocb()
[all …]
H A Dqla_mid.c949 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 Dqla_edif.h75 uint8_t vp_index; member
H A Dqla_target.c349 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 Dtrace.h1793 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,
/linux/include/asm-generic/
H A Dmshyperv.h352 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags);
379 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 Dmshv.h101 __u32 vp_index; member

12