Home
last modified time | relevance | path

Searched refs:vpid (Results 1 – 17 of 17) sorted by relevance

/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h17 void invvpid_error(unsigned long ext, u16 vpid, gva_t gva);
304 static inline void __invvpid(unsigned long ext, u16 vpid, gva_t gva) in __invvpid() argument
307 u64 vpid : 16; in __invvpid() member
310 } operand = { vpid, 0, gva }; in __invvpid()
312 vmx_asm2(invvpid, "r"(ext), "m"(operand), ext, vpid, gva); in __invvpid()
324 static inline void vpid_sync_vcpu_single(int vpid) in vpid_sync_vcpu_single() argument
326 if (vpid == 0) in vpid_sync_vcpu_single()
329 __invvpid(VMX_VPID_EXTENT_SINGLE_CONTEXT, vpid, 0); in vpid_sync_vcpu_single()
337 static inline void vpid_sync_context(int vpid) in vpid_sync_context() argument
340 vpid_sync_vcpu_single(vpid); in vpid_sync_context()
[all …]
H A Dcapabilities.h71 u32 vpid; member
348 return vmx_capability.vpid & VMX_VPID_INVVPID_BIT; in cpu_has_vmx_invvpid()
353 return vmx_capability.vpid & VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT; in cpu_has_vmx_invvpid_individual_addr()
358 return vmx_capability.vpid & VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT; in cpu_has_vmx_invvpid_single()
363 return vmx_capability.vpid & VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT; in cpu_has_vmx_invvpid_global()
H A Dvmx.h316 int vpid; member
382 void free_vpid(int vpid);
H A Dnested.h74 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
H A Dnested.c2322 vmcs_write16(VIRTUAL_PROCESSOR_ID, vmx->vpid); in prepare_vmcs02_early_rare()
5912 u64 vpid; in handle_invvpid() member
5949 if (operand.vpid >> 16) in handle_invvpid()
5960 if (!operand.vpid || in handle_invvpid()
5968 if (!operand.vpid) in handle_invvpid()
/linux/arch/loongarch/kvm/
H A Dmain.c197 unsigned long vpid; in kvm_update_vpid() local
201 vpid = context->vpid_cache + 1; in kvm_update_vpid()
202 if (!(vpid & vpid_mask)) { in kvm_update_vpid()
204 if (unlikely(!vpid)) in kvm_update_vpid()
205 vpid = vpid_mask + 1; in kvm_update_vpid()
207 ++vpid; /* vpid 0 reserved for root */ in kvm_update_vpid()
213 context->vpid_cache = vpid; in kvm_update_vpid()
214 vcpu->arch.vpid = vpid; in kvm_update_vpid()
221 unsigned long ver, old, vpid; in kvm_check_vpid() local
239 ver = vcpu->arch.vpid & ~vpid_mask; in kvm_check_vpid()
[all …]
H A Dtrace.h153 TP_PROTO(struct kvm_vcpu *vcpu, unsigned long vpid),
154 TP_ARGS(vcpu, vpid),
156 __field(unsigned long, vpid)
160 __entry->vpid = vpid;
163 TP_printk("VPID: 0x%08lx", __entry->vpid)
H A Dvcpu.c211 vcpu->arch.vpid = 0; /* Drop vpid for this vCPU */ in kvm_check_requests()
1457 vcpu->arch.vpid = 0; in kvm_arch_vcpu_create()
/linux/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c66 flexcop_ibi_value vpid = fc->read_ibi_reg(fc, vregname), \
68 vpid.vregname.field = onoff ? pid : 0x1fff; \
69 vpid.vregname.trans_field = transval; \
71 fc->write_ibi_reg(fc, vregname, vpid); \
148 flexcop_ibi_value vpid, vid; in flexcop_pid_control() local
155 vpid = fc->read_ibi_reg(fc, pid_n_reg_314); in flexcop_pid_control()
156 vpid.pid_n_reg_314.PID = onoff ? pid : 0x1fff; in flexcop_pid_control()
157 vpid.pid_n_reg_314.PID_enable_bit = onoff; in flexcop_pid_control()
158 fc->write_ibi_reg(fc, pid_n_reg_314, vpid); in flexcop_pid_control()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c73 int ret = -EIO, vpid, id; in qlcnic_sriov_pf_cal_res_limit() local
77 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_cal_res_limit()
78 if (vpid < 0) in qlcnic_sriov_pf_cal_res_limit()
129 ret = qlcnic_sriov_pf_set_vport_info(adapter, info, vpid); in qlcnic_sriov_pf_cal_res_limit()
293 int vpid; in qlcnic_sriov_pf_config_vport() local
301 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_config_vport()
302 if (vpid < 0) { in qlcnic_sriov_pf_config_vport()
306 cmd.req.arg[3] = ((vpid & 0xffff) << 8) | 1; in qlcnic_sriov_pf_config_vport()
318 vpid = cmd.rsp.arg[2] & 0xffff; in qlcnic_sriov_pf_config_vport()
319 qlcnic_sriov_pf_set_vport_handle(adapter, vpid, func); in qlcnic_sriov_pf_config_vport()
[all …]
/linux/arch/x86/kernel/cpu/
H A Dfeat_ctl.c27 u32 supported, funcs, ept, vpid, ign, low, high; in init_vmx_capabilities() local
59 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
65 ((vpid & 0x1) << 16) | in init_vmx_capabilities()
/linux/kernel/futex/
H A Dpi.c522 u32 uval, newval, vpid = task_pid_vnr(task); in futex_lock_pi_atomic() local
539 if ((unlikely((uval & FUTEX_TID_MASK) == vpid))) in futex_lock_pi_atomic()
565 newval |= vpid; in futex_lock_pi_atomic()
1114 u32 curval, uval, vpid = task_pid_vnr(current); in futex_unlock_pi() local
1129 if ((uval & FUTEX_TID_MASK) != vpid) in futex_unlock_pi()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c2118 struct fc_vport_identifiers vpid; in bnx2fc_npiv_create_vports() local
2136 vpid.roles = FC_PORT_ROLE_FCP_INITIATOR; in bnx2fc_npiv_create_vports()
2137 vpid.vport_type = FC_PORTTYPE_NPIV; in bnx2fc_npiv_create_vports()
2138 vpid.disable = false; in bnx2fc_npiv_create_vports()
2149 vpid.node_name = wwnn; in bnx2fc_npiv_create_vports()
2150 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
2151 scnprintf(vpid.symbolic_name, sizeof(vpid.symbolic_name), in bnx2fc_npiv_create_vports()
2153 created, vpid.port_name, vpid.node_name); in bnx2fc_npiv_create_vports()
2154 fcoe_wwn_to_str(vpid.node_name, wwnn_str, sizeof(wwnn_str)); in bnx2fc_npiv_create_vports()
2155 fcoe_wwn_to_str(vpid.port_name, wwpn_str, sizeof(wwpn_str)); in bnx2fc_npiv_create_vports()
[all …]
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h213 u64 vpid; member
/linux/drivers/staging/media/av7110/
H A Dav7110.c697 static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in SetPIDs() argument
704 if (vpid == 0x1fff || apid == 0x1fff || in SetPIDs()
706 vpid = 0; in SetPIDs()
721 pcrpid, vpid, apid, ttpid, subpid, aflags); in SetPIDs()
724 int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in ChangePIDs() argument
734 if (!(vpid & 0x8000)) in ChangePIDs()
735 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs()
747 ret = SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid); in ChangePIDs()
/linux/kernel/events/
H A Dcore.c4861 find_lively_task_by_vpid(pid_t vpid) in find_lively_task_by_vpid() argument
4866 if (!vpid) in find_lively_task_by_vpid()
4869 task = find_task_by_vpid(vpid); in find_lively_task_by_vpid()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt2837 kvm-intel.vpid= [KVM,Intel] Control KVM's use of Virtual Processor