Home
last modified time | relevance | path

Searched refs:shared_buffer (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/arch/x86/kernel/
Dsev.c779 data = (struct snp_psc_desc *)ghcb->shared_buffer; in vmgexit_psc()
780 memcpy(ghcb->shared_buffer, desc, min_t(int, GHCB_SHARED_BUF_SIZE, sizeof(*desc))); in vmgexit_psc()
1464 ghcb_set_sw_scratch(ghcb, ghcb_pa + offsetof(struct ghcb, shared_buffer)); in vc_do_mmio()
1557 memcpy(ghcb->shared_buffer, reg_data, bytes); in vc_handle_mmio()
1561 memcpy(ghcb->shared_buffer, insn->immediate1.bytes, bytes); in vc_handle_mmio()
1573 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
1582 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
1590 u8 *val = (u8 *)ghcb->shared_buffer; in vc_handle_mmio()
1594 u16 *val = (u16 *)ghcb->shared_buffer; in vc_handle_mmio()
1601 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
Dsev-shared.c767 ghcb_count = sizeof(ghcb->shared_buffer) / io_bytes; in vc_handle_ioio()
779 ghcb->shared_buffer, io_bytes, in vc_handle_ioio()
790 sw_scratch = __pa(ghcb) + offsetof(struct ghcb, shared_buffer); in vc_handle_ioio()
801 ghcb->shared_buffer, io_bytes, in vc_handle_ioio()
/Linux-v6.1/arch/x86/include/asm/
Dsvm.h491 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
/Linux-v6.1/arch/x86/kvm/svm/
Dsev.c2649 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()