Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 16 files:

Smatch caller information:

arch/x86/kernel/process_64.c __show_regs() -> read_cr0()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/traps.c __exc_device_not_available() -> read_cr0()

Type Parameter Key Value

arch/x86/kernel/cpu/cacheinfo.c cache_disable() -> read_cr0()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cache_disable_lock
HALF_LOCKED2 flags

arch/x86/kernel/cpu/cacheinfo.c cache_enable() -> read_cr0()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cache_disable_lock
HALF_LOCKED2 flags

arch/x86/kernel/acpi/sleep.c x86_acpi_suspend_lowlevel() -> read_cr0()

Type Parameter Key Value

arch/x86/power/cpu.c __save_processor_state() -> read_cr0()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

arch/x86/kvm/vmx/vmx.c vmx_set_constant_host_state() -> read_cr0()

Type Parameter Key Value

arch/x86/kernel/fpu/init.c fpu__init_cpu_generic() -> read_cr0()

Type Parameter Key Value

arch/x86/kernel/fpu/init.c fpu__probe_without_cpuid() -> read_cr0()

Type Parameter Key Value