Searched refs:shared_buffer (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/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-6.15/arch/x86/coco/sev/ |
| H A D | shared.c | 995 ghcb_count = sizeof(ghcb->shared_buffer) / io_bytes; in vc_handle_ioio() 1007 ghcb->shared_buffer, io_bytes, in vc_handle_ioio() 1018 sw_scratch = __pa(ghcb) + offsetof(struct ghcb, shared_buffer); in vc_handle_ioio() 1029 ghcb->shared_buffer, io_bytes, in vc_handle_ioio() 1509 data = (struct snp_psc_desc *)ghcb->shared_buffer; in vmgexit_psc() 1510 memcpy(ghcb->shared_buffer, desc, min_t(int, GHCB_SHARED_BUF_SIZE, sizeof(*desc))); in vmgexit_psc()
|
| H A D | core.c | 1844 ghcb_set_sw_scratch(ghcb, ghcb_pa + offsetof(struct ghcb, shared_buffer)); in vc_do_mmio() 1940 memcpy(ghcb->shared_buffer, reg_data, bytes); in vc_handle_mmio() 1944 memcpy(ghcb->shared_buffer, insn->immediate1.bytes, bytes); in vc_handle_mmio() 1956 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 1965 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio() 1973 u8 *val = (u8 *)ghcb->shared_buffer; in vc_handle_mmio() 1977 u16 *val = (u16 *)ghcb->shared_buffer; in vc_handle_mmio() 1984 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | svm.h | 511 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | sev.c | 3517 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()
|