Lines Matching refs:xch

27 int xc_memshr_control(xc_interface *xch,  in xc_memshr_control()  argument
41 return do_domctl(xch, &domctl); in xc_memshr_control()
44 int xc_memshr_ring_enable(xc_interface *xch, in xc_memshr_ring_enable() argument
54 return xc_vm_event_control(xch, domid, in xc_memshr_ring_enable()
60 int xc_memshr_ring_disable(xc_interface *xch, in xc_memshr_ring_disable() argument
63 return xc_vm_event_control(xch, domid, in xc_memshr_ring_disable()
69 static int xc_memshr_memop(xc_interface *xch, uint32_t domid, in xc_memshr_memop() argument
74 return do_memory_op(xch, XENMEM_sharing_op, mso, sizeof(*mso)); in xc_memshr_memop()
77 int xc_memshr_nominate_gfn(xc_interface *xch, in xc_memshr_nominate_gfn() argument
90 rc = xc_memshr_memop(xch, domid, &mso); in xc_memshr_nominate_gfn()
98 int xc_memshr_nominate_gref(xc_interface *xch, in xc_memshr_nominate_gref() argument
111 rc = xc_memshr_memop(xch, domid, &mso); in xc_memshr_nominate_gref()
119 int xc_memshr_share_gfns(xc_interface *xch, in xc_memshr_share_gfns() argument
139 return xc_memshr_memop(xch, source_domain, &mso); in xc_memshr_share_gfns()
142 int xc_memshr_share_grefs(xc_interface *xch, in xc_memshr_share_grefs() argument
162 return xc_memshr_memop(xch, source_domain, &mso); in xc_memshr_share_grefs()
165 int xc_memshr_add_to_physmap(xc_interface *xch, in xc_memshr_add_to_physmap() argument
183 return xc_memshr_memop(xch, source_domain, &mso); in xc_memshr_add_to_physmap()
186 int xc_memshr_range_share(xc_interface *xch, in xc_memshr_range_share() argument
202 return xc_memshr_memop(xch, source_domain, &mso); in xc_memshr_range_share()
205 int xc_memshr_domain_resume(xc_interface *xch, in xc_memshr_domain_resume() argument
208 return xc_vm_event_control(xch, domid, in xc_memshr_domain_resume()
214 int xc_memshr_debug_gfn(xc_interface *xch, in xc_memshr_debug_gfn() argument
225 return xc_memshr_memop(xch, domid, &mso); in xc_memshr_debug_gfn()
228 int xc_memshr_debug_gref(xc_interface *xch, in xc_memshr_debug_gref() argument
239 return xc_memshr_memop(xch, domid, &mso); in xc_memshr_debug_gref()
242 int xc_memshr_fork(xc_interface *xch, uint32_t pdomid, uint32_t domid, in xc_memshr_fork() argument
257 return xc_memshr_memop(xch, domid, &mso); in xc_memshr_fork()
260 int xc_memshr_fork_reset(xc_interface *xch, uint32_t domid) in xc_memshr_fork_reset() argument
267 return xc_memshr_memop(xch, domid, &mso); in xc_memshr_fork_reset()
270 int xc_memshr_audit(xc_interface *xch) in xc_memshr_audit() argument
278 return do_memory_op(xch, XENMEM_sharing_op, &mso, sizeof(mso)); in xc_memshr_audit()
281 long xc_sharing_freed_pages(xc_interface *xch) in xc_sharing_freed_pages() argument
283 return do_memory_op(xch, XENMEM_get_sharing_freed_pages, NULL, 0); in xc_sharing_freed_pages()
286 long xc_sharing_used_frames(xc_interface *xch) in xc_sharing_used_frames() argument
288 return do_memory_op(xch, XENMEM_get_sharing_shared_pages, NULL, 0); in xc_sharing_used_frames()