Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/coco/sev/vc-handle.c vc_handle_msr() -> __vc_handle_msr()

Type Parameter Key Value
PARAM_VALUE 0 ghcb 4096-ptr_max
PARAM_VALUE 0 ghcb->save.sw_exit_code 0
PARAM_VALUE 0 *ghcb->save.valid_bitmap 0-255
PARAM_VALUE 1 ctxt 3929561995604525056,6747283956112052224
PARAM_VALUE 1 ctxt->fi.cr2 0
PARAM_VALUE 1 ctxt->fi.error_code 0
PARAM_VALUE 1 ctxt->fi.vector 0
PARAM_VALUE 1 ctxt->insn.immediate.got 0-1
PARAM_VALUE 1 ctxt->insn.opcode.value 0
PARAM_VALUE 1 ctxt->insn.vex_prefix.value 0
PARAM_VALUE 1 ctxt->insn.x86_64 0-1
PARAM_VALUE 1 ctxt->insn.xop_prefix.nbytes 0
PARAM_VALUE 1 ctxt->regs 4096-ptr_max
DATA_SOURCE 0 ghcb $0
DATA_SOURCE 1 ctxt $1
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
MEM_ZERO 0 ghcb->save.valid_bitmap
MEM_ZERO 1 ctxt
PREEMPT_ADD

arch/x86/coco/sev/core.c savic_ghcb_msr_read() -> __vc_handle_msr()

Type Parameter Key Value
PARAM_VALUE 0 ghcb 4096-ptr_max
PARAM_VALUE 0 ghcb->save.sw_exit_code 0
PARAM_VALUE 0 *ghcb->save.valid_bitmap 0-255
PARAM_VALUE 1 ctxt 6986499133529763840
PARAM_VALUE 1 ctxt->fi.cr2 0
PARAM_VALUE 1 ctxt->fi.error_code 0
PARAM_VALUE 1 ctxt->fi.vector 0
PARAM_VALUE 1 ctxt->regs 8907453601282125824
PARAM_VALUE 2 write 0
DATA_SOURCE 0 ghcb r __sev_get_ghcb
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
MEM_ZERO 0 ghcb->save.valid_bitmap
LOCK2 _T->flags

arch/x86/coco/sev/core.c savic_ghcb_msr_write() -> __vc_handle_msr()

Type Parameter Key Value
PARAM_VALUE 0 ghcb 4096-ptr_max
PARAM_VALUE 0 ghcb->save.sw_exit_code 0
PARAM_VALUE 0 *ghcb->save.valid_bitmap 0-255
PARAM_VALUE 1 ctxt 8754053689683853312
PARAM_VALUE 1 ctxt->fi.cr2 0
PARAM_VALUE 1 ctxt->fi.error_code 0
PARAM_VALUE 1 ctxt->fi.vector 0
PARAM_VALUE 1 ctxt->regs 7982860785880276992
PARAM_VALUE 2 write 1
DATA_SOURCE 0 ghcb r __sev_get_ghcb
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
BIT_INFO 0 ghcb 0x0,0x1fffffffffffffff
MEM_ZERO 0 ghcb->save.valid_bitmap
TASK_NOT_RUNNING
LOCK2 _T->flags