Home
last modified time | relevance | path

Searched refs:mfn_t (Results 1 – 25 of 77) sorted by relevance

1234

/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dmulti.h64 (struct domain *d, mfn_t sl1mfn, mfn_t readonly_mfn);
67 (struct domain *d, mfn_t sl1mfn, mfn_t target_mfn);
75 (struct domain *d, mfn_t sl2mfn, mfn_t sl1mfn);
78 (struct domain *d, mfn_t sl3mfn, mfn_t sl2mfn);
81 (struct domain *d, mfn_t sl4mfn, mfn_t sl3mfn);
86 (struct vcpu *v, mfn_t sl1mfn, mfn_t x);
89 (struct vcpu *v, mfn_t sl1mfn, mfn_t x);
92 (struct vcpu *v, mfn_t sl2mfn, mfn_t x);
95 (struct vcpu *v, mfn_t sl3mfn, mfn_t x);
98 (struct vcpu *v, mfn_t sl4mfn, mfn_t x);
[all …]
A Dprivate.h316 static inline int mfn_is_out_of_sync(mfn_t gmfn) in mfn_is_out_of_sync()
327 static inline int mfn_oos_may_write(mfn_t gmfn) in mfn_oos_may_write()
359 mfn_t shadow_alloc(struct domain *d,
362 void shadow_free(struct domain *d, mfn_t smfn);
365 void sh_install_xen_entries_in_l4(struct domain *, mfn_t gl4mfn, mfn_t sl4mfn);
408 int sh_unsync(struct vcpu *v, mfn_t gmfn);
411 void sh_resync(struct domain *d, mfn_t gmfn);
413 void oos_fixup_add(struct domain *d, mfn_t gmfn, mfn_t smfn, unsigned long off);
442 mfn_t oos_snapshot_lookup(struct domain *d, mfn_t gmfn);
494 sh_mfn_is_a_page_table(mfn_t gmfn) in sh_mfn_is_a_page_table()
[all …]
A Dmulti.c96 static inline mfn_t
105 static inline mfn_t
331 mfn_t smfn; in sh_audit_gw()
438 static inline mfn_t sh_next_page(mfn_t smfn) in sh_next_page()
859 mfn_t mfn; in shadow_get_page_from_l1e()
1455 static mfn_t
1544 static mfn_t
1558 mfn_t
2303 void sh_resync_l1(struct vcpu *v, mfn_t gl1mfn, mfn_t snpmfn) in sh_resync_l1()
2361 mfn_t smfn; in sh_safe_not_to_sync()
[all …]
A Dtypes.h77 static inline mfn_t shadow_l1e_get_mfn(shadow_l1e_t sl1e) in shadow_l1e_get_mfn()
79 static inline mfn_t shadow_l2e_get_mfn(shadow_l2e_t sl2e) in shadow_l2e_get_mfn()
81 static inline mfn_t shadow_l3e_get_mfn(shadow_l3e_t sl3e) in shadow_l3e_get_mfn()
84 static inline mfn_t shadow_l4e_get_mfn(shadow_l4e_t sl4e) in shadow_l4e_get_mfn()
117 static inline shadow_l1e_t shadow_l1e_from_mfn(mfn_t mfn, u32 flags) in shadow_l1e_from_mfn()
119 static inline shadow_l2e_t shadow_l2e_from_mfn(mfn_t mfn, u32 flags) in shadow_l2e_from_mfn()
121 static inline shadow_l3e_t shadow_l3e_from_mfn(mfn_t mfn, u32 flags) in shadow_l3e_from_mfn()
124 static inline shadow_l4e_t shadow_l4e_from_mfn(mfn_t mfn, u32 flags) in shadow_l4e_from_mfn()
273 mfn_t sh_make_monitor_table(struct vcpu *v);
274 void sh_destroy_monitor_table(struct vcpu *v, mfn_t mmfn);
A Dcommon.c488 mfn_t *oos; in oos_audit_hash_is_present()
556 mfn_t *oos; in oos_fixup_add()
739 mfn_t *oos; in oos_hash_remove()
761 mfn_t oos_snapshot_lookup(struct domain *d, mfn_t gmfn) in oos_snapshot_lookup()
764 mfn_t *oos; in oos_snapshot_lookup()
789 mfn_t *oos; in sh_resync()
1197 mfn_t smfn; in _shadow_prealloc()
1269 mfn_t smfn; in shadow_blow_tables()
1639 mfn_t mfn; in emulate_gva_to_mfn()
2631 mfn_t pmfn; in sh_remove_shadow_via_pointer()
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Ddomain_page.h17 void clear_domain_page(mfn_t mfn);
18 void copy_domain_page(mfn_t dst, const mfn_t src);
26 void *map_domain_page(mfn_t mfn);
44 void *map_domain_page_global(mfn_t mfn);
61 static inline void *map_domain_page_global(mfn_t mfn) in map_domain_page_global()
A Dp2m-common.h8 guest_physmap_remove_page(struct domain *d, gfn_t gfn, mfn_t mfn,
17 mfn_t mfn);
21 mfn_t mfn);
A Dmm.h66 #ifndef mfn_t
67 #define mfn_t /* Grep fodder: mfn_t, _mfn() and mfn_x() are defined above */ macro
70 #undef mfn_t
75 static inline mfn_t mfn_add(mfn_t mfn, unsigned long i) in mfn_add()
80 static inline mfn_t mfn_max(mfn_t x, mfn_t y) in mfn_max()
85 static inline mfn_t mfn_min(mfn_t x, mfn_t y) in mfn_min()
90 static inline bool_t mfn_eq(mfn_t x, mfn_t y) in mfn_eq()
154 mfn_t alloc_boot_pages(unsigned long nr_pfns, unsigned long pfn_align);
A Dvmap.h15 void *__vmap(const mfn_t *mfn, unsigned int granularity, unsigned int nr,
17 void *vmap(const mfn_t *mfn, unsigned int nr);
A Dkimage.h51 mfn_t kimage_entry_mfn(kimage_entry_t *entry, bool_t compat);
53 int kimage_build_ind(struct kexec_image *image, mfn_t ind_mfn,
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dp2m.h208 mfn_t p2m_lookup(struct domain *d, gfn_t gfn, p2m_type_t *t);
214 mfn_t p2m_get_entry(struct p2m_domain *p2m, gfn_t gfn,
225 mfn_t smfn,
239 mfn_t mfn,
245 mfn_t mfn);
250 mfn_t mfn);
254 mfn_t mfn,
261 mfn_t mfn, in guest_physmap_add_page()
267 mfn_t gfn_to_mfn(struct domain *d, gfn_t gfn);
309 bool is_iomem_page(mfn_t mfn);
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dp2m.h243 mfn_t (*get_entry)(struct p2m_domain *p2m,
408 mfn_t __nonnull(3, 4) __get_gfn_type_access(
419 static inline mfn_t __nonnull(3, 4) get_gfn_type_access( in get_gfn_type_access()
427 static inline mfn_t __nonnull(3) get_gfn_type( in get_gfn_type()
462 static inline mfn_t get_gfn_query_unlocked(struct domain *d, in get_gfn_query_unlocked()
496 static inline unsigned long mfn_to_gfn(struct domain *d, mfn_t mfn) in mfn_to_gfn()
519 mfn_t *first_mfn, *second_mfn, scratch_mfn; in get_two_gfns()
575 mfn_t mfn, unsigned int page_order,
581 mfn_t mfn, in guest_physmap_add_page()
687 mfn_t p2m_alloc_ptp(struct p2m_domain *p2m, unsigned int level);
[all …]
A Dpaging.h94 intpte_t new, mfn_t gmfn);
97 mfn_t gmfn);
98 mfn_t (*make_monitor_table )(struct vcpu *v);
99 void (*destroy_monitor_table )(struct vcpu *v, mfn_t mmfn);
101 unsigned long vaddr, mfn_t gmfn);
153 void paging_mark_dirty(struct domain *d, mfn_t gmfn);
159 int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn);
299 struct vcpu *v, intpte_t *p, intpte_t new, mfn_t gmfn) in paging_write_guest_entry()
317 struct vcpu *v, intpte_t *p, intpte_t *old, intpte_t new, mfn_t gmfn) in paging_cmpxchg_guest_entry()
A Dshadow.h81 void sh_remove_shadows(struct domain *d, mfn_t gmfn, int fast, int all);
104 static inline void sh_remove_shadows(struct domain *d, mfn_t gmfn, in sh_remove_shadows()
119 static inline void shadow_remove_all_shadows(struct domain *d, mfn_t gmfn) in shadow_remove_all_shadows()
A Dmm.h345 void init_xen_l4_slots(l4_pgentry_t *l4t, mfn_t l4mfn,
346 const struct domain *d, mfn_t sl4mfn, bool ro_mpt);
347 bool fill_ro_mpt(mfn_t mfn);
348 void zap_ro_mpt(mfn_t mfn);
350 bool is_iomem_page(mfn_t mfn);
385 static inline bool get_page_from_mfn(mfn_t mfn, struct domain *d) in get_page_from_mfn()
564 void make_cr3(struct vcpu *v, mfn_t mfn);
A Dguest_pt.h354 mfn_t l4mfn; /* MFN that the level 4 entry was in */
355 mfn_t l3mfn; /* MFN that the level 3 entry was in */
357 mfn_t l2mfn; /* MFN that the level 2 entry was in */
358 mfn_t l1mfn; /* MFN that the level 1 entry was in */
428 walk_t *gw, uint32_t pfec, mfn_t top_mfn, void *top_map);
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dp2m.c257 mfn_t mfn; in p2m_next_level()
301 mfn_t mfn = INVALID_MFN; in p2m_get_entry()
379 mfn_t ret; in p2m_lookup()
644 mfn_t mfn; in p2m_free_entry()
699 mfn_t mfn = _mfn(entry->p2m.base); in p2m_split_superpage()
979 mfn_t smfn, in p2m_set_entry()
1059 mfn_t mfn, in map_regions_p2mt()
1068 mfn_t mfn) in unmap_regions_p2mt()
1076 mfn_t mfn) in map_mmio_regions()
1084 mfn_t mfn) in unmap_mmio_regions()
[all …]
A Dmm.c148 mfn_t xenheap_mfn_end __read_mostly;
190 const mfn_t root_mfn = maddr_to_mfn(ttbr); in dump_pt_walk()
384 void *map_domain_page_global(mfn_t mfn) in map_domain_page_global()
395 void *map_domain_page(mfn_t mfn) in map_domain_page()
869 mfn_t first_mfn = alloc_boot_pages(1, 1); in setup_xenheap_mappings()
896 mfn_t base_mfn; in setup_frametable_mappings()
901 mfn_t second_base; in setup_frametable_mappings()
947 mfn_t mfn = _mfn(PFN_DOWN(pa)); in ioremap_attr()
987 mfn_t mfn, in create_xen_entries()
1230 mfn_t mfn = INVALID_MFN; in xenmem_add_to_physmap_one()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddebug.c45 static mfn_t
48 mfn_t mfn; in dbg_hvm_va2mfn()
93 static mfn_t
101 mfn_t mfn = maddr_to_mfn(cr3); in dbg_pv_va2mfn()
165 mfn_t mfn; in dbg_rw_guest_mem()
/xen-4.10.0-shim-comet/xen/include/asm-x86/guest/
A Dxen.h37 int hypervisor_alloc_unused_page(mfn_t *mfn);
38 int hypervisor_free_unused_page(mfn_t mfn);
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m.c423 mfn_t mfn; in __get_gfn_type_access()
484 mfn_t mfn; in p2m_get_page_from_gfn()
774 mfn_t omfn; in guest_physmap_add_entry()
952 mfn_t mfn; in p2m_change_type_one()
1159 mfn_t mfn; in set_identity_p2m_entry()
1249 mfn_t mfn; in clear_identity_p2m_entry()
1344 mfn_t mfn; in p2m_mem_paging_nominate()
1405 mfn_t mfn; in p2m_mem_paging_evict()
1525 mfn_t mfn; in p2m_mem_paging_populate()
1595 mfn_t mfn; in p2m_mem_paging_prep()
[all …]
A Dpaging.c60 static mfn_t paging_new_log_dirty_page(struct domain *d) in paging_new_log_dirty_page()
77 static mfn_t paging_new_log_dirty_leaf(struct domain *d) in paging_new_log_dirty_leaf()
79 mfn_t mfn = paging_new_log_dirty_page(d); in paging_new_log_dirty_leaf()
90 mfn_t mfn = paging_new_log_dirty_page(d); in paging_new_log_dirty_node()
94 mfn_t *node = map_domain_page(mfn); in paging_new_log_dirty_node()
118 mfn_t *l4, *l3, *l2; in paging_free_log_dirty_bitmap()
269 mfn_t mfn, *l4, *l3, *l2; in paging_mark_pfn_dirty()
344 void paging_mark_dirty(struct domain *d, mfn_t gmfn) in paging_mark_dirty()
360 int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn) in paging_mfn_is_dirty()
363 mfn_t mfn, *l4, *l3, *l2; in paging_mfn_is_dirty()
[all …]
A Dmem_access.c44 mfn_t mfn; in _p2m_get_mem_access()
148 mfn_t mfn; in p2m_mem_access_check()
243 mfn_t mfn; in p2m_set_altp2m_mem_access()
268 mfn_t mfn2 = _mfn(mfn_x(mfn) & mask); in p2m_set_altp2m_mem_access()
295 mfn_t mfn; in set_mem_access()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/
A Dhap.c266 static void hap_free(struct domain *d, mfn_t mfn) in hap_free()
395 static mfn_t hap_make_monitor_table(struct vcpu *v) in hap_make_monitor_table()
400 mfn_t m4mfn; in hap_make_monitor_table()
421 static void hap_destroy_monitor_table(struct vcpu* v, mfn_t mmfn) in hap_destroy_monitor_table()
554 mfn_t mfn; in hap_teardown()
704 mfn_t mmfn = hap_make_monitor_table(v); in hap_update_paging_modes()
736 mfn_t omfn = l1e_get_mfn(*p); in hap_write_p2m_entry()
737 mfn_t nmfn = l1e_get_mfn(new); in hap_write_p2m_entry()
/xen-4.10.0-shim-comet/xen/common/
A Dvmap.c202 void *__vmap(const mfn_t *mfn, unsigned int granularity, in __vmap()
221 void *vmap(const mfn_t *mfn, unsigned int nr) in vmap()
244 mfn_t *mfn; in vmalloc_type()
252 mfn = xmalloc_array(mfn_t, pages); in vmalloc_type()

Completed in 59 milliseconds

1234