Searched refs:shared_buffer (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_blk.c | 63 static void *shared_buffer; variable 438 blk->buffer = shared_buffer; in vdpasim_blk_dev_add() 498 shared_buffer = kvzalloc(VDPASIM_BLK_CAPACITY << SECTOR_SHIFT, in vdpasim_blk_init() 500 if (!shared_buffer) { in vdpasim_blk_init() 516 kvfree(shared_buffer); in vdpasim_blk_exit()
|
| /linux/arch/x86/coco/sev/ |
| H A D | vc-handle.c | 507 ghcb_set_sw_scratch(ghcb, ghcb_pa + offsetof(struct ghcb, shared_buffer)); in vc_do_mmio() 603 memcpy(ghcb->shared_buffer, reg_data, bytes); in vc_handle_mmio() 607 memcpy(ghcb->shared_buffer, insn->immediate1.bytes, bytes); in vc_handle_mmio() 619 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 628 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 636 u8 *val = (u8 *)ghcb->shared_buffer; in vc_handle_mmio() 640 u16 *val = (u16 *)ghcb->shared_buffer; in vc_handle_mmio() 647 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
|
| H A D | vc-shared.c | 335 ghcb_count = sizeof(ghcb->shared_buffer) / io_bytes; in vc_handle_ioio() 347 ghcb->shared_buffer, io_bytes, in vc_handle_ioio() 358 sw_scratch = __pa(ghcb) + offsetof(struct ghcb, shared_buffer); in vc_handle_ioio() 369 ghcb->shared_buffer, io_bytes, in vc_handle_ioio()
|
| H A D | core.c | 262 data = (struct snp_psc_desc *)ghcb->shared_buffer; in vmgexit_psc() 263 memcpy(ghcb->shared_buffer, desc, min_t(int, GHCB_SHARED_BUF_SIZE, sizeof(*desc))); in vmgexit_psc()
|
| /linux/arch/x86/include/asm/ |
| H A D | svm.h | 529 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
|
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 3625 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()
|