/xen/xen/arch/x86/mm/ |
A D | p2m-pt.c | 269 unsigned long first_gfn, in p2m_pt_set_recalc_range() argument 273 unsigned long gfn_remainder = first_gfn, remainder; in p2m_pt_set_recalc_range() 282 pent = p2m_find_entry(table, &remainder, first_gfn, in p2m_pt_set_recalc_range() 293 err = p2m_next_level(p2m, &table, &gfn_remainder, first_gfn, in p2m_pt_set_recalc_range() 300 remainder = gfn_remainder + (last_gfn - first_gfn); in p2m_pt_set_recalc_range() 301 pent = p2m_find_entry(table, &gfn_remainder, first_gfn, in p2m_pt_set_recalc_range() 320 first_gfn += 1UL << (i * PAGETABLE_ORDER); in p2m_pt_set_recalc_range() 910 unsigned long first_gfn, in p2m_pt_change_entry_type_range() argument 921 if ( first_gfn & mask ) in p2m_pt_change_entry_type_range() 928 first_gfn = end_gfn + 1; in p2m_pt_change_entry_type_range() [all …]
|
A D | p2m-ept.c | 420 unsigned long first_gfn, in ept_invalidate_emt_range() argument 424 unsigned long gfn_remainder = first_gfn; in ept_invalidate_emt_range() 1053 unsigned long first_gfn, in ept_change_entry_type_range() argument 1065 if ( first_gfn & mask ) in ept_change_entry_type_range() 1067 unsigned long end_gfn = min(first_gfn | mask, last_gfn); in ept_change_entry_type_range() 1069 rc = ept_invalidate_emt_range(p2m, i, first_gfn, end_gfn); in ept_change_entry_type_range() 1073 first_gfn = end_gfn + 1; in ept_change_entry_type_range() 1077 unsigned long start_gfn = max(first_gfn, last_gfn & ~mask); in ept_change_entry_type_range() 1081 if ( rc < 0 || start_gfn <= first_gfn ) in ept_change_entry_type_range()
|
A D | p2m.c | 1188 gfn_t first_gfn, unsigned long max_nr) in finish_type_change() argument 1190 unsigned long gfn = gfn_x(first_gfn); in finish_type_change() 1219 gfn_t first_gfn, unsigned long max_nr) in p2m_finish_type_change() argument 1226 rc = finish_type_change(hostp2m, first_gfn, max_nr); in p2m_finish_type_change() 1242 rc = finish_type_change(altp2m, first_gfn, max_nr); in p2m_finish_type_change() 2671 uint64_t start = sve->first_gfn; in p2m_set_suppress_ve_multi() 2721 sve->first_gfn = start; in p2m_set_suppress_ve_multi()
|
A D | mem_sharing.c | 1396 unsigned long start = range->opaque ?: range->first_gfn; in range_share() 2024 (mso.u.range.opaque < mso.u.range.first_gfn || in mem_sharing_memop() 2067 if ( max_sgfn < mso.u.range.first_gfn || in mem_sharing_memop() 2069 max_cgfn < mso.u.range.first_gfn || in mem_sharing_memop()
|
/xen/tools/tests/mem-sharing/ |
A D | memshrtool.c | 189 uint64_t first_gfn, last_gfn; in main() local 196 first_gfn = strtoul(argv[4], NULL, 0); in main() 199 rc = xc_memshr_range_share(xch, sdomid, cdomid, first_gfn, last_gfn); in main()
|
/xen/xen/arch/x86/hvm/ |
A D | dm.c | 479 unsigned long first_gfn = data->opaque; in dm_op() local 487 if ( first_gfn == 0 ) in dm_op() 502 first_gfn <= p2m->max_mapped_pfn ) in dm_op() 505 rc = p2m_finish_type_change(d, _gfn(first_gfn), 256); in dm_op() 509 first_gfn += 256; in dm_op() 512 if ( first_gfn <= p2m->max_mapped_pfn && in dm_op() 516 data->opaque = first_gfn; in dm_op()
|
A D | hvm.c | 4716 a.u.suppress_ve_multi.first_gfn > a.u.suppress_ve_multi.last_gfn ) in do_altp2m_op()
|
/xen/tools/libxc/ |
A D | xc_memshr.c | 189 uint64_t first_gfn, in xc_memshr_range_share() argument 199 mso.u.range.first_gfn = first_gfn; in xc_memshr_range_share()
|
A D | xc_altp2m.c | 238 uint16_t view_id, xen_pfn_t first_gfn, in xc_altp2m_set_supress_ve_multi() argument 253 arg->u.suppress_ve_multi.first_gfn = first_gfn; in xc_altp2m_set_supress_ve_multi()
|
A D | xc_domain.c | 2024 unsigned long first_gfn, in xc_domain_memory_mapping() argument 2054 domctl.u.memory_mapping.first_gfn = first_gfn + done; in xc_domain_memory_mapping() 2084 xc_domain_memory_mapping(xch, domid, first_gfn, first_mfn, nr_mfns, in xc_domain_memory_mapping()
|
/xen/xen/include/asm-x86/ |
A D | p2m.h | 264 unsigned long first_gfn, 530 gfn_t first_gfn, second_gfn; member 569 gfn_x(rval->first_gfn), first_t, first_a, q, NULL, lock); in get_two_gfns() 580 put_gfn(arg->first_domain, gfn_x(arg->first_gfn)); in put_two_gfns() 631 gfn_t first_gfn,
|
/xen/xen/include/public/hvm/ |
A D | hvm_op.h | 55 uint64_t first_gfn; /* Value may be updated. */ member
|
/xen/xen/include/public/ |
A D | memory.h | 524 uint64_aligned_t first_gfn; /* IN: the first gfn */ member
|
A D | domctl.h | 597 uint64_aligned_t first_gfn; /* first page (hvm guest phys page) in range */ member
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 1718 unsigned long first_gfn, 1962 uint16_t view_id, xen_pfn_t first_gfn, 2267 uint64_t first_gfn,
|
/xen/xen/common/ |
A D | domctl.c | 810 unsigned long gfn = op->u.memory_mapping.first_gfn; in do_domctl()
|