Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vdpa/vdpa_sim/
H A 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()
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c841 ghcb_count = sizeof(ghcb->shared_buffer) / io_bytes; in vc_handle_ioio()
853 ghcb->shared_buffer, io_bytes, in vc_handle_ioio()
864 sw_scratch = __pa(ghcb) + offsetof(struct ghcb, shared_buffer); in vc_handle_ioio()
875 ghcb->shared_buffer, io_bytes, in vc_handle_ioio()
1114 data = (struct snp_psc_desc *)ghcb->shared_buffer; in vmgexit_psc()
1115 memcpy(ghcb->shared_buffer, desc, min_t(int, GHCB_SHARED_BUF_SIZE, sizeof(*desc))); in vmgexit_psc()
H A Dsev.c1438 ghcb_set_sw_scratch(ghcb, ghcb_pa + offsetof(struct ghcb, shared_buffer)); in vc_do_mmio()
1534 memcpy(ghcb->shared_buffer, reg_data, bytes); in vc_handle_mmio()
1538 memcpy(ghcb->shared_buffer, insn->immediate1.bytes, bytes); in vc_handle_mmio()
1550 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
1559 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
1567 u8 *val = (u8 *)ghcb->shared_buffer; in vc_handle_mmio()
1571 u16 *val = (u16 *)ghcb->shared_buffer; in vc_handle_mmio()
1578 memcpy(reg_data, ghcb->shared_buffer, bytes); in vc_handle_mmio()
/openbmc/linux/arch/x86/include/asm/
H A Dsvm.h509 u8 shared_buffer[GHCB_SHARED_BUF_SIZE]; member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/smstools3/smstools3/
H A D0001-Make-extern-declarations-to-avoid-duplicate-var-defi.patch559 -char *shared_buffer;
570 +EXTERN char *shared_buffer;
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c2704 offsetof(struct ghcb, shared_buffer); in setup_vmgexit_scratch()