Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

arch/x86/kernel/apic/x2apic_savic.c savic_acpi_madt_oem_check() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq

arch/x86/hyperv/hv_apic.c hv_apic_init() -> x2apic_enabled()

Type Parameter Key Value

arch/x86/hyperv/hv_apic.c hv_apic_init() -> x2apic_enabled()

Type Parameter Key Value

arch/x86/kernel/apic/apic.c check_x2apic() -> x2apic_enabled()

Type Parameter Key Value
LOCK2 irq

arch/x86/kernel/apic/apic.c lapic_resume() -> x2apic_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

arch/x86/kernel/apic/apic.c setup_nox2apic() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq

arch/x86/kernel/jailhouse.c jailhouse_x2apic_available() -> x2apic_enabled()

Type Parameter Key Value
LOCK2 flags

arch/x86/kernel/jailhouse.c jailhouse_x2apic_init() -> x2apic_enabled()

Type Parameter Key Value
LOCK2 irq

arch/x86/kernel/apic/vector.c print_local_APIC() -> x2apic_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags

arch/x86/kernel/apic/x2apic_phys.c x2apic_acpi_madt_oem_check() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq

drivers/iommu/intel/irq_remapping.c dmar_ir_add() -> x2apic_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dmar_global_lock

arch/x86/kernel/apic/x2apic_uv_x.c early_set_apic_mode() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq

arch/x86/kernel/irq.c intel_posted_msi_init() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq

arch/x86/kernel/apic/x2apic_cluster.c x2apic_acpi_madt_oem_check() -> x2apic_enabled()

Type Parameter Key Value
HALF_LOCKED2 irq