Home
last modified time | relevance | path

Searched refs:hv_ghcb (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/hyperv/
H A Divm.c34 union hv_ghcb { union
73 union hv_ghcb *hv_ghcb; in hv_ghcb_hypercall() local
85 hv_ghcb = (union hv_ghcb *)*ghcb_base; in hv_ghcb_hypercall()
86 if (!hv_ghcb) { in hv_ghcb_hypercall()
91 hv_ghcb->ghcb.protocol_version = GHCB_PROTOCOL_MAX; in hv_ghcb_hypercall()
92 hv_ghcb->ghcb.ghcb_usage = GHCB_USAGE_HYPERV_CALL; in hv_ghcb_hypercall()
94 hv_ghcb->hypercall.outputgpa = (u64)output; in hv_ghcb_hypercall()
95 hv_ghcb->hypercall.hypercallinput.asuint64 = 0; in hv_ghcb_hypercall()
96 hv_ghcb->hypercall.hypercallinput.callcode = control; in hv_ghcb_hypercall()
99 memcpy(hv_ghcb->hypercall.hypercalldata, input, input_size); in hv_ghcb_hypercall()
[all …]
H A Dhv_init.c79 union hv_ghcb * __percpu *hv_ghcb_pg;
486 hv_ghcb_pg = alloc_percpu(union hv_ghcb *); in hyperv_init()
/linux/arch/x86/include/asm/
H A Dmshyperv.h28 union hv_ghcb;
51 extern union hv_ghcb * __percpu *hv_ghcb_pg;