Searched refs:shared_buffer (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/x86/kernel/ |
D | sev.c | 779 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()
|
D | sev-shared.c | 767 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-6.1.9/arch/x86/include/asm/ |
D | svm.h | 491 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | sev.c | 2649 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()
|