Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/vdpa_sim/
Dvdpa_sim_blk.c63 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/
Dshared.c994 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()
Dcore.c1637 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/
Dsvm.h512 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c3525 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()