Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 35 files:

Smatch caller information:

arch/x86/kernel/cpu/zhaoxin.c init_zhaoxin() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 10

arch/x86/kernel/cpu/zhaoxin.c init_zhaoxin_cap() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 3221225472

arch/x86/kvm/mmu/spte.c kvm_get_host_maxphyaddr() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483656

arch/x86/xen/enlighten_hvm.c init_hvm_pv_info() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1,1073741825,1073742081-1073807360
LOCK2 irq

arch/x86/xen/enlighten_hvm.c msi_ext_dest_id() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 4,1073741828,1073742084-1073807363
HALF_LOCKED2 flags

arch/x86/kernel/cpu/microcode/amd.c collect_cpu_info_amd() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/bhyve.c bhyve_detect() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741824
DATA_SOURCE 0 op r cpuid_base_hypervisor
LOCK2 irq

arch/x86/kernel/cpu/bhyve.c bhyve_features() -> cpuid_eax()

Type Parameter Key Value
BIT_INFO 0 op 0x40000001,0x40000001
HALF_LOCKED2 flags

drivers/ras/amd/fmpm.c fmp_is_usable() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1

drivers/ras/amd/fmpm.c set_fmp_fields() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1

arch/x86/kernel/cpu/mshyperv.c hv_get_hypervisor_version() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741824

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741827
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741828
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741824
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741829
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741954
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741836
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_init_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741834
LOCK2 irq

arch/x86/kernel/cpu/mshyperv.c ms_hyperv_platform() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741827
LOCK2 irq

arch/x86/kernel/cpu/scattered.c init_scattered_cpuid_features() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0,65536-2147483648
BIT_INFO 0 op 0x0,0xffff0000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/mce/core.c mce_prep_record_common() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/virt/acrn/hsm.c hsm_init() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741825

drivers/platform/x86/amd/hfi/hfi.c amd_hfi_alloc_class_data() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483687
RX_PATH
TASK_NOT_RUNNING

drivers/cpufreq/powernow-k8.c check_supported_cpu() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags

drivers/cpufreq/powernow-k8.c check_supported_cpu() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags

drivers/cpufreq/powernow-k8.c find_psb_table() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pol->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

arch/x86/pci/xen.c xen_hvm_msi_init() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 4,1073741828,1073742084-1073807363

arch/x86/kernel/cpu/topology_common.c parse_topology() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 26
HALF_LOCKED2 irq

arch/x86/kvm/cpuid.c do_host_cpuid() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648
PREEMPT_ADD

arch/x86/kvm/cpuid.c raw_cpuid_get() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0,2147483648,3221225472
BIT_INFO 0 op 0x0,0xffff0000
LOCK2 _T->lock

arch/x86/xen/enlighten_pv.c xen_set_mtrr_data() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648
LOCK2 irq

arch/x86/xen/enlighten_pv.c xen_set_mtrr_data() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483656
LOCK2 irq

arch/x86/kernel/cpu/hygon.c cpu_detect_tlb_hygon() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483653

arch/x86/kernel/kvm.c kvm_arch_para_features() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1073741825
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

arch/x86/events/amd/ibs.c __get_ibs_caps() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648

arch/x86/events/amd/ibs.c __get_ibs_caps() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483675

arch/x86/kernel/cpu/amd.c cpu_detect_tlb_amd() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483653

arch/x86/kernel/cpu/amd.c early_detect_mem_encrypt() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483679
HALF_LOCKED2 irq

arch/x86/kernel/cpu/amd.c init_amd_k8() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1

drivers/xen/grant-table.c gnttab_need_v2() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0,1073741824,1073742080-1073807359
DATA_SOURCE 0 op r xen_cpuid_base
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/cpu/common.c get_cpu_cap() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 6
RX_PATH
HALF_LOCKED2 irq

arch/x86/kernel/cpu/common.c get_cpu_cap() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/common.c get_cpu_cap() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483679
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/common.c get_cpu_cap() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483681
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/common.c store_cpu_caps() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

arch/x86/kvm/svm/svm.c svm_adjust_mmio_mask() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483648
LOCK2 _T->lock

drivers/xen/events/events_base.c xen_init_setup_upcall_vector() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 4,1073741828,1073742084-1073807363

arch/x86/kernel/cpu/intel.c init_intel() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 10

arch/x86/kernel/cpu/intel.c intel_cpuid_vfm() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/cpu/intel.c intel_unlock_cpuid_leafs() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0
HALF_LOCKED2 irq

arch/x86/kernel/cpu/centaur.c init_c3() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 3221225472

arch/x86/kernel/cpu/centaur.c init_centaur() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 10

drivers/dma/ioat/dca.c dca_enabled_in_bios() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 9
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

arch/x86/kernel/cpu/mce/inject.c setup_inj_struct() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
HALF_LOCKED2 &attr->mutex

arch/x86/kvm/vmx/vmx.c calc_preemption_timer_max_value() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0
LOCK2 _T->lock

arch/x86/kvm/vmx/vmx.c cpu_has_broken_vmx_preemption_timer() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1

arch/x86/kvm/vmx/vmx.c cpu_has_sgx() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 0

arch/x86/kvm/vmx/vmx.c cpu_has_sgx() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 18

arch/x86/kernel/cpu/microcode/intel.c intel_collect_cpu_info() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &ifs_sem

arch/x86/virt/svm/sev.c probe_segmented_rmptable_info() -> cpuid_eax()

Type Parameter Key Value
PARAM_VALUE 0 op 2147483685
LOCK2 irq