Home
last modified time | relevance | path

Searched refs:mpo (Results 1 – 2 of 2) sorted by relevance

/xen/tools/libxc/
A Dxc_mem_paging.c28 xen_mem_paging_op_t mpo; in xc_mem_paging_memop() local
33 memset(&mpo, 0, sizeof(mpo)); in xc_mem_paging_memop()
35 mpo.op = op; in xc_mem_paging_memop()
36 mpo.domain = domain_id; in xc_mem_paging_memop()
37 mpo.gfn = gfn; in xc_mem_paging_memop()
47 set_xen_guest_handle(mpo.buffer, buffer); in xc_mem_paging_memop()
50 rc = do_memory_op(xch, XENMEM_paging_op, &mpo, sizeof(mpo)); in xc_mem_paging_memop()
/xen/xen/arch/x86/mm/
A Dmem_paging.c444 xen_mem_paging_op_t mpo; in mem_paging_memop() local
448 if ( copy_from_guest(&mpo, arg, 1) ) in mem_paging_memop()
451 rc = rcu_lock_live_remote_domain_by_id(mpo.domain, &d); in mem_paging_memop()
463 switch( mpo.op ) in mem_paging_memop()
466 rc = nominate(d, _gfn(mpo.gfn)); in mem_paging_memop()
470 rc = evict(d, _gfn(mpo.gfn)); in mem_paging_memop()
474 rc = prepare(d, _gfn(mpo.gfn), mpo.buffer); in mem_paging_memop()
484 if ( copyback && __copy_to_guest(arg, &mpo, 1) ) in mem_paging_memop()

Completed in 4 milliseconds