Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/vmx/
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 …]
Dcapabilities.h73 u32 vpid; member
350 return vmx_capability.vpid & VMX_VPID_INVVPID_BIT; in cpu_has_vmx_invvpid()
355 return vmx_capability.vpid & VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT; in cpu_has_vmx_invvpid_individual_addr()
360 return vmx_capability.vpid & VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT; in cpu_has_vmx_invvpid_single()
365 return vmx_capability.vpid & VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT; in cpu_has_vmx_invvpid_global()
Dvmx.c82 module_param_named(vpid, enable_vpid, bool, 0444);
469 noinline void invvpid_error(unsigned long ext, u16 vpid, gva_t gva) in invvpid_error() argument
472 ext, vpid, gva); in invvpid_error()
2633 &vmx_cap->ept, &vmx_cap->vpid); in setup_vmcs_config()
2646 vmx_cap->vpid) { in setup_vmcs_config()
2653 vmx_cap->vpid = 0; in setup_vmcs_config()
3186 vpid_sync_vcpu_single(vmx->vpid); in vmx_flush_tlb_all()
3196 return to_vmx(vcpu)->vpid; in vmx_get_current_vpid()
3925 int vpid; in allocate_vpid() local
3930 vpid = find_first_zero_bit(vmx_vpid_bitmap, VMX_NR_VPIDS); in allocate_vpid()
[all …]
Dvmx.h315 int vpid; member
380 void free_vpid(int vpid);
Dnested.h67 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
Dnested.c2235 vmcs_write16(VIRTUAL_PROCESSOR_ID, vmx->vpid); in prepare_vmcs02_early_rare()
5756 u64 vpid; in handle_invvpid() member
5793 if (operand.vpid >> 16) in handle_invvpid()
5800 if (!operand.vpid || in handle_invvpid()
5808 if (!operand.vpid) in handle_invvpid()
/linux-6.6.21/drivers/media/common/b2c2/
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-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
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-6.6.21/arch/x86/kernel/cpu/
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-6.6.21/kernel/futex/
Dpi.c521 u32 uval, newval, vpid = task_pid_vnr(task); in futex_lock_pi_atomic() local
538 if ((unlikely((uval & FUTEX_TID_MASK) == vpid))) in futex_lock_pi_atomic()
564 newval |= vpid; in futex_lock_pi_atomic()
1102 u32 curval, uval, vpid = task_pid_vnr(current); in futex_unlock_pi() local
1117 if ((uval & FUTEX_TID_MASK) != vpid) in futex_unlock_pi()
/linux-6.6.21/drivers/scsi/bnx2fc/
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-6.6.21/drivers/staging/media/av7110/
Dav7110.h292 extern int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,
Dav7110.c714 static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in SetPIDs() argument
721 if (vpid == 0x1fff || apid == 0x1fff || in SetPIDs()
723 vpid = apid = ttpid = subpid = pcrpid = 0; in SetPIDs()
734 pcrpid, vpid, apid, ttpid, subpid, aflags); in SetPIDs()
737 int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in ChangePIDs() argument
746 if (!(vpid & 0x8000)) in ChangePIDs()
747 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs()
759 ret = SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid); in ChangePIDs()
/linux-6.6.21/kernel/events/
Dcore.c4741 find_lively_task_by_vpid(pid_t vpid) in find_lively_task_by_vpid() argument
4746 if (!vpid) in find_lively_task_by_vpid()
4749 task = find_task_by_vpid(vpid); in find_lively_task_by_vpid()
/linux-6.6.21/Documentation/admin-guide/
Dkernel-parameters.txt2684 kvm-intel.vpid= [KVM,Intel] Control KVM's use of Virtual Processor