Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

arch/x86/power/hibernate.c read_cr3_pa() -> __read_cr3()

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

arch/x86/kernel/head64.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value

arch/x86/mm/tlb.c __get_current_cr3_fast() -> __read_cr3()

Type Parameter Key Value

arch/x86/mm/tlb.c initialize_tlbstate_and_flush() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

arch/x86/mm/tlb.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

arch/x86/mm/tlb.c switch_mm_irqs_off() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->alloc_lock
HALF_LOCKED2 &tsk->alloc_lock
HALF_LOCKED2 &tsk->signal->exec_update_lock
HALF_LOCKED2 _T->flags
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/mm/ioremap.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
LOCK2 irq

arch/x86/mm/fault.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/process_64.c enable_lam_func() -> __read_cr3()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags

arch/x86/coco/sev/vc-handle.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD

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

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_cr3()

Type Parameter Key Value

arch/x86/virt/svm/sev.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags

arch/x86/xen/mmu_pv.c read_cr3_pa() -> __read_cr3()

Type Parameter Key Value
LOCK2 irq