Searched refs:shared_buffer (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/vdpa/vdpa_sim/ |
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-6.12.1/arch/x86/coco/sev/ |
D | shared.c | 994 ghcb_count = sizeof(ghcb->shared_buffer) / io_bytes; in vc_handle_ioio() 1006 ghcb->shared_buffer, io_bytes, in vc_handle_ioio() 1017 sw_scratch = __pa(ghcb) + offsetof(struct ghcb, shared_buffer); in vc_handle_ioio() 1028 ghcb->shared_buffer, io_bytes, in vc_handle_ioio() 1497 data = (struct snp_psc_desc *)ghcb->shared_buffer; in vmgexit_psc() 1498 memcpy(ghcb->shared_buffer, desc, min_t(int, GHCB_SHARED_BUF_SIZE, sizeof(*desc))); in vmgexit_psc()
|
D | core.c | 1637 ghcb_set_sw_scratch(ghcb, ghcb_pa + offsetof(struct ghcb, shared_buffer)); in vc_do_mmio() 1733 memcpy(ghcb->shared_buffer, reg_data, bytes); in vc_handle_mmio() 1737 memcpy(ghcb->shared_buffer, insn->immediate1.bytes, bytes); in vc_handle_mmio() 1749 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 1758 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 1766 u8 *val = (u8 *)ghcb->shared_buffer; in vc_handle_mmio() 1770 u16 *val = (u16 *)ghcb->shared_buffer; in vc_handle_mmio() 1777 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | svm.h | 512 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | sev.c | 3525 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()
|