Defined in 2 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_utils.c i915_run_as_guest() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/acpi/boot.c acpi_is_processor_usable() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/hyperv/hv-irq-remap-x86.c hyperv_prepare_irq_remapping() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmwgfx_supported() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

arch/x86/mm/pti.c pti_check_boottime_disable() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 3
LOCK2 irq

drivers/accel/amdxdna/aie2_pci.c aie2_init() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_init_vga_resv_regions() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/cpu/vmware.c vmware_tdx_hypercall() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/kvm/x86.c kvm_x86_vendor_exit() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2

arch/x86/kvm/x86.c kvm_x86_vendor_init() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2
LOCK2 _T->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_init_req_data() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

arch/x86/kernel/acpi/sleep.c init_s4_sigcheck() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 0

drivers/gpu/drm/i915/display/intel_display_utils.c intel_display_run_as_guest() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING

arch/x86/hyperv/ivm.c hv_is_isolation_supported() -> hypervisor_is_type()

Type Parameter Key Value
PARAM_VALUE 0 type 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &mem_enc_lock
HALF_LOCKED2 irq

arch/x86/kernel/cpu/bugs.c cpu_show_common() -> hypervisor_is_type()

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