/root/src/xen/xen/include/asm/mm.h
Line | Count | Source (jump to first uncovered line) |
1 | | |
2 | | #ifndef __ASM_X86_MM_H__ |
3 | | #define __ASM_X86_MM_H__ |
4 | | |
5 | | #include <xen/list.h> |
6 | | #include <xen/spinlock.h> |
7 | | #include <xen/rwlock.h> |
8 | | #include <asm/io.h> |
9 | | #include <asm/uaccess.h> |
10 | | #include <asm/x86_emulate.h> |
11 | | |
12 | | /* |
13 | | * Per-page-frame information. |
14 | | * |
15 | | * Every architecture must ensure the following: |
16 | | * 1. 'struct page_info' contains a 'struct page_list_entry list'. |
17 | | * 2. Provide a PFN_ORDER() macro for accessing the order of a free page. |
18 | | */ |
19 | 8.37M | #define PFN_ORDER(_pfn) ((_pfn)->v.free.order) |
20 | | |
21 | | #ifndef CONFIG_BIGMEM |
22 | | /* |
23 | | * This definition is solely for the use in struct page_info (and |
24 | | * struct page_list_head), intended to allow easy adjustment once x86-64 |
25 | | * wants to support more than 16TB. |
26 | | * 'unsigned long' should be used for MFNs everywhere else. |
27 | | */ |
28 | | #define __pdx_t unsigned int |
29 | | |
30 | | #undef page_list_entry |
31 | | struct page_list_entry |
32 | | { |
33 | | __pdx_t next, prev; |
34 | | }; |
35 | | #else |
36 | | #define __pdx_t unsigned long |
37 | | #endif |
38 | | |
39 | | struct page_sharing_info; |
40 | | |
41 | | struct page_info |
42 | | { |
43 | | union { |
44 | | /* Each frame can be threaded onto a doubly-linked list. |
45 | | * |
46 | | * For unused shadow pages, a list of free shadow pages; |
47 | | * for multi-page shadows, links to the other pages in this shadow; |
48 | | * for pinnable shadows, if pinned, a list of all pinned shadows |
49 | | * (see sh_type_is_pinnable() for the definition of "pinnable" |
50 | | * shadow types). N.B. a shadow may be both pinnable and multi-page. |
51 | | * In that case the pages are inserted in order in the list of |
52 | | * pinned shadows and walkers of that list must be prepared |
53 | | * to keep them all together during updates. |
54 | | */ |
55 | | struct page_list_entry list; |
56 | | /* For non-pinnable single-page shadows, a higher entry that points |
57 | | * at us. */ |
58 | | paddr_t up; |
59 | | /* For shared/sharable pages, we use a doubly-linked list |
60 | | * of all the {pfn,domain} pairs that map this page. We also include |
61 | | * an opaque handle, which is effectively a version, so that clients |
62 | | * of sharing share the version they expect to. |
63 | | * This list is allocated and freed when a page is shared/unshared. |
64 | | */ |
65 | | struct page_sharing_info *sharing; |
66 | | }; |
67 | | |
68 | | /* Reference count and various PGC_xxx flags and fields. */ |
69 | | unsigned long count_info; |
70 | | |
71 | | /* Context-dependent fields follow... */ |
72 | | union { |
73 | | |
74 | | /* Page is in use: ((count_info & PGC_count_mask) != 0). */ |
75 | | struct { |
76 | | /* Type reference count and various PGT_xxx flags and fields. */ |
77 | | unsigned long type_info; |
78 | | } inuse; |
79 | | |
80 | | /* Page is in use as a shadow: count_info == 0. */ |
81 | | struct { |
82 | | unsigned long type:5; /* What kind of shadow is this? */ |
83 | | unsigned long pinned:1; /* Is the shadow pinned? */ |
84 | | unsigned long head:1; /* Is this the first page of the shadow? */ |
85 | | unsigned long count:25; /* Reference count */ |
86 | | } sh; |
87 | | |
88 | | /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */ |
89 | | union { |
90 | | struct { |
91 | | /* |
92 | | * Index of the first *possibly* unscrubbed page in the buddy. |
93 | | * One more bit than maximum possible order to accommodate |
94 | | * INVALID_DIRTY_IDX. |
95 | | */ |
96 | 16.8M | #define INVALID_DIRTY_IDX ((1UL << (MAX_ORDER + 1)) - 1) |
97 | | unsigned int first_dirty; |
98 | | |
99 | | /* Do TLBs need flushing for safety before next page use? */ |
100 | | bool need_tlbflush; |
101 | | |
102 | 4.18M | #define BUDDY_NOT_SCRUBBING 0 |
103 | 4.14M | #define BUDDY_SCRUBBING 1 |
104 | 429 | #define BUDDY_SCRUB_ABORT 2 |
105 | | uint8_t scrub_state; |
106 | | }; |
107 | | |
108 | | unsigned long val; |
109 | | } free; |
110 | | |
111 | | } u; |
112 | | |
113 | | union { |
114 | | |
115 | | /* Page is in use, but not as a shadow. */ |
116 | | struct { |
117 | | /* Owner of this page (zero if page is anonymous). */ |
118 | | __pdx_t _domain; |
119 | | } inuse; |
120 | | |
121 | | /* Page is in use as a shadow. */ |
122 | | struct { |
123 | | /* GMFN of guest page we're a shadow of. */ |
124 | | __pdx_t back; |
125 | | } sh; |
126 | | |
127 | | /* Page is on a free list. */ |
128 | | struct { |
129 | | /* Order-size of the free chunk this page is the head of. */ |
130 | | unsigned int order; |
131 | | } free; |
132 | | |
133 | | } v; |
134 | | |
135 | | union { |
136 | | /* |
137 | | * Timestamp from 'TLB clock', used to avoid extra safety flushes. |
138 | | * Only valid for: a) free pages, and b) pages with zero type count |
139 | | * (except page table pages when the guest is in shadow mode). |
140 | | */ |
141 | | u32 tlbflush_timestamp; |
142 | | |
143 | | /* |
144 | | * When PGT_partial is true then the first two fields are valid and |
145 | | * indicate that PTEs in the range [0, @nr_validated_ptes) have been |
146 | | * validated. An extra page reference must be acquired (or not dropped) |
147 | | * whenever PGT_partial gets set, and it must be dropped when the flag |
148 | | * gets cleared. This is so that a get() leaving a page in partially |
149 | | * validated state (where the caller would drop the reference acquired |
150 | | * due to the getting of the type [apparently] failing [-ERESTART]) |
151 | | * would not accidentally result in a page left with zero general |
152 | | * reference count, but non-zero type reference count (possible when |
153 | | * the partial get() is followed immediately by domain destruction). |
154 | | * Likewise, the ownership of the single type reference for partially |
155 | | * (in-)validated pages is tied to this flag, i.e. the instance |
156 | | * setting the flag must not drop that reference, whereas the instance |
157 | | * clearing it will have to. |
158 | | * |
159 | | * If @partial_pte is positive then PTE at @nr_validated_ptes+1 has |
160 | | * been partially validated. This implies that the general reference |
161 | | * to the page (acquired from get_page_from_lNe()) would be dropped |
162 | | * (again due to the apparent failure) and hence must be re-acquired |
163 | | * when resuming the validation, but must not be dropped when picking |
164 | | * up the page for invalidation. |
165 | | * |
166 | | * If @partial_pte is negative then PTE at @nr_validated_ptes+1 has |
167 | | * been partially invalidated. This is basically the opposite case of |
168 | | * above, i.e. the general reference to the page was not dropped in |
169 | | * put_page_from_lNe() (due to the apparent failure), and hence it |
170 | | * must be dropped when the put operation is resumed (and completes), |
171 | | * but it must not be acquired if picking up the page for validation. |
172 | | * |
173 | | * The 3rd field, @linear_pt_count, indicates |
174 | | * - by a positive value, how many same-level page table entries a page |
175 | | * table has, |
176 | | * - by a negative value, in how many same-level page tables a page is |
177 | | * in use. |
178 | | */ |
179 | | struct { |
180 | | u16 nr_validated_ptes:PAGETABLE_ORDER + 1; |
181 | | u16 :16 - PAGETABLE_ORDER - 1 - 2; |
182 | | s16 partial_pte:2; |
183 | | s16 linear_pt_count; |
184 | | }; |
185 | | |
186 | | /* |
187 | | * Guest pages with a shadow. This does not conflict with |
188 | | * tlbflush_timestamp since page table pages are explicitly not |
189 | | * tracked for TLB-flush avoidance when a guest runs in shadow mode. |
190 | | */ |
191 | | u32 shadow_flags; |
192 | | |
193 | | /* When in use as a shadow, next shadow in this hash chain. */ |
194 | | __pdx_t next_shadow; |
195 | | }; |
196 | | }; |
197 | | |
198 | | #undef __pdx_t |
199 | | |
200 | 59.6M | #define PG_shift(idx) (BITS_PER_LONG - (idx)) |
201 | 59.6M | #define PG_mask(x, idx) (x ## UL << PG_shift(idx)) |
202 | | |
203 | | /* The following page types are MUTUALLY EXCLUSIVE. */ |
204 | 13.3k | #define PGT_none PG_mask(0, 3) /* no special uses of this page */ |
205 | 1.28k | #define PGT_l1_page_table PG_mask(1, 3) /* using as an L1 page table? */ |
206 | 0 | #define PGT_l2_page_table PG_mask(2, 3) /* using as an L2 page table? */ |
207 | 0 | #define PGT_l3_page_table PG_mask(3, 3) /* using as an L3 page table? */ |
208 | 0 | #define PGT_l4_page_table PG_mask(4, 3) /* using as an L4 page table? */ |
209 | 0 | #define PGT_seg_desc_page PG_mask(5, 3) /* using this page in a GDT/LDT? */ |
210 | 0 | #define PGT_shared_page PG_mask(6, 3) /* CoW sharable page */ |
211 | 14.6k | #define PGT_writable_page PG_mask(7, 3) /* has writable mappings? */ |
212 | 27 | #define PGT_type_mask PG_mask(7, 3) /* Bits 61-63. */ |
213 | | |
214 | | /* Page is locked? */ |
215 | | #define _PGT_locked PG_shift(4) |
216 | 0 | #define PGT_locked PG_mask(1, 4) |
217 | | /* Owning guest has pinned this page to its current type? */ |
218 | | #define _PGT_pinned PG_shift(5) |
219 | 0 | #define PGT_pinned PG_mask(1, 5) |
220 | | /* Has this page been validated for use as its current type? */ |
221 | | #define _PGT_validated PG_shift(6) |
222 | 29.2k | #define PGT_validated PG_mask(1, 6) |
223 | | /* PAE only: is this an L2 page directory containing Xen-private mappings? */ |
224 | | #define _PGT_pae_xen_l2 PG_shift(7) |
225 | 0 | #define PGT_pae_xen_l2 PG_mask(1, 7) |
226 | | /* Has this page been *partially* validated for use as its current type? */ |
227 | | #define _PGT_partial PG_shift(8) |
228 | 14 | #define PGT_partial PG_mask(1, 8) |
229 | | |
230 | | /* Count of uses of this frame as its current type. */ |
231 | 0 | #define PGT_count_width PG_shift(8) |
232 | 0 | #define PGT_count_mask ((1UL<<PGT_count_width)-1) |
233 | | |
234 | | /* Are the 'type mask' bits identical? */ |
235 | 0 | #define PGT_type_equal(x, y) (!(((x) ^ (y)) & PGT_type_mask)) |
236 | | |
237 | | /* Cleared when the owning guest 'frees' this page. */ |
238 | | #define _PGC_allocated PG_shift(1) |
239 | 8.19M | #define PGC_allocated PG_mask(1, 1) |
240 | | /* Page is Xen heap? */ |
241 | | #define _PGC_xen_heap PG_shift(2) |
242 | 4.21M | #define PGC_xen_heap PG_mask(1, 2) |
243 | | /* Set when is using a page as a page table */ |
244 | | #define _PGC_page_table PG_shift(3) |
245 | 2 | #define PGC_page_table PG_mask(1, 3) |
246 | | /* 3-bit PAT/PCD/PWT cache-attribute hint. */ |
247 | 150 | #define PGC_cacheattr_base PG_shift(6) |
248 | 150 | #define PGC_cacheattr_mask PG_mask(7, 6) |
249 | | /* Page is broken? */ |
250 | | #define _PGC_broken PG_shift(7) |
251 | 4.14M | #define PGC_broken PG_mask(1, 7) |
252 | | /* Mutually-exclusive page states: { inuse, offlining, offlined, free }. */ |
253 | 17.4M | #define PGC_state PG_mask(3, 9) |
254 | 4.11M | #define PGC_state_inuse PG_mask(0, 9) |
255 | 4.14M | #define PGC_state_offlining PG_mask(1, 9) |
256 | 4.14M | #define PGC_state_offlined PG_mask(2, 9) |
257 | 13.2M | #define PGC_state_free PG_mask(3, 9) |
258 | 17.4M | #define page_state_is(pg, st) (((pg)->count_info&PGC_state) == PGC_state_##st) |
259 | | |
260 | | /* Count of references to this frame. */ |
261 | 0 | #define PGC_count_width PG_shift(9) |
262 | 0 | #define PGC_count_mask ((1UL<<PGC_count_width)-1) |
263 | | |
264 | | /* |
265 | | * Page needs to be scrubbed. Since this bit can only be set on a page that is |
266 | | * free (i.e. in PGC_state_free) we can reuse PGC_allocated bit. |
267 | | */ |
268 | | #define _PGC_need_scrub _PGC_allocated |
269 | 4.11M | #define PGC_need_scrub PGC_allocated |
270 | | |
271 | 4.18M | #define is_xen_heap_page(page) ((page)->count_info & PGC_xen_heap) |
272 | | #define is_xen_heap_mfn(mfn) \ |
273 | 2 | (__mfn_valid(mfn) && is_xen_heap_page(__mfn_to_page(mfn))) |
274 | | #define is_xen_fixed_mfn(mfn) \ |
275 | 0 | ((((mfn) << PAGE_SHIFT) >= __pa(&_stext)) && \ |
276 | 0 | (((mfn) << PAGE_SHIFT) <= __pa(&__2M_rwdata_end))) |
277 | | |
278 | | #define PRtype_info "016lx"/* should only be used for printk's */ |
279 | | |
280 | | /* The number of out-of-sync shadows we allow per vcpu (prime, please) */ |
281 | 0 | #define SHADOW_OOS_PAGES 3 |
282 | | |
283 | | /* OOS fixup entries */ |
284 | 0 | #define SHADOW_OOS_FIXUPS 2 |
285 | | |
286 | | #define page_get_owner(_p) \ |
287 | 18.3M | ((struct domain *)((_p)->v.inuse._domain ? \ |
288 | 14.1M | pdx_to_virt((_p)->v.inuse._domain) : NULL)) |
289 | | #define page_set_owner(_p,_d) \ |
290 | 12.3M | ((_p)->v.inuse._domain = (_d) ? virt_to_pdx(_d) : 0) |
291 | | |
292 | 0 | #define maddr_get_owner(ma) (page_get_owner(maddr_to_page((ma)))) |
293 | | |
294 | 14.5k | #define XENSHARE_writable 0 |
295 | 13.3k | #define XENSHARE_readonly 1 |
296 | | extern void share_xen_page_with_guest( |
297 | | struct page_info *page, struct domain *d, int readonly); |
298 | | extern int unshare_xen_page_with_guest(struct page_info *page, |
299 | | struct domain *d); |
300 | | extern void share_xen_page_with_privileged_guests( |
301 | | struct page_info *page, int readonly); |
302 | | extern void free_shared_domheap_page(struct page_info *page); |
303 | | |
304 | 51.4M | #define frame_table ((struct page_info *)FRAMETABLE_VIRT_START) |
305 | | extern unsigned long max_page; |
306 | | extern unsigned long total_pages; |
307 | | void init_frametable(void); |
308 | | |
309 | 50 | #define PDX_GROUP_SHIFT L2_PAGETABLE_SHIFT |
310 | | |
311 | | /* Convert between Xen-heap virtual addresses and page-info structures. */ |
312 | | static inline struct page_info *__virt_to_page(const void *v) |
313 | 30 | { |
314 | 30 | unsigned long va = (unsigned long)v; |
315 | 30 | |
316 | 30 | ASSERT(va >= XEN_VIRT_START); |
317 | 30 | ASSERT(va < DIRECTMAP_VIRT_END); |
318 | 30 | if ( va < XEN_VIRT_END ) |
319 | 0 | va += DIRECTMAP_VIRT_START - XEN_VIRT_START + xen_phys_start; |
320 | 30 | else |
321 | 30 | ASSERT(va >= DIRECTMAP_VIRT_START); |
322 | 30 | return frame_table + ((va - DIRECTMAP_VIRT_START) >> PAGE_SHIFT); |
323 | 30 | } Unexecuted instantiation: i8254.c:__virt_to_page Unexecuted instantiation: mmconfig-shared.c:__virt_to_page Unexecuted instantiation: mmconfig_64.c:__virt_to_page Unexecuted instantiation: mmconf-fam10h.c:__virt_to_page Unexecuted instantiation: acpi_mmcfg.c:__virt_to_page Unexecuted instantiation: ro-page-fault.c:__virt_to_page Unexecuted instantiation: misc-hypercalls.c:__virt_to_page Unexecuted instantiation: iret.c:__virt_to_page Unexecuted instantiation: emul-priv-op.c:__virt_to_page Unexecuted instantiation: emul-inv-op.c:__virt_to_page Unexecuted instantiation: emul-gate-op.c:__virt_to_page Unexecuted instantiation: descriptor-tables.c:__virt_to_page Unexecuted instantiation: callback.c:__virt_to_page Unexecuted instantiation: backtrace.c:__virt_to_page Unexecuted instantiation: op_model_athlon.c:__virt_to_page Unexecuted instantiation: op_model_ppro.c:__virt_to_page Unexecuted instantiation: op_model_p4.c:__virt_to_page Unexecuted instantiation: nmi_int.c:__virt_to_page Unexecuted instantiation: nested_ept.c:__virt_to_page Unexecuted instantiation: nested_hap.c:__virt_to_page Unexecuted instantiation: hap.c:__virt_to_page Unexecuted instantiation: multi.c:__virt_to_page Unexecuted instantiation: mem_sharing.c:__virt_to_page Unexecuted instantiation: mem_paging.c:__virt_to_page Unexecuted instantiation: guest_walk.c:__virt_to_page Unexecuted instantiation: altp2m.c:__virt_to_page Unexecuted instantiation: p2m-pod.c:__virt_to_page Unexecuted instantiation: p2m-ept.c:__virt_to_page Unexecuted instantiation: p2m-pt.c:__virt_to_page Unexecuted instantiation: p2m.c:__virt_to_page Unexecuted instantiation: paging.c:__virt_to_page Unexecuted instantiation: vvmx.c:__virt_to_page Unexecuted instantiation: vmx.c:__virt_to_page Unexecuted instantiation: vmcs.c:__virt_to_page Unexecuted instantiation: realmode.c:__virt_to_page Unexecuted instantiation: vmcb.c:__virt_to_page Unexecuted instantiation: svmdebug.c:__virt_to_page Unexecuted instantiation: svm.c:__virt_to_page Unexecuted instantiation: nestedsvm.c:__virt_to_page Unexecuted instantiation: intr.c:__virt_to_page Unexecuted instantiation: vpt.c:__virt_to_page Unexecuted instantiation: vpic.c:__virt_to_page Unexecuted instantiation: vmsi.c:__virt_to_page Unexecuted instantiation: vlapic.c:__virt_to_page Unexecuted instantiation: viridian.c:__virt_to_page Unexecuted instantiation: vioapic.c:__virt_to_page Unexecuted instantiation: stdvga.c:__virt_to_page Unexecuted instantiation: save.c:__virt_to_page Unexecuted instantiation: rtc.c:__virt_to_page Unexecuted instantiation: pmtimer.c:__virt_to_page Unexecuted instantiation: nestedhvm.c:__virt_to_page Unexecuted instantiation: mtrr.c:__virt_to_page Unexecuted instantiation: ioreq.c:__virt_to_page Unexecuted instantiation: intercept.c:__virt_to_page Unexecuted instantiation: hvm.c:__virt_to_page Unexecuted instantiation: emulate.c:__virt_to_page Unexecuted instantiation: dm.c:__virt_to_page Unexecuted instantiation: asid.c:__virt_to_page Unexecuted instantiation: probe.c:__virt_to_page Unexecuted instantiation: delivery.c:__virt_to_page Unexecuted instantiation: default.c:__virt_to_page Unexecuted instantiation: x2apic.c:__virt_to_page Unexecuted instantiation: bigsmp.c:__virt_to_page Unexecuted instantiation: main.c:__virt_to_page Unexecuted instantiation: generic.c:__virt_to_page Unexecuted instantiation: vmce.c:__virt_to_page Unexecuted instantiation: util.c:__virt_to_page Unexecuted instantiation: non-fatal.c:__virt_to_page Unexecuted instantiation: mce_intel.c:__virt_to_page Unexecuted instantiation: mce-apei.c:__virt_to_page Unexecuted instantiation: mce.c:__virt_to_page Unexecuted instantiation: mctelem.c:__virt_to_page Unexecuted instantiation: barrier.c:__virt_to_page Unexecuted instantiation: mcaction.c:__virt_to_page Unexecuted instantiation: mce_amd.c:__virt_to_page Unexecuted instantiation: amd_nonfatal.c:__virt_to_page Unexecuted instantiation: vpmu_intel.c:__virt_to_page Unexecuted instantiation: vpmu_amd.c:__virt_to_page Unexecuted instantiation: vpmu.c:__virt_to_page Unexecuted instantiation: mwait-idle.c:__virt_to_page Unexecuted instantiation: intel.c:__virt_to_page Unexecuted instantiation: common.c:__virt_to_page Unexecuted instantiation: amd.c:__virt_to_page Unexecuted instantiation: powernow.c:__virt_to_page Unexecuted instantiation: cpuidle_menu.c:__virt_to_page Unexecuted instantiation: cpu_idle.c:__virt_to_page Unexecuted instantiation: suspend.c:__virt_to_page Unexecuted instantiation: power.c:__virt_to_page Unexecuted instantiation: lib.c:__virt_to_page Unexecuted instantiation: xstate.c:__virt_to_page Unexecuted instantiation: hpet.c:__virt_to_page Unexecuted instantiation: tboot.c:__virt_to_page Unexecuted instantiation: x86_emulate.c:__virt_to_page Unexecuted instantiation: usercopy.c:__virt_to_page Unexecuted instantiation: traps.c:__virt_to_page Unexecuted instantiation: srat.c:__virt_to_page Unexecuted instantiation: smpboot.c:__virt_to_page Unexecuted instantiation: smp.c:__virt_to_page Unexecuted instantiation: setup.c:__virt_to_page Unexecuted instantiation: psr.c:__virt_to_page Unexecuted instantiation: platform_hypercall.c:__virt_to_page Unexecuted instantiation: physdev.c:__virt_to_page Unexecuted instantiation: percpu.c:__virt_to_page Unexecuted instantiation: numa.c:__virt_to_page Unexecuted instantiation: nmi.c:__virt_to_page Unexecuted instantiation: mpparse.c:__virt_to_page Unexecuted instantiation: mm.c:__virt_to_page Unexecuted instantiation: microcode.c:__virt_to_page Unexecuted instantiation: microcode_intel.c:__virt_to_page Unexecuted instantiation: microcode_amd.c:__virt_to_page Unexecuted instantiation: machine_kexec.c:__virt_to_page Unexecuted instantiation: ioport_emulate.c:__virt_to_page Unexecuted instantiation: msr.c:__virt_to_page Unexecuted instantiation: io_apic.c:__virt_to_page Unexecuted instantiation: i8259.c:__virt_to_page Unexecuted instantiation: i387.c:__virt_to_page Unexecuted instantiation: hypercall.c:__virt_to_page Unexecuted instantiation: flushtlb.c:__virt_to_page Unexecuted instantiation: extable.c:__virt_to_page Unexecuted instantiation: e820.c:__virt_to_page Unexecuted instantiation: domain_page.c:__virt_to_page Unexecuted instantiation: debug.c:__virt_to_page Unexecuted instantiation: crash.c:__virt_to_page Unexecuted instantiation: compat.c:__virt_to_page Unexecuted instantiation: cpuid.c:__virt_to_page Unexecuted instantiation: apic.c:__virt_to_page Unexecuted instantiation: xsm_core.c:__virt_to_page Unexecuted instantiation: vesa.c:__virt_to_page Unexecuted instantiation: vga.c:__virt_to_page Unexecuted instantiation: apei-io.c:__virt_to_page Unexecuted instantiation: apei-base.c:__virt_to_page Unexecuted instantiation: hest.c:__virt_to_page Unexecuted instantiation: erst.c:__virt_to_page Unexecuted instantiation: reboot.c:__virt_to_page Unexecuted instantiation: hwregs.c:__virt_to_page Unexecuted instantiation: pmstat.c:__virt_to_page Unexecuted instantiation: osl.c:__virt_to_page Unexecuted instantiation: iommu_guest.c:__virt_to_page Unexecuted instantiation: iommu_cmd.c:__virt_to_page Unexecuted instantiation: iommu_intr.c:__virt_to_page Unexecuted instantiation: pci_amd_iommu.c:__virt_to_page Unexecuted instantiation: iommu_map.c:__virt_to_page Unexecuted instantiation: iommu_init.c:__virt_to_page Unexecuted instantiation: ats.c:__virt_to_page Unexecuted instantiation: vtd.c:__virt_to_page Unexecuted instantiation: quirks.c:__virt_to_page Unexecuted instantiation: intremap.c:__virt_to_page Unexecuted instantiation: qinval.c:__virt_to_page Unexecuted instantiation: utils.c:__virt_to_page Unexecuted instantiation: dmar.c:__virt_to_page Unexecuted instantiation: io.c:__virt_to_page Unexecuted instantiation: iommu.c:__virt_to_page Unexecuted instantiation: msix.c:__virt_to_page Unexecuted instantiation: msi.c:__virt_to_page Unexecuted instantiation: header.c:__virt_to_page Unexecuted instantiation: vpci.c:__virt_to_page Unexecuted instantiation: pci.c:__virt_to_page Unexecuted instantiation: utility.c:__virt_to_page Unexecuted instantiation: cpufreq_misc_governors.c:__virt_to_page Unexecuted instantiation: cpufreq_ondemand.c:__virt_to_page Unexecuted instantiation: cpufreq.c:__virt_to_page Unexecuted instantiation: serial.c:__virt_to_page Unexecuted instantiation: ehci-dbgp.c:__virt_to_page Unexecuted instantiation: ns16550.c:__virt_to_page Unexecuted instantiation: console.c:__virt_to_page Unexecuted instantiation: libelf-loader.c:__virt_to_page Unexecuted instantiation: llvm.c:__virt_to_page Unexecuted instantiation: tmem_control.c:__virt_to_page Unexecuted instantiation: tmem_xen.c:__virt_to_page Unexecuted instantiation: tmem.c:__virt_to_page xmalloc_tlsf.c:__virt_to_page Line | Count | Source | 313 | 18 | { | 314 | 18 | unsigned long va = (unsigned long)v; | 315 | 18 | | 316 | 18 | ASSERT(va >= XEN_VIRT_START); | 317 | 18 | ASSERT(va < DIRECTMAP_VIRT_END); | 318 | 18 | if ( va < XEN_VIRT_END ) | 319 | 0 | va += DIRECTMAP_VIRT_START - XEN_VIRT_START + xen_phys_start; | 320 | 18 | else | 321 | 18 | ASSERT(va >= DIRECTMAP_VIRT_START); | 322 | 18 | return frame_table + ((va - DIRECTMAP_VIRT_START) >> PAGE_SHIFT); | 323 | 18 | } |
Unexecuted instantiation: xenoprof.c:__virt_to_page Unexecuted instantiation: wait.c:__virt_to_page Unexecuted instantiation: vsprintf.c:__virt_to_page Unexecuted instantiation: vmap.c:__virt_to_page Unexecuted instantiation: vm_event.c:__virt_to_page Unexecuted instantiation: trace.c:__virt_to_page Unexecuted instantiation: timer.c:__virt_to_page Unexecuted instantiation: time.c:__virt_to_page Unexecuted instantiation: tasklet.c:__virt_to_page Unexecuted instantiation: sysctl.c:__virt_to_page Unexecuted instantiation: symbols.c:__virt_to_page Unexecuted instantiation: stop_machine.c:__virt_to_page Unexecuted instantiation: spinlock.c:__virt_to_page Unexecuted instantiation: softirq.c:__virt_to_page Unexecuted instantiation: shutdown.c:__virt_to_page Unexecuted instantiation: schedule.c:__virt_to_page Unexecuted instantiation: sched_null.c:__virt_to_page Unexecuted instantiation: sched_rt.c:__virt_to_page Unexecuted instantiation: sched_credit2.c:__virt_to_page Unexecuted instantiation: sched_credit.c:__virt_to_page Unexecuted instantiation: sched_arinc653.c:__virt_to_page Unexecuted instantiation: rwlock.c:__virt_to_page Unexecuted instantiation: rcupdate.c:__virt_to_page Unexecuted instantiation: rangeset.c:__virt_to_page Unexecuted instantiation: preempt.c:__virt_to_page Unexecuted instantiation: pdx.c:__virt_to_page page_alloc.c:__virt_to_page Line | Count | Source | 313 | 10 | { | 314 | 10 | unsigned long va = (unsigned long)v; | 315 | 10 | | 316 | 10 | ASSERT(va >= XEN_VIRT_START); | 317 | 10 | ASSERT(va < DIRECTMAP_VIRT_END); | 318 | 10 | if ( va < XEN_VIRT_END ) | 319 | 0 | va += DIRECTMAP_VIRT_START - XEN_VIRT_START + xen_phys_start; | 320 | 10 | else | 321 | 10 | ASSERT(va >= DIRECTMAP_VIRT_START); | 322 | 10 | return frame_table + ((va - DIRECTMAP_VIRT_START) >> PAGE_SHIFT); | 323 | 10 | } |
Unexecuted instantiation: multicall.c:__virt_to_page Unexecuted instantiation: monitor.c:__virt_to_page Unexecuted instantiation: memory.c:__virt_to_page Unexecuted instantiation: mem_access.c:__virt_to_page Unexecuted instantiation: kimage.c:__virt_to_page Unexecuted instantiation: kexec.c:__virt_to_page Unexecuted instantiation: keyhandler.c:__virt_to_page Unexecuted instantiation: kernel.c:__virt_to_page Unexecuted instantiation: irq.c:__virt_to_page Unexecuted instantiation: guestcopy.c:__virt_to_page grant_table.c:__virt_to_page Line | Count | Source | 313 | 1 | { | 314 | 1 | unsigned long va = (unsigned long)v; | 315 | 1 | | 316 | 1 | ASSERT(va >= XEN_VIRT_START); | 317 | 1 | ASSERT(va < DIRECTMAP_VIRT_END); | 318 | 1 | if ( va < XEN_VIRT_END ) | 319 | 0 | va += DIRECTMAP_VIRT_START - XEN_VIRT_START + xen_phys_start; | 320 | 1 | else | 321 | 1 | ASSERT(va >= DIRECTMAP_VIRT_START); | 322 | 1 | return frame_table + ((va - DIRECTMAP_VIRT_START) >> PAGE_SHIFT); | 323 | 1 | } |
Unexecuted instantiation: event_fifo.c:__virt_to_page Unexecuted instantiation: event_channel.c:__virt_to_page Unexecuted instantiation: event_2l.c:__virt_to_page Line | Count | Source | 313 | 1 | { | 314 | 1 | unsigned long va = (unsigned long)v; | 315 | 1 | | 316 | 1 | ASSERT(va >= XEN_VIRT_START); | 317 | 1 | ASSERT(va < DIRECTMAP_VIRT_END); | 318 | 1 | if ( va < XEN_VIRT_END ) | 319 | 0 | va += DIRECTMAP_VIRT_START - XEN_VIRT_START + xen_phys_start; | 320 | 1 | else | 321 | 1 | ASSERT(va >= DIRECTMAP_VIRT_START); | 322 | 1 | return frame_table + ((va - DIRECTMAP_VIRT_START) >> PAGE_SHIFT); | 323 | 1 | } |
Unexecuted instantiation: domctl.c:__virt_to_page Unexecuted instantiation: cpupool.c:__virt_to_page Unexecuted instantiation: cpu.c:__virt_to_page |
324 | | |
325 | | static inline void *__page_to_virt(const struct page_info *pg) |
326 | 197 | { |
327 | 197 | ASSERT((unsigned long)pg - FRAMETABLE_VIRT_START < FRAMETABLE_SIZE); |
328 | 197 | /* |
329 | 197 | * (sizeof(*pg) & -sizeof(*pg)) selects the LS bit of sizeof(*pg). The |
330 | 197 | * division and re-multiplication avoids one shift when sizeof(*pg) is a |
331 | 197 | * power of two (otherwise there would be a right shift followed by a |
332 | 197 | * left shift, which the compiler can't know it can fold into one). |
333 | 197 | */ |
334 | 197 | return (void *)(DIRECTMAP_VIRT_START + |
335 | 197 | ((unsigned long)pg - FRAMETABLE_VIRT_START) / |
336 | 197 | (sizeof(*pg) / (sizeof(*pg) & -sizeof(*pg))) * |
337 | 197 | (PAGE_SIZE / (sizeof(*pg) & -sizeof(*pg)))); |
338 | 197 | } Unexecuted instantiation: cpu.c:__page_to_virt Unexecuted instantiation: mmconfig_64.c:__page_to_virt Unexecuted instantiation: mmconf-fam10h.c:__page_to_virt Unexecuted instantiation: acpi_mmcfg.c:__page_to_virt Unexecuted instantiation: ro-page-fault.c:__page_to_virt Unexecuted instantiation: misc-hypercalls.c:__page_to_virt Unexecuted instantiation: iret.c:__page_to_virt Unexecuted instantiation: emul-priv-op.c:__page_to_virt Unexecuted instantiation: emul-inv-op.c:__page_to_virt Unexecuted instantiation: emul-gate-op.c:__page_to_virt Unexecuted instantiation: descriptor-tables.c:__page_to_virt Unexecuted instantiation: callback.c:__page_to_virt Unexecuted instantiation: backtrace.c:__page_to_virt Unexecuted instantiation: op_model_athlon.c:__page_to_virt Unexecuted instantiation: op_model_ppro.c:__page_to_virt Unexecuted instantiation: op_model_p4.c:__page_to_virt Unexecuted instantiation: nmi_int.c:__page_to_virt Unexecuted instantiation: nested_ept.c:__page_to_virt Unexecuted instantiation: nested_hap.c:__page_to_virt Unexecuted instantiation: hap.c:__page_to_virt Unexecuted instantiation: multi.c:__page_to_virt Unexecuted instantiation: mem_sharing.c:__page_to_virt Unexecuted instantiation: mem_paging.c:__page_to_virt Unexecuted instantiation: guest_walk.c:__page_to_virt Unexecuted instantiation: altp2m.c:__page_to_virt Unexecuted instantiation: p2m-pod.c:__page_to_virt Unexecuted instantiation: p2m-ept.c:__page_to_virt Unexecuted instantiation: p2m-pt.c:__page_to_virt Unexecuted instantiation: p2m.c:__page_to_virt Unexecuted instantiation: paging.c:__page_to_virt Unexecuted instantiation: vvmx.c:__page_to_virt Unexecuted instantiation: vmx.c:__page_to_virt Unexecuted instantiation: vmcs.c:__page_to_virt Unexecuted instantiation: realmode.c:__page_to_virt Unexecuted instantiation: vmcb.c:__page_to_virt Unexecuted instantiation: svmdebug.c:__page_to_virt Unexecuted instantiation: svm.c:__page_to_virt Unexecuted instantiation: nestedsvm.c:__page_to_virt Unexecuted instantiation: intr.c:__page_to_virt Unexecuted instantiation: vpt.c:__page_to_virt Unexecuted instantiation: vpic.c:__page_to_virt Unexecuted instantiation: vmsi.c:__page_to_virt Unexecuted instantiation: vlapic.c:__page_to_virt Unexecuted instantiation: viridian.c:__page_to_virt Unexecuted instantiation: vioapic.c:__page_to_virt Unexecuted instantiation: stdvga.c:__page_to_virt Unexecuted instantiation: save.c:__page_to_virt Unexecuted instantiation: rtc.c:__page_to_virt Unexecuted instantiation: pmtimer.c:__page_to_virt Unexecuted instantiation: nestedhvm.c:__page_to_virt Unexecuted instantiation: mtrr.c:__page_to_virt Unexecuted instantiation: ioreq.c:__page_to_virt Unexecuted instantiation: intercept.c:__page_to_virt Unexecuted instantiation: i8254.c:__page_to_virt Unexecuted instantiation: hvm.c:__page_to_virt Unexecuted instantiation: emulate.c:__page_to_virt Unexecuted instantiation: dm.c:__page_to_virt Unexecuted instantiation: asid.c:__page_to_virt Unexecuted instantiation: probe.c:__page_to_virt Unexecuted instantiation: delivery.c:__page_to_virt Unexecuted instantiation: default.c:__page_to_virt Unexecuted instantiation: x2apic.c:__page_to_virt Unexecuted instantiation: bigsmp.c:__page_to_virt Unexecuted instantiation: main.c:__page_to_virt Unexecuted instantiation: generic.c:__page_to_virt Unexecuted instantiation: vmce.c:__page_to_virt Unexecuted instantiation: util.c:__page_to_virt Unexecuted instantiation: non-fatal.c:__page_to_virt Unexecuted instantiation: mce_intel.c:__page_to_virt Unexecuted instantiation: mce-apei.c:__page_to_virt Unexecuted instantiation: mce.c:__page_to_virt Unexecuted instantiation: mctelem.c:__page_to_virt Unexecuted instantiation: barrier.c:__page_to_virt Unexecuted instantiation: mcaction.c:__page_to_virt Unexecuted instantiation: mce_amd.c:__page_to_virt Unexecuted instantiation: amd_nonfatal.c:__page_to_virt Unexecuted instantiation: vpmu_intel.c:__page_to_virt Unexecuted instantiation: vpmu_amd.c:__page_to_virt Unexecuted instantiation: vpmu.c:__page_to_virt Unexecuted instantiation: mwait-idle.c:__page_to_virt Unexecuted instantiation: intel.c:__page_to_virt Unexecuted instantiation: common.c:__page_to_virt Unexecuted instantiation: amd.c:__page_to_virt Unexecuted instantiation: powernow.c:__page_to_virt Unexecuted instantiation: cpuidle_menu.c:__page_to_virt Unexecuted instantiation: cpu_idle.c:__page_to_virt Unexecuted instantiation: suspend.c:__page_to_virt Unexecuted instantiation: power.c:__page_to_virt Unexecuted instantiation: lib.c:__page_to_virt Unexecuted instantiation: xstate.c:__page_to_virt Unexecuted instantiation: hpet.c:__page_to_virt Unexecuted instantiation: tboot.c:__page_to_virt Unexecuted instantiation: x86_emulate.c:__page_to_virt Unexecuted instantiation: usercopy.c:__page_to_virt Unexecuted instantiation: traps.c:__page_to_virt Unexecuted instantiation: srat.c:__page_to_virt Unexecuted instantiation: smpboot.c:__page_to_virt Unexecuted instantiation: smp.c:__page_to_virt Unexecuted instantiation: setup.c:__page_to_virt Unexecuted instantiation: psr.c:__page_to_virt Unexecuted instantiation: platform_hypercall.c:__page_to_virt Unexecuted instantiation: physdev.c:__page_to_virt Unexecuted instantiation: percpu.c:__page_to_virt Unexecuted instantiation: numa.c:__page_to_virt Unexecuted instantiation: nmi.c:__page_to_virt Unexecuted instantiation: mpparse.c:__page_to_virt Unexecuted instantiation: mm.c:__page_to_virt Unexecuted instantiation: microcode.c:__page_to_virt Unexecuted instantiation: microcode_intel.c:__page_to_virt Unexecuted instantiation: microcode_amd.c:__page_to_virt Unexecuted instantiation: machine_kexec.c:__page_to_virt Unexecuted instantiation: ioport_emulate.c:__page_to_virt Unexecuted instantiation: msr.c:__page_to_virt Unexecuted instantiation: io_apic.c:__page_to_virt Unexecuted instantiation: i8259.c:__page_to_virt Unexecuted instantiation: i387.c:__page_to_virt Unexecuted instantiation: hypercall.c:__page_to_virt Unexecuted instantiation: flushtlb.c:__page_to_virt Unexecuted instantiation: extable.c:__page_to_virt Unexecuted instantiation: e820.c:__page_to_virt Unexecuted instantiation: domain_page.c:__page_to_virt Unexecuted instantiation: debug.c:__page_to_virt Unexecuted instantiation: crash.c:__page_to_virt Unexecuted instantiation: compat.c:__page_to_virt Unexecuted instantiation: cpuid.c:__page_to_virt Unexecuted instantiation: apic.c:__page_to_virt Unexecuted instantiation: xsm_core.c:__page_to_virt Unexecuted instantiation: vesa.c:__page_to_virt Unexecuted instantiation: vga.c:__page_to_virt Unexecuted instantiation: apei-io.c:__page_to_virt Unexecuted instantiation: apei-base.c:__page_to_virt Unexecuted instantiation: hest.c:__page_to_virt Unexecuted instantiation: erst.c:__page_to_virt Unexecuted instantiation: reboot.c:__page_to_virt Unexecuted instantiation: hwregs.c:__page_to_virt Unexecuted instantiation: pmstat.c:__page_to_virt Unexecuted instantiation: osl.c:__page_to_virt Unexecuted instantiation: iommu_guest.c:__page_to_virt Unexecuted instantiation: iommu_cmd.c:__page_to_virt Unexecuted instantiation: iommu_intr.c:__page_to_virt Unexecuted instantiation: pci_amd_iommu.c:__page_to_virt Unexecuted instantiation: iommu_map.c:__page_to_virt Unexecuted instantiation: iommu_init.c:__page_to_virt Unexecuted instantiation: ats.c:__page_to_virt Unexecuted instantiation: vtd.c:__page_to_virt Unexecuted instantiation: quirks.c:__page_to_virt Unexecuted instantiation: intremap.c:__page_to_virt Unexecuted instantiation: qinval.c:__page_to_virt Unexecuted instantiation: utils.c:__page_to_virt Unexecuted instantiation: dmar.c:__page_to_virt Unexecuted instantiation: io.c:__page_to_virt Unexecuted instantiation: iommu.c:__page_to_virt Unexecuted instantiation: msix.c:__page_to_virt Unexecuted instantiation: msi.c:__page_to_virt Unexecuted instantiation: header.c:__page_to_virt Unexecuted instantiation: vpci.c:__page_to_virt Unexecuted instantiation: pci.c:__page_to_virt Unexecuted instantiation: utility.c:__page_to_virt Unexecuted instantiation: cpufreq_misc_governors.c:__page_to_virt Unexecuted instantiation: cpufreq_ondemand.c:__page_to_virt Unexecuted instantiation: cpufreq.c:__page_to_virt Unexecuted instantiation: serial.c:__page_to_virt Unexecuted instantiation: ehci-dbgp.c:__page_to_virt Unexecuted instantiation: ns16550.c:__page_to_virt Unexecuted instantiation: console.c:__page_to_virt Unexecuted instantiation: libelf-loader.c:__page_to_virt Unexecuted instantiation: llvm.c:__page_to_virt Unexecuted instantiation: tmem_control.c:__page_to_virt Unexecuted instantiation: tmem_xen.c:__page_to_virt Unexecuted instantiation: tmem.c:__page_to_virt Unexecuted instantiation: xmalloc_tlsf.c:__page_to_virt Unexecuted instantiation: xenoprof.c:__page_to_virt Unexecuted instantiation: wait.c:__page_to_virt Unexecuted instantiation: vsprintf.c:__page_to_virt Unexecuted instantiation: vmap.c:__page_to_virt Unexecuted instantiation: vm_event.c:__page_to_virt Unexecuted instantiation: trace.c:__page_to_virt Unexecuted instantiation: timer.c:__page_to_virt Unexecuted instantiation: time.c:__page_to_virt Unexecuted instantiation: tasklet.c:__page_to_virt Unexecuted instantiation: sysctl.c:__page_to_virt Unexecuted instantiation: symbols.c:__page_to_virt Unexecuted instantiation: stop_machine.c:__page_to_virt Unexecuted instantiation: spinlock.c:__page_to_virt Unexecuted instantiation: softirq.c:__page_to_virt Unexecuted instantiation: shutdown.c:__page_to_virt Unexecuted instantiation: schedule.c:__page_to_virt Unexecuted instantiation: sched_null.c:__page_to_virt Unexecuted instantiation: sched_rt.c:__page_to_virt Unexecuted instantiation: sched_credit2.c:__page_to_virt Unexecuted instantiation: sched_credit.c:__page_to_virt Unexecuted instantiation: sched_arinc653.c:__page_to_virt Unexecuted instantiation: rwlock.c:__page_to_virt Unexecuted instantiation: rcupdate.c:__page_to_virt Unexecuted instantiation: rangeset.c:__page_to_virt Unexecuted instantiation: preempt.c:__page_to_virt Unexecuted instantiation: pdx.c:__page_to_virt page_alloc.c:__page_to_virt Line | Count | Source | 326 | 197 | { | 327 | 197 | ASSERT((unsigned long)pg - FRAMETABLE_VIRT_START < FRAMETABLE_SIZE); | 328 | 197 | /* | 329 | 197 | * (sizeof(*pg) & -sizeof(*pg)) selects the LS bit of sizeof(*pg). The | 330 | 197 | * division and re-multiplication avoids one shift when sizeof(*pg) is a | 331 | 197 | * power of two (otherwise there would be a right shift followed by a | 332 | 197 | * left shift, which the compiler can't know it can fold into one). | 333 | 197 | */ | 334 | 197 | return (void *)(DIRECTMAP_VIRT_START + | 335 | 197 | ((unsigned long)pg - FRAMETABLE_VIRT_START) / | 336 | 197 | (sizeof(*pg) / (sizeof(*pg) & -sizeof(*pg))) * | 337 | 197 | (PAGE_SIZE / (sizeof(*pg) & -sizeof(*pg)))); | 338 | 197 | } |
Unexecuted instantiation: multicall.c:__page_to_virt Unexecuted instantiation: monitor.c:__page_to_virt Unexecuted instantiation: memory.c:__page_to_virt Unexecuted instantiation: mem_access.c:__page_to_virt Unexecuted instantiation: kimage.c:__page_to_virt Unexecuted instantiation: kexec.c:__page_to_virt Unexecuted instantiation: keyhandler.c:__page_to_virt Unexecuted instantiation: kernel.c:__page_to_virt Unexecuted instantiation: irq.c:__page_to_virt Unexecuted instantiation: guestcopy.c:__page_to_virt Unexecuted instantiation: grant_table.c:__page_to_virt Unexecuted instantiation: event_fifo.c:__page_to_virt Unexecuted instantiation: event_channel.c:__page_to_virt Unexecuted instantiation: event_2l.c:__page_to_virt Unexecuted instantiation: domain.c:__page_to_virt Unexecuted instantiation: domctl.c:__page_to_virt Unexecuted instantiation: cpupool.c:__page_to_virt Unexecuted instantiation: mmconfig-shared.c:__page_to_virt |
339 | | |
340 | | int free_page_type(struct page_info *page, unsigned long type, |
341 | | int preemptible); |
342 | | |
343 | | void init_xen_pae_l2_slots(l2_pgentry_t *l2t, const struct domain *d); |
344 | | void init_xen_l4_slots(l4_pgentry_t *l4t, mfn_t l4mfn, |
345 | | const struct domain *d, mfn_t sl4mfn, bool ro_mpt); |
346 | | bool fill_ro_mpt(mfn_t mfn); |
347 | | void zap_ro_mpt(mfn_t mfn); |
348 | | |
349 | | bool is_iomem_page(mfn_t mfn); |
350 | | |
351 | | const unsigned long *get_platform_badpages(unsigned int *array_size); |
352 | | /* Per page locks: |
353 | | * page_lock() is used for two purposes: pte serialization, and memory sharing. |
354 | | * |
355 | | * All users of page lock for pte serialization live in mm.c, use it |
356 | | * to lock a page table page during pte updates, do not take other locks within |
357 | | * the critical section delimited by page_lock/unlock, and perform no |
358 | | * nesting. |
359 | | * |
360 | | * All users of page lock for memory sharing live in mm/mem_sharing.c. Page_lock |
361 | | * is used in memory sharing to protect addition (share) and removal (unshare) |
362 | | * of (gfn,domain) tupples to a list of gfn's that the shared page is currently |
363 | | * backing. Nesting may happen when sharing (and locking) two pages -- deadlock |
364 | | * is avoided by locking pages in increasing order. |
365 | | * All memory sharing code paths take the p2m lock of the affected gfn before |
366 | | * taking the lock for the underlying page. We enforce ordering between page_lock |
367 | | * and p2m_lock using an mm-locks.h construct. |
368 | | * |
369 | | * These two users (pte serialization and memory sharing) do not collide, since |
370 | | * sharing is only supported for hvm guests, which do not perform pv pte updates. |
371 | | */ |
372 | | int page_lock(struct page_info *page); |
373 | | void page_unlock(struct page_info *page); |
374 | | |
375 | | void put_page_type(struct page_info *page); |
376 | | int get_page_type(struct page_info *page, unsigned long type); |
377 | | int put_page_type_preemptible(struct page_info *page); |
378 | | int get_page_type_preemptible(struct page_info *page, unsigned long type); |
379 | | int put_old_guest_table(struct vcpu *); |
380 | | int get_page_from_l1e( |
381 | | l1_pgentry_t l1e, struct domain *l1e_owner, struct domain *pg_owner); |
382 | | void put_page_from_l1e(l1_pgentry_t l1e, struct domain *l1e_owner); |
383 | | |
384 | | static inline bool get_page_from_mfn(mfn_t mfn, struct domain *d) |
385 | 0 | { |
386 | 0 | struct page_info *page = __mfn_to_page(mfn_x(mfn)); |
387 | 0 |
|
388 | 0 | if ( unlikely(!mfn_valid(mfn)) || unlikely(!get_page(page, d)) ) |
389 | 0 | { |
390 | 0 | gdprintk(XENLOG_WARNING, |
391 | 0 | "Could not get page ref for mfn %"PRI_mfn"\n", mfn_x(mfn)); |
392 | 0 | return false; |
393 | 0 | } |
394 | 0 |
|
395 | 0 | return true; |
396 | 0 | } Unexecuted instantiation: mmconfig-shared.c:get_page_from_mfn Unexecuted instantiation: mmconfig_64.c:get_page_from_mfn Unexecuted instantiation: mmconf-fam10h.c:get_page_from_mfn Unexecuted instantiation: acpi_mmcfg.c:get_page_from_mfn Unexecuted instantiation: ro-page-fault.c:get_page_from_mfn Unexecuted instantiation: misc-hypercalls.c:get_page_from_mfn Unexecuted instantiation: iret.c:get_page_from_mfn Unexecuted instantiation: emul-priv-op.c:get_page_from_mfn Unexecuted instantiation: emul-inv-op.c:get_page_from_mfn Unexecuted instantiation: emul-gate-op.c:get_page_from_mfn Unexecuted instantiation: descriptor-tables.c:get_page_from_mfn Unexecuted instantiation: callback.c:get_page_from_mfn Unexecuted instantiation: backtrace.c:get_page_from_mfn Unexecuted instantiation: op_model_athlon.c:get_page_from_mfn Unexecuted instantiation: op_model_ppro.c:get_page_from_mfn Unexecuted instantiation: op_model_p4.c:get_page_from_mfn Unexecuted instantiation: nmi_int.c:get_page_from_mfn Unexecuted instantiation: nested_ept.c:get_page_from_mfn Unexecuted instantiation: nested_hap.c:get_page_from_mfn Unexecuted instantiation: hap.c:get_page_from_mfn Unexecuted instantiation: multi.c:get_page_from_mfn Unexecuted instantiation: mem_sharing.c:get_page_from_mfn Unexecuted instantiation: mem_paging.c:get_page_from_mfn Unexecuted instantiation: guest_walk.c:get_page_from_mfn Unexecuted instantiation: altp2m.c:get_page_from_mfn Unexecuted instantiation: p2m-pod.c:get_page_from_mfn Unexecuted instantiation: p2m-ept.c:get_page_from_mfn Unexecuted instantiation: p2m-pt.c:get_page_from_mfn Unexecuted instantiation: p2m.c:get_page_from_mfn Unexecuted instantiation: paging.c:get_page_from_mfn Unexecuted instantiation: vvmx.c:get_page_from_mfn Unexecuted instantiation: vmx.c:get_page_from_mfn Unexecuted instantiation: vmcs.c:get_page_from_mfn Unexecuted instantiation: realmode.c:get_page_from_mfn Unexecuted instantiation: vmcb.c:get_page_from_mfn Unexecuted instantiation: svmdebug.c:get_page_from_mfn Unexecuted instantiation: svm.c:get_page_from_mfn Unexecuted instantiation: nestedsvm.c:get_page_from_mfn Unexecuted instantiation: intr.c:get_page_from_mfn Unexecuted instantiation: vpt.c:get_page_from_mfn Unexecuted instantiation: vpic.c:get_page_from_mfn Unexecuted instantiation: vmsi.c:get_page_from_mfn Unexecuted instantiation: vlapic.c:get_page_from_mfn Unexecuted instantiation: viridian.c:get_page_from_mfn Unexecuted instantiation: vioapic.c:get_page_from_mfn Unexecuted instantiation: stdvga.c:get_page_from_mfn Unexecuted instantiation: save.c:get_page_from_mfn Unexecuted instantiation: rtc.c:get_page_from_mfn Unexecuted instantiation: pmtimer.c:get_page_from_mfn Unexecuted instantiation: nestedhvm.c:get_page_from_mfn Unexecuted instantiation: mtrr.c:get_page_from_mfn Unexecuted instantiation: ioreq.c:get_page_from_mfn Unexecuted instantiation: intercept.c:get_page_from_mfn Unexecuted instantiation: serial.c:get_page_from_mfn Unexecuted instantiation: i8254.c:get_page_from_mfn Unexecuted instantiation: hvm.c:get_page_from_mfn Unexecuted instantiation: emulate.c:get_page_from_mfn Unexecuted instantiation: dm.c:get_page_from_mfn Unexecuted instantiation: asid.c:get_page_from_mfn Unexecuted instantiation: probe.c:get_page_from_mfn Unexecuted instantiation: delivery.c:get_page_from_mfn Unexecuted instantiation: default.c:get_page_from_mfn Unexecuted instantiation: x2apic.c:get_page_from_mfn Unexecuted instantiation: bigsmp.c:get_page_from_mfn Unexecuted instantiation: main.c:get_page_from_mfn Unexecuted instantiation: generic.c:get_page_from_mfn Unexecuted instantiation: vmce.c:get_page_from_mfn Unexecuted instantiation: util.c:get_page_from_mfn Unexecuted instantiation: non-fatal.c:get_page_from_mfn Unexecuted instantiation: mce_intel.c:get_page_from_mfn Unexecuted instantiation: mce-apei.c:get_page_from_mfn Unexecuted instantiation: mce.c:get_page_from_mfn Unexecuted instantiation: mctelem.c:get_page_from_mfn Unexecuted instantiation: barrier.c:get_page_from_mfn Unexecuted instantiation: mcaction.c:get_page_from_mfn Unexecuted instantiation: mce_amd.c:get_page_from_mfn Unexecuted instantiation: amd_nonfatal.c:get_page_from_mfn Unexecuted instantiation: vpmu_intel.c:get_page_from_mfn Unexecuted instantiation: vpmu_amd.c:get_page_from_mfn Unexecuted instantiation: vpmu.c:get_page_from_mfn Unexecuted instantiation: mwait-idle.c:get_page_from_mfn Unexecuted instantiation: intel.c:get_page_from_mfn Unexecuted instantiation: common.c:get_page_from_mfn Unexecuted instantiation: amd.c:get_page_from_mfn Unexecuted instantiation: powernow.c:get_page_from_mfn Unexecuted instantiation: cpuidle_menu.c:get_page_from_mfn Unexecuted instantiation: cpu_idle.c:get_page_from_mfn Unexecuted instantiation: suspend.c:get_page_from_mfn Unexecuted instantiation: power.c:get_page_from_mfn Unexecuted instantiation: lib.c:get_page_from_mfn Unexecuted instantiation: xstate.c:get_page_from_mfn Unexecuted instantiation: hpet.c:get_page_from_mfn Unexecuted instantiation: tboot.c:get_page_from_mfn Unexecuted instantiation: x86_emulate.c:get_page_from_mfn Unexecuted instantiation: usercopy.c:get_page_from_mfn Unexecuted instantiation: traps.c:get_page_from_mfn Unexecuted instantiation: srat.c:get_page_from_mfn Unexecuted instantiation: smpboot.c:get_page_from_mfn Unexecuted instantiation: smp.c:get_page_from_mfn Unexecuted instantiation: setup.c:get_page_from_mfn Unexecuted instantiation: psr.c:get_page_from_mfn Unexecuted instantiation: platform_hypercall.c:get_page_from_mfn Unexecuted instantiation: physdev.c:get_page_from_mfn Unexecuted instantiation: percpu.c:get_page_from_mfn Unexecuted instantiation: numa.c:get_page_from_mfn Unexecuted instantiation: nmi.c:get_page_from_mfn Unexecuted instantiation: mpparse.c:get_page_from_mfn Unexecuted instantiation: mm.c:get_page_from_mfn Unexecuted instantiation: microcode.c:get_page_from_mfn Unexecuted instantiation: microcode_intel.c:get_page_from_mfn Unexecuted instantiation: microcode_amd.c:get_page_from_mfn Unexecuted instantiation: machine_kexec.c:get_page_from_mfn Unexecuted instantiation: ioport_emulate.c:get_page_from_mfn Unexecuted instantiation: msr.c:get_page_from_mfn Unexecuted instantiation: io_apic.c:get_page_from_mfn Unexecuted instantiation: i8259.c:get_page_from_mfn Unexecuted instantiation: i387.c:get_page_from_mfn Unexecuted instantiation: hypercall.c:get_page_from_mfn Unexecuted instantiation: flushtlb.c:get_page_from_mfn Unexecuted instantiation: extable.c:get_page_from_mfn Unexecuted instantiation: e820.c:get_page_from_mfn Unexecuted instantiation: domain_page.c:get_page_from_mfn Unexecuted instantiation: debug.c:get_page_from_mfn Unexecuted instantiation: crash.c:get_page_from_mfn Unexecuted instantiation: compat.c:get_page_from_mfn Unexecuted instantiation: cpuid.c:get_page_from_mfn Unexecuted instantiation: apic.c:get_page_from_mfn Unexecuted instantiation: xsm_core.c:get_page_from_mfn Unexecuted instantiation: vesa.c:get_page_from_mfn Unexecuted instantiation: vga.c:get_page_from_mfn Unexecuted instantiation: apei-io.c:get_page_from_mfn Unexecuted instantiation: apei-base.c:get_page_from_mfn Unexecuted instantiation: hest.c:get_page_from_mfn Unexecuted instantiation: erst.c:get_page_from_mfn Unexecuted instantiation: reboot.c:get_page_from_mfn Unexecuted instantiation: hwregs.c:get_page_from_mfn Unexecuted instantiation: pmstat.c:get_page_from_mfn Unexecuted instantiation: osl.c:get_page_from_mfn Unexecuted instantiation: iommu_guest.c:get_page_from_mfn Unexecuted instantiation: iommu_cmd.c:get_page_from_mfn Unexecuted instantiation: iommu_intr.c:get_page_from_mfn Unexecuted instantiation: pci_amd_iommu.c:get_page_from_mfn Unexecuted instantiation: iommu_map.c:get_page_from_mfn Unexecuted instantiation: iommu_init.c:get_page_from_mfn Unexecuted instantiation: ats.c:get_page_from_mfn Unexecuted instantiation: vtd.c:get_page_from_mfn Unexecuted instantiation: quirks.c:get_page_from_mfn Unexecuted instantiation: intremap.c:get_page_from_mfn Unexecuted instantiation: qinval.c:get_page_from_mfn Unexecuted instantiation: utils.c:get_page_from_mfn Unexecuted instantiation: dmar.c:get_page_from_mfn Unexecuted instantiation: io.c:get_page_from_mfn Unexecuted instantiation: iommu.c:get_page_from_mfn Unexecuted instantiation: msix.c:get_page_from_mfn Unexecuted instantiation: msi.c:get_page_from_mfn Unexecuted instantiation: header.c:get_page_from_mfn Unexecuted instantiation: vpci.c:get_page_from_mfn Unexecuted instantiation: pci.c:get_page_from_mfn Unexecuted instantiation: utility.c:get_page_from_mfn Unexecuted instantiation: cpufreq_misc_governors.c:get_page_from_mfn Unexecuted instantiation: cpufreq_ondemand.c:get_page_from_mfn Unexecuted instantiation: cpufreq.c:get_page_from_mfn Unexecuted instantiation: ehci-dbgp.c:get_page_from_mfn Unexecuted instantiation: ns16550.c:get_page_from_mfn Unexecuted instantiation: console.c:get_page_from_mfn Unexecuted instantiation: libelf-loader.c:get_page_from_mfn Unexecuted instantiation: llvm.c:get_page_from_mfn Unexecuted instantiation: tmem_control.c:get_page_from_mfn Unexecuted instantiation: tmem_xen.c:get_page_from_mfn Unexecuted instantiation: tmem.c:get_page_from_mfn Unexecuted instantiation: xmalloc_tlsf.c:get_page_from_mfn Unexecuted instantiation: xenoprof.c:get_page_from_mfn Unexecuted instantiation: wait.c:get_page_from_mfn Unexecuted instantiation: vsprintf.c:get_page_from_mfn Unexecuted instantiation: vmap.c:get_page_from_mfn Unexecuted instantiation: vm_event.c:get_page_from_mfn Unexecuted instantiation: trace.c:get_page_from_mfn Unexecuted instantiation: timer.c:get_page_from_mfn Unexecuted instantiation: time.c:get_page_from_mfn Unexecuted instantiation: tasklet.c:get_page_from_mfn Unexecuted instantiation: sysctl.c:get_page_from_mfn Unexecuted instantiation: symbols.c:get_page_from_mfn Unexecuted instantiation: stop_machine.c:get_page_from_mfn Unexecuted instantiation: spinlock.c:get_page_from_mfn Unexecuted instantiation: softirq.c:get_page_from_mfn Unexecuted instantiation: shutdown.c:get_page_from_mfn Unexecuted instantiation: schedule.c:get_page_from_mfn Unexecuted instantiation: sched_null.c:get_page_from_mfn Unexecuted instantiation: sched_rt.c:get_page_from_mfn Unexecuted instantiation: sched_credit2.c:get_page_from_mfn Unexecuted instantiation: sched_credit.c:get_page_from_mfn Unexecuted instantiation: sched_arinc653.c:get_page_from_mfn Unexecuted instantiation: rwlock.c:get_page_from_mfn Unexecuted instantiation: rcupdate.c:get_page_from_mfn Unexecuted instantiation: rangeset.c:get_page_from_mfn Unexecuted instantiation: preempt.c:get_page_from_mfn Unexecuted instantiation: pdx.c:get_page_from_mfn Unexecuted instantiation: page_alloc.c:get_page_from_mfn Unexecuted instantiation: multicall.c:get_page_from_mfn Unexecuted instantiation: monitor.c:get_page_from_mfn Unexecuted instantiation: memory.c:get_page_from_mfn Unexecuted instantiation: mem_access.c:get_page_from_mfn Unexecuted instantiation: kimage.c:get_page_from_mfn Unexecuted instantiation: kexec.c:get_page_from_mfn Unexecuted instantiation: keyhandler.c:get_page_from_mfn Unexecuted instantiation: kernel.c:get_page_from_mfn Unexecuted instantiation: irq.c:get_page_from_mfn Unexecuted instantiation: guestcopy.c:get_page_from_mfn Unexecuted instantiation: grant_table.c:get_page_from_mfn Unexecuted instantiation: event_fifo.c:get_page_from_mfn Unexecuted instantiation: event_channel.c:get_page_from_mfn Unexecuted instantiation: event_2l.c:get_page_from_mfn Unexecuted instantiation: domain.c:get_page_from_mfn Unexecuted instantiation: domctl.c:get_page_from_mfn Unexecuted instantiation: cpupool.c:get_page_from_mfn Unexecuted instantiation: cpu.c:get_page_from_mfn |
397 | | |
398 | | static inline void put_page_and_type(struct page_info *page) |
399 | 2 | { |
400 | 2 | put_page_type(page); |
401 | 2 | put_page(page); |
402 | 2 | } Unexecuted instantiation: mmconfig-shared.c:put_page_and_type Unexecuted instantiation: cpu.c:put_page_and_type Unexecuted instantiation: cpupool.c:put_page_and_type Unexecuted instantiation: domctl.c:put_page_and_type Unexecuted instantiation: domain.c:put_page_and_type Unexecuted instantiation: event_2l.c:put_page_and_type Unexecuted instantiation: event_channel.c:put_page_and_type Unexecuted instantiation: event_fifo.c:put_page_and_type Unexecuted instantiation: grant_table.c:put_page_and_type Unexecuted instantiation: guestcopy.c:put_page_and_type Unexecuted instantiation: irq.c:put_page_and_type Unexecuted instantiation: kernel.c:put_page_and_type Unexecuted instantiation: keyhandler.c:put_page_and_type Unexecuted instantiation: kexec.c:put_page_and_type Unexecuted instantiation: kimage.c:put_page_and_type Unexecuted instantiation: mem_access.c:put_page_and_type Unexecuted instantiation: memory.c:put_page_and_type Unexecuted instantiation: monitor.c:put_page_and_type Unexecuted instantiation: multicall.c:put_page_and_type Unexecuted instantiation: page_alloc.c:put_page_and_type Unexecuted instantiation: pdx.c:put_page_and_type Unexecuted instantiation: preempt.c:put_page_and_type Unexecuted instantiation: rangeset.c:put_page_and_type Unexecuted instantiation: rcupdate.c:put_page_and_type Unexecuted instantiation: rwlock.c:put_page_and_type Unexecuted instantiation: sched_arinc653.c:put_page_and_type Unexecuted instantiation: sched_credit.c:put_page_and_type Unexecuted instantiation: sched_credit2.c:put_page_and_type Unexecuted instantiation: sched_rt.c:put_page_and_type Unexecuted instantiation: sched_null.c:put_page_and_type Unexecuted instantiation: schedule.c:put_page_and_type Unexecuted instantiation: shutdown.c:put_page_and_type Unexecuted instantiation: softirq.c:put_page_and_type Unexecuted instantiation: spinlock.c:put_page_and_type Unexecuted instantiation: stop_machine.c:put_page_and_type Unexecuted instantiation: symbols.c:put_page_and_type Unexecuted instantiation: sysctl.c:put_page_and_type Unexecuted instantiation: tasklet.c:put_page_and_type Unexecuted instantiation: time.c:put_page_and_type Unexecuted instantiation: timer.c:put_page_and_type Unexecuted instantiation: trace.c:put_page_and_type Unexecuted instantiation: vm_event.c:put_page_and_type Unexecuted instantiation: vmap.c:put_page_and_type Unexecuted instantiation: vsprintf.c:put_page_and_type Unexecuted instantiation: wait.c:put_page_and_type Unexecuted instantiation: xenoprof.c:put_page_and_type Unexecuted instantiation: xmalloc_tlsf.c:put_page_and_type Unexecuted instantiation: tmem.c:put_page_and_type Unexecuted instantiation: tmem_xen.c:put_page_and_type Unexecuted instantiation: tmem_control.c:put_page_and_type Unexecuted instantiation: llvm.c:put_page_and_type Unexecuted instantiation: libelf-loader.c:put_page_and_type Unexecuted instantiation: console.c:put_page_and_type Unexecuted instantiation: ns16550.c:put_page_and_type Unexecuted instantiation: ehci-dbgp.c:put_page_and_type Unexecuted instantiation: serial.c:put_page_and_type Unexecuted instantiation: cpufreq.c:put_page_and_type Unexecuted instantiation: cpufreq_ondemand.c:put_page_and_type Unexecuted instantiation: cpufreq_misc_governors.c:put_page_and_type Unexecuted instantiation: utility.c:put_page_and_type Unexecuted instantiation: pci.c:put_page_and_type Unexecuted instantiation: vpci.c:put_page_and_type Unexecuted instantiation: header.c:put_page_and_type Unexecuted instantiation: msi.c:put_page_and_type Unexecuted instantiation: msix.c:put_page_and_type Unexecuted instantiation: iommu.c:put_page_and_type Unexecuted instantiation: io.c:put_page_and_type Unexecuted instantiation: dmar.c:put_page_and_type Unexecuted instantiation: utils.c:put_page_and_type Unexecuted instantiation: qinval.c:put_page_and_type Unexecuted instantiation: intremap.c:put_page_and_type Unexecuted instantiation: quirks.c:put_page_and_type Unexecuted instantiation: vtd.c:put_page_and_type Unexecuted instantiation: ats.c:put_page_and_type Unexecuted instantiation: iommu_init.c:put_page_and_type Unexecuted instantiation: iommu_map.c:put_page_and_type Unexecuted instantiation: pci_amd_iommu.c:put_page_and_type Unexecuted instantiation: iommu_intr.c:put_page_and_type Unexecuted instantiation: iommu_cmd.c:put_page_and_type Unexecuted instantiation: iommu_guest.c:put_page_and_type Unexecuted instantiation: osl.c:put_page_and_type Unexecuted instantiation: pmstat.c:put_page_and_type Unexecuted instantiation: hwregs.c:put_page_and_type Unexecuted instantiation: reboot.c:put_page_and_type Unexecuted instantiation: erst.c:put_page_and_type Unexecuted instantiation: hest.c:put_page_and_type Unexecuted instantiation: apei-base.c:put_page_and_type Unexecuted instantiation: apei-io.c:put_page_and_type Unexecuted instantiation: vga.c:put_page_and_type Unexecuted instantiation: vesa.c:put_page_and_type Unexecuted instantiation: xsm_core.c:put_page_and_type Unexecuted instantiation: apic.c:put_page_and_type Unexecuted instantiation: cpuid.c:put_page_and_type Unexecuted instantiation: compat.c:put_page_and_type Unexecuted instantiation: crash.c:put_page_and_type Unexecuted instantiation: debug.c:put_page_and_type Unexecuted instantiation: domain_page.c:put_page_and_type Unexecuted instantiation: e820.c:put_page_and_type Unexecuted instantiation: extable.c:put_page_and_type Unexecuted instantiation: flushtlb.c:put_page_and_type Unexecuted instantiation: hypercall.c:put_page_and_type Unexecuted instantiation: i387.c:put_page_and_type Unexecuted instantiation: i8259.c:put_page_and_type Unexecuted instantiation: io_apic.c:put_page_and_type Unexecuted instantiation: msr.c:put_page_and_type Unexecuted instantiation: ioport_emulate.c:put_page_and_type Unexecuted instantiation: machine_kexec.c:put_page_and_type Unexecuted instantiation: microcode_amd.c:put_page_and_type Unexecuted instantiation: microcode_intel.c:put_page_and_type Unexecuted instantiation: microcode.c:put_page_and_type Unexecuted instantiation: mm.c:put_page_and_type Unexecuted instantiation: mpparse.c:put_page_and_type Unexecuted instantiation: nmi.c:put_page_and_type Unexecuted instantiation: numa.c:put_page_and_type Unexecuted instantiation: percpu.c:put_page_and_type Unexecuted instantiation: physdev.c:put_page_and_type Unexecuted instantiation: platform_hypercall.c:put_page_and_type Unexecuted instantiation: psr.c:put_page_and_type Unexecuted instantiation: setup.c:put_page_and_type Unexecuted instantiation: smp.c:put_page_and_type Unexecuted instantiation: smpboot.c:put_page_and_type Unexecuted instantiation: srat.c:put_page_and_type traps.c:put_page_and_type Line | Count | Source | 399 | 2 | { | 400 | 2 | put_page_type(page); | 401 | 2 | put_page(page); | 402 | 2 | } |
Unexecuted instantiation: usercopy.c:put_page_and_type Unexecuted instantiation: x86_emulate.c:put_page_and_type Unexecuted instantiation: tboot.c:put_page_and_type Unexecuted instantiation: hpet.c:put_page_and_type Unexecuted instantiation: xstate.c:put_page_and_type Unexecuted instantiation: lib.c:put_page_and_type Unexecuted instantiation: power.c:put_page_and_type Unexecuted instantiation: suspend.c:put_page_and_type Unexecuted instantiation: cpu_idle.c:put_page_and_type Unexecuted instantiation: cpuidle_menu.c:put_page_and_type Unexecuted instantiation: powernow.c:put_page_and_type Unexecuted instantiation: amd.c:put_page_and_type Unexecuted instantiation: common.c:put_page_and_type Unexecuted instantiation: intel.c:put_page_and_type Unexecuted instantiation: mwait-idle.c:put_page_and_type Unexecuted instantiation: vpmu.c:put_page_and_type Unexecuted instantiation: vpmu_amd.c:put_page_and_type Unexecuted instantiation: vpmu_intel.c:put_page_and_type Unexecuted instantiation: amd_nonfatal.c:put_page_and_type Unexecuted instantiation: mce_amd.c:put_page_and_type Unexecuted instantiation: mcaction.c:put_page_and_type Unexecuted instantiation: barrier.c:put_page_and_type Unexecuted instantiation: mctelem.c:put_page_and_type Unexecuted instantiation: mce.c:put_page_and_type Unexecuted instantiation: mce-apei.c:put_page_and_type Unexecuted instantiation: mce_intel.c:put_page_and_type Unexecuted instantiation: non-fatal.c:put_page_and_type Unexecuted instantiation: util.c:put_page_and_type Unexecuted instantiation: vmce.c:put_page_and_type Unexecuted instantiation: generic.c:put_page_and_type Unexecuted instantiation: main.c:put_page_and_type Unexecuted instantiation: bigsmp.c:put_page_and_type Unexecuted instantiation: x2apic.c:put_page_and_type Unexecuted instantiation: default.c:put_page_and_type Unexecuted instantiation: delivery.c:put_page_and_type Unexecuted instantiation: probe.c:put_page_and_type Unexecuted instantiation: asid.c:put_page_and_type Unexecuted instantiation: dm.c:put_page_and_type Unexecuted instantiation: emulate.c:put_page_and_type Unexecuted instantiation: hvm.c:put_page_and_type Unexecuted instantiation: i8254.c:put_page_and_type Unexecuted instantiation: intercept.c:put_page_and_type Unexecuted instantiation: ioreq.c:put_page_and_type Unexecuted instantiation: mtrr.c:put_page_and_type Unexecuted instantiation: nestedhvm.c:put_page_and_type Unexecuted instantiation: pmtimer.c:put_page_and_type Unexecuted instantiation: rtc.c:put_page_and_type Unexecuted instantiation: save.c:put_page_and_type Unexecuted instantiation: stdvga.c:put_page_and_type Unexecuted instantiation: vioapic.c:put_page_and_type Unexecuted instantiation: viridian.c:put_page_and_type Unexecuted instantiation: vlapic.c:put_page_and_type Unexecuted instantiation: vmsi.c:put_page_and_type Unexecuted instantiation: vpic.c:put_page_and_type Unexecuted instantiation: vpt.c:put_page_and_type Unexecuted instantiation: intr.c:put_page_and_type Unexecuted instantiation: nestedsvm.c:put_page_and_type Unexecuted instantiation: svm.c:put_page_and_type Unexecuted instantiation: svmdebug.c:put_page_and_type Unexecuted instantiation: vmcb.c:put_page_and_type Unexecuted instantiation: realmode.c:put_page_and_type Unexecuted instantiation: vmcs.c:put_page_and_type Unexecuted instantiation: vmx.c:put_page_and_type Unexecuted instantiation: vvmx.c:put_page_and_type Unexecuted instantiation: paging.c:put_page_and_type Unexecuted instantiation: p2m.c:put_page_and_type Unexecuted instantiation: p2m-pt.c:put_page_and_type Unexecuted instantiation: p2m-ept.c:put_page_and_type Unexecuted instantiation: p2m-pod.c:put_page_and_type Unexecuted instantiation: altp2m.c:put_page_and_type Unexecuted instantiation: guest_walk.c:put_page_and_type Unexecuted instantiation: mem_paging.c:put_page_and_type Unexecuted instantiation: mem_sharing.c:put_page_and_type Unexecuted instantiation: multi.c:put_page_and_type Unexecuted instantiation: hap.c:put_page_and_type Unexecuted instantiation: nested_hap.c:put_page_and_type Unexecuted instantiation: nested_ept.c:put_page_and_type Unexecuted instantiation: nmi_int.c:put_page_and_type Unexecuted instantiation: op_model_p4.c:put_page_and_type Unexecuted instantiation: op_model_ppro.c:put_page_and_type Unexecuted instantiation: op_model_athlon.c:put_page_and_type Unexecuted instantiation: backtrace.c:put_page_and_type Unexecuted instantiation: callback.c:put_page_and_type Unexecuted instantiation: descriptor-tables.c:put_page_and_type Unexecuted instantiation: emul-gate-op.c:put_page_and_type Unexecuted instantiation: emul-inv-op.c:put_page_and_type Unexecuted instantiation: emul-priv-op.c:put_page_and_type Unexecuted instantiation: iret.c:put_page_and_type Unexecuted instantiation: misc-hypercalls.c:put_page_and_type Unexecuted instantiation: ro-page-fault.c:put_page_and_type Unexecuted instantiation: acpi_mmcfg.c:put_page_and_type Unexecuted instantiation: mmconf-fam10h.c:put_page_and_type Unexecuted instantiation: mmconfig_64.c:put_page_and_type |
403 | | |
404 | | static inline int put_page_and_type_preemptible(struct page_info *page) |
405 | 0 | { |
406 | 0 | int rc = put_page_type_preemptible(page); |
407 | 0 |
|
408 | 0 | if ( likely(rc == 0) ) |
409 | 0 | put_page(page); |
410 | 0 | return rc; |
411 | 0 | } Unexecuted instantiation: cpupool.c:put_page_and_type_preemptible Unexecuted instantiation: mmconfig-shared.c:put_page_and_type_preemptible Unexecuted instantiation: domctl.c:put_page_and_type_preemptible Unexecuted instantiation: domain.c:put_page_and_type_preemptible Unexecuted instantiation: event_2l.c:put_page_and_type_preemptible Unexecuted instantiation: event_channel.c:put_page_and_type_preemptible Unexecuted instantiation: event_fifo.c:put_page_and_type_preemptible Unexecuted instantiation: grant_table.c:put_page_and_type_preemptible Unexecuted instantiation: guestcopy.c:put_page_and_type_preemptible Unexecuted instantiation: irq.c:put_page_and_type_preemptible Unexecuted instantiation: kernel.c:put_page_and_type_preemptible Unexecuted instantiation: keyhandler.c:put_page_and_type_preemptible Unexecuted instantiation: kexec.c:put_page_and_type_preemptible Unexecuted instantiation: kimage.c:put_page_and_type_preemptible Unexecuted instantiation: mem_access.c:put_page_and_type_preemptible Unexecuted instantiation: memory.c:put_page_and_type_preemptible Unexecuted instantiation: monitor.c:put_page_and_type_preemptible Unexecuted instantiation: multicall.c:put_page_and_type_preemptible Unexecuted instantiation: page_alloc.c:put_page_and_type_preemptible Unexecuted instantiation: pdx.c:put_page_and_type_preemptible Unexecuted instantiation: preempt.c:put_page_and_type_preemptible Unexecuted instantiation: rangeset.c:put_page_and_type_preemptible Unexecuted instantiation: rcupdate.c:put_page_and_type_preemptible Unexecuted instantiation: rwlock.c:put_page_and_type_preemptible Unexecuted instantiation: sched_arinc653.c:put_page_and_type_preemptible Unexecuted instantiation: sched_credit.c:put_page_and_type_preemptible Unexecuted instantiation: sched_credit2.c:put_page_and_type_preemptible Unexecuted instantiation: sched_rt.c:put_page_and_type_preemptible Unexecuted instantiation: sched_null.c:put_page_and_type_preemptible Unexecuted instantiation: schedule.c:put_page_and_type_preemptible Unexecuted instantiation: shutdown.c:put_page_and_type_preemptible Unexecuted instantiation: softirq.c:put_page_and_type_preemptible Unexecuted instantiation: spinlock.c:put_page_and_type_preemptible Unexecuted instantiation: stop_machine.c:put_page_and_type_preemptible Unexecuted instantiation: symbols.c:put_page_and_type_preemptible Unexecuted instantiation: sysctl.c:put_page_and_type_preemptible Unexecuted instantiation: tasklet.c:put_page_and_type_preemptible Unexecuted instantiation: time.c:put_page_and_type_preemptible Unexecuted instantiation: timer.c:put_page_and_type_preemptible Unexecuted instantiation: trace.c:put_page_and_type_preemptible Unexecuted instantiation: vm_event.c:put_page_and_type_preemptible Unexecuted instantiation: vmap.c:put_page_and_type_preemptible Unexecuted instantiation: vsprintf.c:put_page_and_type_preemptible Unexecuted instantiation: wait.c:put_page_and_type_preemptible Unexecuted instantiation: xenoprof.c:put_page_and_type_preemptible Unexecuted instantiation: xmalloc_tlsf.c:put_page_and_type_preemptible Unexecuted instantiation: tmem.c:put_page_and_type_preemptible Unexecuted instantiation: tmem_xen.c:put_page_and_type_preemptible Unexecuted instantiation: tmem_control.c:put_page_and_type_preemptible Unexecuted instantiation: llvm.c:put_page_and_type_preemptible Unexecuted instantiation: libelf-loader.c:put_page_and_type_preemptible Unexecuted instantiation: console.c:put_page_and_type_preemptible Unexecuted instantiation: ns16550.c:put_page_and_type_preemptible Unexecuted instantiation: ehci-dbgp.c:put_page_and_type_preemptible Unexecuted instantiation: serial.c:put_page_and_type_preemptible Unexecuted instantiation: cpufreq.c:put_page_and_type_preemptible Unexecuted instantiation: cpufreq_ondemand.c:put_page_and_type_preemptible Unexecuted instantiation: cpufreq_misc_governors.c:put_page_and_type_preemptible Unexecuted instantiation: utility.c:put_page_and_type_preemptible Unexecuted instantiation: pci.c:put_page_and_type_preemptible Unexecuted instantiation: vpci.c:put_page_and_type_preemptible Unexecuted instantiation: header.c:put_page_and_type_preemptible Unexecuted instantiation: msi.c:put_page_and_type_preemptible Unexecuted instantiation: msix.c:put_page_and_type_preemptible Unexecuted instantiation: iommu.c:put_page_and_type_preemptible Unexecuted instantiation: io.c:put_page_and_type_preemptible Unexecuted instantiation: dmar.c:put_page_and_type_preemptible Unexecuted instantiation: utils.c:put_page_and_type_preemptible Unexecuted instantiation: qinval.c:put_page_and_type_preemptible Unexecuted instantiation: intremap.c:put_page_and_type_preemptible Unexecuted instantiation: quirks.c:put_page_and_type_preemptible Unexecuted instantiation: vtd.c:put_page_and_type_preemptible Unexecuted instantiation: ats.c:put_page_and_type_preemptible Unexecuted instantiation: iommu_init.c:put_page_and_type_preemptible Unexecuted instantiation: iommu_map.c:put_page_and_type_preemptible Unexecuted instantiation: pci_amd_iommu.c:put_page_and_type_preemptible Unexecuted instantiation: iommu_intr.c:put_page_and_type_preemptible Unexecuted instantiation: iommu_cmd.c:put_page_and_type_preemptible Unexecuted instantiation: iommu_guest.c:put_page_and_type_preemptible Unexecuted instantiation: osl.c:put_page_and_type_preemptible Unexecuted instantiation: pmstat.c:put_page_and_type_preemptible Unexecuted instantiation: hwregs.c:put_page_and_type_preemptible Unexecuted instantiation: reboot.c:put_page_and_type_preemptible Unexecuted instantiation: erst.c:put_page_and_type_preemptible Unexecuted instantiation: hest.c:put_page_and_type_preemptible Unexecuted instantiation: apei-base.c:put_page_and_type_preemptible Unexecuted instantiation: apei-io.c:put_page_and_type_preemptible Unexecuted instantiation: vga.c:put_page_and_type_preemptible Unexecuted instantiation: vesa.c:put_page_and_type_preemptible Unexecuted instantiation: xsm_core.c:put_page_and_type_preemptible Unexecuted instantiation: apic.c:put_page_and_type_preemptible Unexecuted instantiation: cpuid.c:put_page_and_type_preemptible Unexecuted instantiation: compat.c:put_page_and_type_preemptible Unexecuted instantiation: crash.c:put_page_and_type_preemptible Unexecuted instantiation: debug.c:put_page_and_type_preemptible Unexecuted instantiation: domain_page.c:put_page_and_type_preemptible Unexecuted instantiation: e820.c:put_page_and_type_preemptible Unexecuted instantiation: extable.c:put_page_and_type_preemptible Unexecuted instantiation: flushtlb.c:put_page_and_type_preemptible Unexecuted instantiation: hypercall.c:put_page_and_type_preemptible Unexecuted instantiation: i387.c:put_page_and_type_preemptible Unexecuted instantiation: i8259.c:put_page_and_type_preemptible Unexecuted instantiation: io_apic.c:put_page_and_type_preemptible Unexecuted instantiation: msr.c:put_page_and_type_preemptible Unexecuted instantiation: ioport_emulate.c:put_page_and_type_preemptible Unexecuted instantiation: machine_kexec.c:put_page_and_type_preemptible Unexecuted instantiation: microcode_amd.c:put_page_and_type_preemptible Unexecuted instantiation: microcode_intel.c:put_page_and_type_preemptible Unexecuted instantiation: cpu.c:put_page_and_type_preemptible Unexecuted instantiation: mm.c:put_page_and_type_preemptible Unexecuted instantiation: mpparse.c:put_page_and_type_preemptible Unexecuted instantiation: nmi.c:put_page_and_type_preemptible Unexecuted instantiation: numa.c:put_page_and_type_preemptible Unexecuted instantiation: percpu.c:put_page_and_type_preemptible Unexecuted instantiation: physdev.c:put_page_and_type_preemptible Unexecuted instantiation: platform_hypercall.c:put_page_and_type_preemptible Unexecuted instantiation: psr.c:put_page_and_type_preemptible Unexecuted instantiation: setup.c:put_page_and_type_preemptible Unexecuted instantiation: smp.c:put_page_and_type_preemptible Unexecuted instantiation: smpboot.c:put_page_and_type_preemptible Unexecuted instantiation: srat.c:put_page_and_type_preemptible Unexecuted instantiation: traps.c:put_page_and_type_preemptible Unexecuted instantiation: usercopy.c:put_page_and_type_preemptible Unexecuted instantiation: x86_emulate.c:put_page_and_type_preemptible Unexecuted instantiation: tboot.c:put_page_and_type_preemptible Unexecuted instantiation: hpet.c:put_page_and_type_preemptible Unexecuted instantiation: xstate.c:put_page_and_type_preemptible Unexecuted instantiation: lib.c:put_page_and_type_preemptible Unexecuted instantiation: power.c:put_page_and_type_preemptible Unexecuted instantiation: suspend.c:put_page_and_type_preemptible Unexecuted instantiation: cpu_idle.c:put_page_and_type_preemptible Unexecuted instantiation: cpuidle_menu.c:put_page_and_type_preemptible Unexecuted instantiation: powernow.c:put_page_and_type_preemptible Unexecuted instantiation: amd.c:put_page_and_type_preemptible Unexecuted instantiation: common.c:put_page_and_type_preemptible Unexecuted instantiation: intel.c:put_page_and_type_preemptible Unexecuted instantiation: mwait-idle.c:put_page_and_type_preemptible Unexecuted instantiation: vpmu.c:put_page_and_type_preemptible Unexecuted instantiation: vpmu_amd.c:put_page_and_type_preemptible Unexecuted instantiation: vpmu_intel.c:put_page_and_type_preemptible Unexecuted instantiation: amd_nonfatal.c:put_page_and_type_preemptible Unexecuted instantiation: mce_amd.c:put_page_and_type_preemptible Unexecuted instantiation: mcaction.c:put_page_and_type_preemptible Unexecuted instantiation: barrier.c:put_page_and_type_preemptible Unexecuted instantiation: mctelem.c:put_page_and_type_preemptible Unexecuted instantiation: mce.c:put_page_and_type_preemptible Unexecuted instantiation: mce-apei.c:put_page_and_type_preemptible Unexecuted instantiation: mce_intel.c:put_page_and_type_preemptible Unexecuted instantiation: non-fatal.c:put_page_and_type_preemptible Unexecuted instantiation: util.c:put_page_and_type_preemptible Unexecuted instantiation: vmce.c:put_page_and_type_preemptible Unexecuted instantiation: generic.c:put_page_and_type_preemptible Unexecuted instantiation: main.c:put_page_and_type_preemptible Unexecuted instantiation: bigsmp.c:put_page_and_type_preemptible Unexecuted instantiation: x2apic.c:put_page_and_type_preemptible Unexecuted instantiation: default.c:put_page_and_type_preemptible Unexecuted instantiation: delivery.c:put_page_and_type_preemptible Unexecuted instantiation: probe.c:put_page_and_type_preemptible Unexecuted instantiation: asid.c:put_page_and_type_preemptible Unexecuted instantiation: dm.c:put_page_and_type_preemptible Unexecuted instantiation: emulate.c:put_page_and_type_preemptible Unexecuted instantiation: hvm.c:put_page_and_type_preemptible Unexecuted instantiation: microcode.c:put_page_and_type_preemptible Unexecuted instantiation: i8254.c:put_page_and_type_preemptible Unexecuted instantiation: intercept.c:put_page_and_type_preemptible Unexecuted instantiation: ioreq.c:put_page_and_type_preemptible Unexecuted instantiation: mtrr.c:put_page_and_type_preemptible Unexecuted instantiation: nestedhvm.c:put_page_and_type_preemptible Unexecuted instantiation: pmtimer.c:put_page_and_type_preemptible Unexecuted instantiation: rtc.c:put_page_and_type_preemptible Unexecuted instantiation: save.c:put_page_and_type_preemptible Unexecuted instantiation: stdvga.c:put_page_and_type_preemptible Unexecuted instantiation: vioapic.c:put_page_and_type_preemptible Unexecuted instantiation: viridian.c:put_page_and_type_preemptible Unexecuted instantiation: vlapic.c:put_page_and_type_preemptible Unexecuted instantiation: vmsi.c:put_page_and_type_preemptible Unexecuted instantiation: vpic.c:put_page_and_type_preemptible Unexecuted instantiation: vpt.c:put_page_and_type_preemptible Unexecuted instantiation: intr.c:put_page_and_type_preemptible Unexecuted instantiation: nestedsvm.c:put_page_and_type_preemptible Unexecuted instantiation: svm.c:put_page_and_type_preemptible Unexecuted instantiation: svmdebug.c:put_page_and_type_preemptible Unexecuted instantiation: vmcb.c:put_page_and_type_preemptible Unexecuted instantiation: realmode.c:put_page_and_type_preemptible Unexecuted instantiation: vmcs.c:put_page_and_type_preemptible Unexecuted instantiation: vmx.c:put_page_and_type_preemptible Unexecuted instantiation: vvmx.c:put_page_and_type_preemptible Unexecuted instantiation: paging.c:put_page_and_type_preemptible Unexecuted instantiation: p2m.c:put_page_and_type_preemptible Unexecuted instantiation: p2m-pt.c:put_page_and_type_preemptible Unexecuted instantiation: p2m-ept.c:put_page_and_type_preemptible Unexecuted instantiation: p2m-pod.c:put_page_and_type_preemptible Unexecuted instantiation: altp2m.c:put_page_and_type_preemptible Unexecuted instantiation: guest_walk.c:put_page_and_type_preemptible Unexecuted instantiation: mem_paging.c:put_page_and_type_preemptible Unexecuted instantiation: mem_sharing.c:put_page_and_type_preemptible Unexecuted instantiation: multi.c:put_page_and_type_preemptible Unexecuted instantiation: hap.c:put_page_and_type_preemptible Unexecuted instantiation: nested_hap.c:put_page_and_type_preemptible Unexecuted instantiation: nested_ept.c:put_page_and_type_preemptible Unexecuted instantiation: nmi_int.c:put_page_and_type_preemptible Unexecuted instantiation: op_model_p4.c:put_page_and_type_preemptible Unexecuted instantiation: op_model_ppro.c:put_page_and_type_preemptible Unexecuted instantiation: op_model_athlon.c:put_page_and_type_preemptible Unexecuted instantiation: backtrace.c:put_page_and_type_preemptible Unexecuted instantiation: callback.c:put_page_and_type_preemptible Unexecuted instantiation: descriptor-tables.c:put_page_and_type_preemptible Unexecuted instantiation: emul-gate-op.c:put_page_and_type_preemptible Unexecuted instantiation: emul-inv-op.c:put_page_and_type_preemptible Unexecuted instantiation: emul-priv-op.c:put_page_and_type_preemptible Unexecuted instantiation: iret.c:put_page_and_type_preemptible Unexecuted instantiation: misc-hypercalls.c:put_page_and_type_preemptible Unexecuted instantiation: ro-page-fault.c:put_page_and_type_preemptible Unexecuted instantiation: acpi_mmcfg.c:put_page_and_type_preemptible Unexecuted instantiation: mmconf-fam10h.c:put_page_and_type_preemptible Unexecuted instantiation: mmconfig_64.c:put_page_and_type_preemptible |
412 | | |
413 | | static inline int get_page_and_type(struct page_info *page, |
414 | | struct domain *domain, |
415 | | unsigned long type) |
416 | 0 | { |
417 | 0 | int rc = get_page(page, domain); |
418 | 0 |
|
419 | 0 | if ( likely(rc) && unlikely(!get_page_type(page, type)) ) |
420 | 0 | { |
421 | 0 | put_page(page); |
422 | 0 | rc = 0; |
423 | 0 | } |
424 | 0 |
|
425 | 0 | return rc; |
426 | 0 | } Unexecuted instantiation: cpupool.c:get_page_and_type Unexecuted instantiation: mmconfig-shared.c:get_page_and_type Unexecuted instantiation: mmconfig_64.c:get_page_and_type Unexecuted instantiation: mmconf-fam10h.c:get_page_and_type Unexecuted instantiation: acpi_mmcfg.c:get_page_and_type Unexecuted instantiation: ro-page-fault.c:get_page_and_type Unexecuted instantiation: misc-hypercalls.c:get_page_and_type Unexecuted instantiation: iret.c:get_page_and_type Unexecuted instantiation: emul-priv-op.c:get_page_and_type Unexecuted instantiation: emul-inv-op.c:get_page_and_type Unexecuted instantiation: emul-gate-op.c:get_page_and_type Unexecuted instantiation: descriptor-tables.c:get_page_and_type Unexecuted instantiation: callback.c:get_page_and_type Unexecuted instantiation: backtrace.c:get_page_and_type Unexecuted instantiation: op_model_athlon.c:get_page_and_type Unexecuted instantiation: op_model_ppro.c:get_page_and_type Unexecuted instantiation: op_model_p4.c:get_page_and_type Unexecuted instantiation: nmi_int.c:get_page_and_type Unexecuted instantiation: nested_ept.c:get_page_and_type Unexecuted instantiation: nested_hap.c:get_page_and_type Unexecuted instantiation: hap.c:get_page_and_type Unexecuted instantiation: multi.c:get_page_and_type Unexecuted instantiation: mem_sharing.c:get_page_and_type Unexecuted instantiation: mem_paging.c:get_page_and_type Unexecuted instantiation: guest_walk.c:get_page_and_type Unexecuted instantiation: altp2m.c:get_page_and_type Unexecuted instantiation: p2m-pod.c:get_page_and_type Unexecuted instantiation: p2m-ept.c:get_page_and_type Unexecuted instantiation: p2m-pt.c:get_page_and_type Unexecuted instantiation: p2m.c:get_page_and_type Unexecuted instantiation: paging.c:get_page_and_type Unexecuted instantiation: vvmx.c:get_page_and_type Unexecuted instantiation: vmx.c:get_page_and_type Unexecuted instantiation: vmcs.c:get_page_and_type Unexecuted instantiation: realmode.c:get_page_and_type Unexecuted instantiation: vmcb.c:get_page_and_type Unexecuted instantiation: svmdebug.c:get_page_and_type Unexecuted instantiation: svm.c:get_page_and_type Unexecuted instantiation: nestedsvm.c:get_page_and_type Unexecuted instantiation: intr.c:get_page_and_type Unexecuted instantiation: vpt.c:get_page_and_type Unexecuted instantiation: vpic.c:get_page_and_type Unexecuted instantiation: vmsi.c:get_page_and_type Unexecuted instantiation: vlapic.c:get_page_and_type Unexecuted instantiation: viridian.c:get_page_and_type Unexecuted instantiation: vioapic.c:get_page_and_type Unexecuted instantiation: stdvga.c:get_page_and_type Unexecuted instantiation: save.c:get_page_and_type Unexecuted instantiation: rtc.c:get_page_and_type Unexecuted instantiation: pmtimer.c:get_page_and_type Unexecuted instantiation: nestedhvm.c:get_page_and_type Unexecuted instantiation: mtrr.c:get_page_and_type Unexecuted instantiation: ioreq.c:get_page_and_type Unexecuted instantiation: intercept.c:get_page_and_type Unexecuted instantiation: i8254.c:get_page_and_type Unexecuted instantiation: hvm.c:get_page_and_type Unexecuted instantiation: emulate.c:get_page_and_type Unexecuted instantiation: dm.c:get_page_and_type Unexecuted instantiation: asid.c:get_page_and_type Unexecuted instantiation: probe.c:get_page_and_type Unexecuted instantiation: delivery.c:get_page_and_type Unexecuted instantiation: default.c:get_page_and_type Unexecuted instantiation: x2apic.c:get_page_and_type Unexecuted instantiation: bigsmp.c:get_page_and_type Unexecuted instantiation: main.c:get_page_and_type Unexecuted instantiation: generic.c:get_page_and_type Unexecuted instantiation: vmce.c:get_page_and_type Unexecuted instantiation: util.c:get_page_and_type Unexecuted instantiation: non-fatal.c:get_page_and_type Unexecuted instantiation: mce_intel.c:get_page_and_type Unexecuted instantiation: mce-apei.c:get_page_and_type Unexecuted instantiation: mce.c:get_page_and_type Unexecuted instantiation: mctelem.c:get_page_and_type Unexecuted instantiation: barrier.c:get_page_and_type Unexecuted instantiation: mcaction.c:get_page_and_type Unexecuted instantiation: mce_amd.c:get_page_and_type Unexecuted instantiation: amd_nonfatal.c:get_page_and_type Unexecuted instantiation: vpmu_intel.c:get_page_and_type Unexecuted instantiation: vpmu_amd.c:get_page_and_type Unexecuted instantiation: vpmu.c:get_page_and_type Unexecuted instantiation: mwait-idle.c:get_page_and_type Unexecuted instantiation: intel.c:get_page_and_type Unexecuted instantiation: common.c:get_page_and_type Unexecuted instantiation: amd.c:get_page_and_type Unexecuted instantiation: powernow.c:get_page_and_type Unexecuted instantiation: cpuidle_menu.c:get_page_and_type Unexecuted instantiation: cpu_idle.c:get_page_and_type Unexecuted instantiation: suspend.c:get_page_and_type Unexecuted instantiation: power.c:get_page_and_type Unexecuted instantiation: lib.c:get_page_and_type Unexecuted instantiation: xstate.c:get_page_and_type Unexecuted instantiation: hpet.c:get_page_and_type Unexecuted instantiation: tboot.c:get_page_and_type Unexecuted instantiation: x86_emulate.c:get_page_and_type Unexecuted instantiation: usercopy.c:get_page_and_type Unexecuted instantiation: traps.c:get_page_and_type Unexecuted instantiation: srat.c:get_page_and_type Unexecuted instantiation: smpboot.c:get_page_and_type Unexecuted instantiation: smp.c:get_page_and_type Unexecuted instantiation: setup.c:get_page_and_type Unexecuted instantiation: psr.c:get_page_and_type Unexecuted instantiation: platform_hypercall.c:get_page_and_type Unexecuted instantiation: physdev.c:get_page_and_type Unexecuted instantiation: percpu.c:get_page_and_type Unexecuted instantiation: numa.c:get_page_and_type Unexecuted instantiation: nmi.c:get_page_and_type Unexecuted instantiation: mpparse.c:get_page_and_type Unexecuted instantiation: mm.c:get_page_and_type Unexecuted instantiation: cpu.c:get_page_and_type Unexecuted instantiation: microcode_intel.c:get_page_and_type Unexecuted instantiation: microcode_amd.c:get_page_and_type Unexecuted instantiation: machine_kexec.c:get_page_and_type Unexecuted instantiation: ioport_emulate.c:get_page_and_type Unexecuted instantiation: msr.c:get_page_and_type Unexecuted instantiation: io_apic.c:get_page_and_type Unexecuted instantiation: i8259.c:get_page_and_type Unexecuted instantiation: i387.c:get_page_and_type Unexecuted instantiation: hypercall.c:get_page_and_type Unexecuted instantiation: flushtlb.c:get_page_and_type Unexecuted instantiation: extable.c:get_page_and_type Unexecuted instantiation: e820.c:get_page_and_type Unexecuted instantiation: domain_page.c:get_page_and_type Unexecuted instantiation: debug.c:get_page_and_type Unexecuted instantiation: crash.c:get_page_and_type Unexecuted instantiation: compat.c:get_page_and_type Unexecuted instantiation: cpuid.c:get_page_and_type Unexecuted instantiation: apic.c:get_page_and_type Unexecuted instantiation: xsm_core.c:get_page_and_type Unexecuted instantiation: vesa.c:get_page_and_type Unexecuted instantiation: vga.c:get_page_and_type Unexecuted instantiation: apei-io.c:get_page_and_type Unexecuted instantiation: apei-base.c:get_page_and_type Unexecuted instantiation: hest.c:get_page_and_type Unexecuted instantiation: erst.c:get_page_and_type Unexecuted instantiation: reboot.c:get_page_and_type Unexecuted instantiation: hwregs.c:get_page_and_type Unexecuted instantiation: pmstat.c:get_page_and_type Unexecuted instantiation: osl.c:get_page_and_type Unexecuted instantiation: iommu_guest.c:get_page_and_type Unexecuted instantiation: iommu_cmd.c:get_page_and_type Unexecuted instantiation: iommu_intr.c:get_page_and_type Unexecuted instantiation: pci_amd_iommu.c:get_page_and_type Unexecuted instantiation: iommu_map.c:get_page_and_type Unexecuted instantiation: iommu_init.c:get_page_and_type Unexecuted instantiation: ats.c:get_page_and_type Unexecuted instantiation: vtd.c:get_page_and_type Unexecuted instantiation: quirks.c:get_page_and_type Unexecuted instantiation: intremap.c:get_page_and_type Unexecuted instantiation: qinval.c:get_page_and_type Unexecuted instantiation: utils.c:get_page_and_type Unexecuted instantiation: dmar.c:get_page_and_type Unexecuted instantiation: io.c:get_page_and_type Unexecuted instantiation: iommu.c:get_page_and_type Unexecuted instantiation: msix.c:get_page_and_type Unexecuted instantiation: msi.c:get_page_and_type Unexecuted instantiation: header.c:get_page_and_type Unexecuted instantiation: vpci.c:get_page_and_type Unexecuted instantiation: pci.c:get_page_and_type Unexecuted instantiation: utility.c:get_page_and_type Unexecuted instantiation: cpufreq_misc_governors.c:get_page_and_type Unexecuted instantiation: cpufreq_ondemand.c:get_page_and_type Unexecuted instantiation: cpufreq.c:get_page_and_type Unexecuted instantiation: serial.c:get_page_and_type Unexecuted instantiation: ehci-dbgp.c:get_page_and_type Unexecuted instantiation: ns16550.c:get_page_and_type Unexecuted instantiation: console.c:get_page_and_type Unexecuted instantiation: libelf-loader.c:get_page_and_type Unexecuted instantiation: llvm.c:get_page_and_type Unexecuted instantiation: tmem_control.c:get_page_and_type Unexecuted instantiation: tmem_xen.c:get_page_and_type Unexecuted instantiation: tmem.c:get_page_and_type Unexecuted instantiation: xmalloc_tlsf.c:get_page_and_type Unexecuted instantiation: xenoprof.c:get_page_and_type Unexecuted instantiation: wait.c:get_page_and_type Unexecuted instantiation: vsprintf.c:get_page_and_type Unexecuted instantiation: vmap.c:get_page_and_type Unexecuted instantiation: vm_event.c:get_page_and_type Unexecuted instantiation: trace.c:get_page_and_type Unexecuted instantiation: timer.c:get_page_and_type Unexecuted instantiation: time.c:get_page_and_type Unexecuted instantiation: tasklet.c:get_page_and_type Unexecuted instantiation: sysctl.c:get_page_and_type Unexecuted instantiation: symbols.c:get_page_and_type Unexecuted instantiation: stop_machine.c:get_page_and_type Unexecuted instantiation: spinlock.c:get_page_and_type Unexecuted instantiation: softirq.c:get_page_and_type Unexecuted instantiation: shutdown.c:get_page_and_type Unexecuted instantiation: schedule.c:get_page_and_type Unexecuted instantiation: sched_null.c:get_page_and_type Unexecuted instantiation: sched_rt.c:get_page_and_type Unexecuted instantiation: sched_credit2.c:get_page_and_type Unexecuted instantiation: sched_credit.c:get_page_and_type Unexecuted instantiation: sched_arinc653.c:get_page_and_type Unexecuted instantiation: rwlock.c:get_page_and_type Unexecuted instantiation: rcupdate.c:get_page_and_type Unexecuted instantiation: rangeset.c:get_page_and_type Unexecuted instantiation: preempt.c:get_page_and_type Unexecuted instantiation: pdx.c:get_page_and_type Unexecuted instantiation: page_alloc.c:get_page_and_type Unexecuted instantiation: multicall.c:get_page_and_type Unexecuted instantiation: monitor.c:get_page_and_type Unexecuted instantiation: memory.c:get_page_and_type Unexecuted instantiation: mem_access.c:get_page_and_type Unexecuted instantiation: kimage.c:get_page_and_type Unexecuted instantiation: kexec.c:get_page_and_type Unexecuted instantiation: keyhandler.c:get_page_and_type Unexecuted instantiation: kernel.c:get_page_and_type Unexecuted instantiation: irq.c:get_page_and_type Unexecuted instantiation: guestcopy.c:get_page_and_type Unexecuted instantiation: grant_table.c:get_page_and_type Unexecuted instantiation: event_fifo.c:get_page_and_type Unexecuted instantiation: event_channel.c:get_page_and_type Unexecuted instantiation: event_2l.c:get_page_and_type Unexecuted instantiation: domain.c:get_page_and_type Unexecuted instantiation: domctl.c:get_page_and_type Unexecuted instantiation: microcode.c:get_page_and_type |
427 | | |
428 | | #define ASSERT_PAGE_IS_TYPE(_p, _t) \ |
429 | 0 | ASSERT(((_p)->u.inuse.type_info & PGT_type_mask) == (_t)); \ |
430 | 0 | ASSERT(((_p)->u.inuse.type_info & PGT_count_mask) != 0) |
431 | | #define ASSERT_PAGE_IS_DOMAIN(_p, _d) \ |
432 | 0 | ASSERT(((_p)->count_info & PGC_count_mask) != 0); \ |
433 | 0 | ASSERT(page_get_owner(_p) == (_d)) |
434 | | |
435 | | int check_descriptor(const struct domain *, struct desc_struct *d); |
436 | | |
437 | | extern paddr_t mem_hotplug; |
438 | | |
439 | | /****************************************************************************** |
440 | | * With shadow pagetables, the different kinds of address start |
441 | | * to get get confusing. |
442 | | * |
443 | | * Virtual addresses are what they usually are: the addresses that are used |
444 | | * to accessing memory while the guest is running. The MMU translates from |
445 | | * virtual addresses to machine addresses. |
446 | | * |
447 | | * (Pseudo-)physical addresses are the abstraction of physical memory the |
448 | | * guest uses for allocation and so forth. For the purposes of this code, |
449 | | * we can largely ignore them. |
450 | | * |
451 | | * Guest frame numbers (gfns) are the entries that the guest puts in its |
452 | | * pagetables. For normal paravirtual guests, they are actual frame numbers, |
453 | | * with the translation done by the guest. |
454 | | * |
455 | | * Machine frame numbers (mfns) are the entries that the hypervisor puts |
456 | | * in the shadow page tables. |
457 | | * |
458 | | * Elsewhere in the xen code base, the name "gmfn" is generally used to refer |
459 | | * to a "machine frame number, from the guest's perspective", or in other |
460 | | * words, pseudo-physical frame numbers. However, in the shadow code, the |
461 | | * term "gmfn" means "the mfn of a guest page"; this combines naturally with |
462 | | * other terms such as "smfn" (the mfn of a shadow page), gl2mfn (the mfn of a |
463 | | * guest L2 page), etc... |
464 | | */ |
465 | | |
466 | | /* |
467 | | * The MPT (machine->physical mapping table) is an array of word-sized |
468 | | * values, indexed on machine frame number. It is expected that guest OSes |
469 | | * will use it to store a "physical" frame number to give the appearance of |
470 | | * contiguous (or near contiguous) physical memory. |
471 | | */ |
472 | | #undef machine_to_phys_mapping |
473 | 8.14M | #define machine_to_phys_mapping ((unsigned long *)RDWR_MPT_VIRT_START) |
474 | 4.05M | #define INVALID_M2P_ENTRY (~0UL) |
475 | | #define VALID_M2P(_e) (!((_e) & (1UL<<(BITS_PER_LONG-1)))) |
476 | 0 | #define SHARED_M2P_ENTRY (~0UL - 1UL) |
477 | 0 | #define SHARED_M2P(_e) ((_e) == SHARED_M2P_ENTRY) |
478 | | |
479 | 4.09M | #define compat_machine_to_phys_mapping ((unsigned int *)RDWR_COMPAT_MPT_VIRT_START) |
480 | 4.09M | #define _set_gpfn_from_mfn(mfn, pfn) ({ \ |
481 | 4.09M | struct domain *d = page_get_owner(__mfn_to_page(mfn)); \ |
482 | 4.05M | unsigned long entry = (d && (d == dom_cow)) ? \ |
483 | 4.09M | SHARED_M2P_ENTRY : (pfn); \ |
484 | 4.09M | ((void)((mfn) >= (RDWR_COMPAT_MPT_VIRT_END - RDWR_COMPAT_MPT_VIRT_START) / 4 || \ |
485 | 4.09M | (compat_machine_to_phys_mapping[(mfn)] = (unsigned int)(entry))), \ |
486 | 4.09M | machine_to_phys_mapping[(mfn)] = (entry)); \ |
487 | 4.09M | }) |
488 | | |
489 | | /* |
490 | | * Disable some users of set_gpfn_from_mfn() (e.g., free_heap_pages()) until |
491 | | * the machine_to_phys_mapping is actually set up. |
492 | | */ |
493 | | extern bool machine_to_phys_mapping_valid; |
494 | 8.22M | #define set_gpfn_from_mfn(mfn, pfn) do { \ |
495 | 8.22M | if ( machine_to_phys_mapping_valid ) \ |
496 | 4.09M | _set_gpfn_from_mfn(mfn, pfn); \ |
497 | 8.22M | } while (0) |
498 | | |
499 | | extern struct rangeset *mmio_ro_ranges; |
500 | | |
501 | 4.05M | #define get_gpfn_from_mfn(mfn) (machine_to_phys_mapping[(mfn)]) |
502 | | |
503 | | #define mfn_to_gmfn(_d, mfn) \ |
504 | 4 | ( (paging_mode_translate(_d)) \ |
505 | 4 | ? get_gpfn_from_mfn(mfn) \ |
506 | 0 | : (mfn) ) |
507 | | |
508 | 0 | #define compat_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) |
509 | 0 | #define compat_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) |
510 | | |
511 | | #ifdef MEMORY_GUARD |
512 | | void memguard_guard_range(void *p, unsigned long l); |
513 | | void memguard_unguard_range(void *p, unsigned long l); |
514 | | #else |
515 | | #define memguard_guard_range(_p,_l) ((void)0) |
516 | | #define memguard_unguard_range(_p,_l) ((void)0) |
517 | | #endif |
518 | | |
519 | | void memguard_guard_stack(void *p); |
520 | | void memguard_unguard_stack(void *p); |
521 | | |
522 | | struct mmio_ro_emulate_ctxt { |
523 | | unsigned long cr2; |
524 | | unsigned int seg, bdf; |
525 | | }; |
526 | | |
527 | | extern int mmio_ro_emulated_write(enum x86_segment seg, |
528 | | unsigned long offset, |
529 | | void *p_data, |
530 | | unsigned int bytes, |
531 | | struct x86_emulate_ctxt *ctxt); |
532 | | extern int mmcfg_intercept_write(enum x86_segment seg, |
533 | | unsigned long offset, |
534 | | void *p_data, |
535 | | unsigned int bytes, |
536 | | struct x86_emulate_ctxt *ctxt); |
537 | | int pv_emul_cpuid(uint32_t leaf, uint32_t subleaf, |
538 | | struct cpuid_leaf *res, struct x86_emulate_ctxt *ctxt); |
539 | | |
540 | | int audit_adjust_pgtables(struct domain *d, int dir, int noisy); |
541 | | |
542 | | extern int pagefault_by_memadd(unsigned long addr, struct cpu_user_regs *regs); |
543 | | extern int handle_memadd_fault(unsigned long addr, struct cpu_user_regs *regs); |
544 | | |
545 | | #ifndef NDEBUG |
546 | | |
547 | | #define AUDIT_SHADOW_ALREADY_LOCKED ( 1u << 0 ) |
548 | | #define AUDIT_ERRORS_OK ( 1u << 1 ) |
549 | | #define AUDIT_QUIET ( 1u << 2 ) |
550 | | |
551 | | void _audit_domain(struct domain *d, int flags); |
552 | | #define audit_domain(_d) _audit_domain((_d), AUDIT_ERRORS_OK) |
553 | | void audit_domains(void); |
554 | | |
555 | | #else |
556 | | |
557 | | #define _audit_domain(_d, _f) ((void)0) |
558 | | #define audit_domain(_d) ((void)0) |
559 | | #define audit_domains() ((void)0) |
560 | | |
561 | | #endif |
562 | | |
563 | | void make_cr3(struct vcpu *v, mfn_t mfn); |
564 | | void update_cr3(struct vcpu *v); |
565 | | int vcpu_destroy_pagetables(struct vcpu *); |
566 | | void *do_page_walk(struct vcpu *v, unsigned long addr); |
567 | | |
568 | | int __sync_local_execstate(void); |
569 | | |
570 | | /* Arch-specific portion of memory_op hypercall. */ |
571 | | long arch_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PARAM(void) arg); |
572 | | long subarch_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PARAM(void) arg); |
573 | | int compat_arch_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PARAM(void)); |
574 | | int compat_subarch_memory_op(int op, XEN_GUEST_HANDLE_PARAM(void)); |
575 | | |
576 | 12 | #define NIL(type) ((type *)-sizeof(type)) |
577 | 24 | #define IS_NIL(ptr) (!((uintptr_t)(ptr) + sizeof(*(ptr)))) |
578 | | |
579 | | int create_perdomain_mapping(struct domain *, unsigned long va, |
580 | | unsigned int nr, l1_pgentry_t **, |
581 | | struct page_info **); |
582 | | void destroy_perdomain_mapping(struct domain *, unsigned long va, |
583 | | unsigned int nr); |
584 | | void free_perdomain_mappings(struct domain *); |
585 | | |
586 | | extern int memory_add(unsigned long spfn, unsigned long epfn, unsigned int pxm); |
587 | | |
588 | | void domain_set_alloc_bitsize(struct domain *d); |
589 | | unsigned int domain_clamp_alloc_bitsize(struct domain *d, unsigned int bits); |
590 | | |
591 | | unsigned long domain_get_maximum_gpfn(struct domain *d); |
592 | | |
593 | | extern struct domain *dom_xen, *dom_io, *dom_cow; /* for vmcoreinfo */ |
594 | | |
595 | | /* Definition of an mm lock: spinlock with extra fields for debugging */ |
596 | | typedef struct mm_lock { |
597 | | spinlock_t lock; |
598 | | int unlock_level; |
599 | | int locker; /* processor which holds the lock */ |
600 | | const char *locker_function; /* func that took it */ |
601 | | } mm_lock_t; |
602 | | |
603 | | typedef struct mm_rwlock { |
604 | | percpu_rwlock_t lock; |
605 | | int unlock_level; |
606 | | int recurse_count; |
607 | | int locker; /* CPU that holds the write lock */ |
608 | | const char *locker_function; /* func that took it */ |
609 | | } mm_rwlock_t; |
610 | | |
611 | | #define arch_free_heap_page(d, pg) \ |
612 | 150 | page_list_del2(pg, is_xen_heap_page(pg) ? \ |
613 | 149 | &(d)->xenpage_list : &(d)->page_list, \ |
614 | 150 | &(d)->arch.relmem_list) |
615 | | |
616 | | extern const char zero_page[]; |
617 | | |
618 | | /* Build a 32bit PSE page table using 4MB pages. */ |
619 | | void write_32bit_pse_identmap(uint32_t *l2); |
620 | | |
621 | | /* |
622 | | * x86 maps part of physical memory via the directmap region. |
623 | | * Return whether the input MFN falls in that range. |
624 | | */ |
625 | | static inline bool arch_mfn_in_directmap(unsigned long mfn) |
626 | 0 | { |
627 | 0 | unsigned long eva = min(DIRECTMAP_VIRT_END, HYPERVISOR_VIRT_END); |
628 | 0 |
|
629 | 0 | return mfn <= (virt_to_mfn(eva - 1) + 1); |
630 | 0 | } Unexecuted instantiation: cpupool.c:arch_mfn_in_directmap Unexecuted instantiation: domctl.c:arch_mfn_in_directmap Unexecuted instantiation: domain.c:arch_mfn_in_directmap Unexecuted instantiation: event_2l.c:arch_mfn_in_directmap Unexecuted instantiation: event_channel.c:arch_mfn_in_directmap Unexecuted instantiation: event_fifo.c:arch_mfn_in_directmap Unexecuted instantiation: grant_table.c:arch_mfn_in_directmap Unexecuted instantiation: guestcopy.c:arch_mfn_in_directmap Unexecuted instantiation: irq.c:arch_mfn_in_directmap Unexecuted instantiation: kernel.c:arch_mfn_in_directmap Unexecuted instantiation: keyhandler.c:arch_mfn_in_directmap Unexecuted instantiation: kexec.c:arch_mfn_in_directmap Unexecuted instantiation: kimage.c:arch_mfn_in_directmap Unexecuted instantiation: mem_access.c:arch_mfn_in_directmap Unexecuted instantiation: memory.c:arch_mfn_in_directmap Unexecuted instantiation: monitor.c:arch_mfn_in_directmap Unexecuted instantiation: multicall.c:arch_mfn_in_directmap Unexecuted instantiation: page_alloc.c:arch_mfn_in_directmap Unexecuted instantiation: pdx.c:arch_mfn_in_directmap Unexecuted instantiation: preempt.c:arch_mfn_in_directmap Unexecuted instantiation: rangeset.c:arch_mfn_in_directmap Unexecuted instantiation: rcupdate.c:arch_mfn_in_directmap Unexecuted instantiation: rwlock.c:arch_mfn_in_directmap Unexecuted instantiation: sched_arinc653.c:arch_mfn_in_directmap Unexecuted instantiation: sched_credit.c:arch_mfn_in_directmap Unexecuted instantiation: sched_credit2.c:arch_mfn_in_directmap Unexecuted instantiation: sched_rt.c:arch_mfn_in_directmap Unexecuted instantiation: sched_null.c:arch_mfn_in_directmap Unexecuted instantiation: schedule.c:arch_mfn_in_directmap Unexecuted instantiation: shutdown.c:arch_mfn_in_directmap Unexecuted instantiation: softirq.c:arch_mfn_in_directmap Unexecuted instantiation: spinlock.c:arch_mfn_in_directmap Unexecuted instantiation: stop_machine.c:arch_mfn_in_directmap Unexecuted instantiation: symbols.c:arch_mfn_in_directmap Unexecuted instantiation: sysctl.c:arch_mfn_in_directmap Unexecuted instantiation: tasklet.c:arch_mfn_in_directmap Unexecuted instantiation: time.c:arch_mfn_in_directmap Unexecuted instantiation: timer.c:arch_mfn_in_directmap Unexecuted instantiation: trace.c:arch_mfn_in_directmap Unexecuted instantiation: vm_event.c:arch_mfn_in_directmap Unexecuted instantiation: vmap.c:arch_mfn_in_directmap Unexecuted instantiation: vsprintf.c:arch_mfn_in_directmap Unexecuted instantiation: wait.c:arch_mfn_in_directmap Unexecuted instantiation: xenoprof.c:arch_mfn_in_directmap Unexecuted instantiation: xmalloc_tlsf.c:arch_mfn_in_directmap Unexecuted instantiation: tmem.c:arch_mfn_in_directmap Unexecuted instantiation: tmem_xen.c:arch_mfn_in_directmap Unexecuted instantiation: tmem_control.c:arch_mfn_in_directmap Unexecuted instantiation: llvm.c:arch_mfn_in_directmap Unexecuted instantiation: libelf-loader.c:arch_mfn_in_directmap Unexecuted instantiation: console.c:arch_mfn_in_directmap Unexecuted instantiation: ns16550.c:arch_mfn_in_directmap Unexecuted instantiation: ehci-dbgp.c:arch_mfn_in_directmap Unexecuted instantiation: serial.c:arch_mfn_in_directmap Unexecuted instantiation: cpufreq.c:arch_mfn_in_directmap Unexecuted instantiation: cpufreq_ondemand.c:arch_mfn_in_directmap Unexecuted instantiation: cpufreq_misc_governors.c:arch_mfn_in_directmap Unexecuted instantiation: utility.c:arch_mfn_in_directmap Unexecuted instantiation: pci.c:arch_mfn_in_directmap Unexecuted instantiation: vpci.c:arch_mfn_in_directmap Unexecuted instantiation: header.c:arch_mfn_in_directmap Unexecuted instantiation: msi.c:arch_mfn_in_directmap Unexecuted instantiation: msix.c:arch_mfn_in_directmap Unexecuted instantiation: iommu.c:arch_mfn_in_directmap Unexecuted instantiation: io.c:arch_mfn_in_directmap Unexecuted instantiation: dmar.c:arch_mfn_in_directmap Unexecuted instantiation: utils.c:arch_mfn_in_directmap Unexecuted instantiation: qinval.c:arch_mfn_in_directmap Unexecuted instantiation: intremap.c:arch_mfn_in_directmap Unexecuted instantiation: quirks.c:arch_mfn_in_directmap Unexecuted instantiation: vtd.c:arch_mfn_in_directmap Unexecuted instantiation: ats.c:arch_mfn_in_directmap Unexecuted instantiation: iommu_init.c:arch_mfn_in_directmap Unexecuted instantiation: iommu_map.c:arch_mfn_in_directmap Unexecuted instantiation: pci_amd_iommu.c:arch_mfn_in_directmap Unexecuted instantiation: iommu_intr.c:arch_mfn_in_directmap Unexecuted instantiation: iommu_cmd.c:arch_mfn_in_directmap Unexecuted instantiation: iommu_guest.c:arch_mfn_in_directmap Unexecuted instantiation: osl.c:arch_mfn_in_directmap Unexecuted instantiation: pmstat.c:arch_mfn_in_directmap Unexecuted instantiation: hwregs.c:arch_mfn_in_directmap Unexecuted instantiation: reboot.c:arch_mfn_in_directmap Unexecuted instantiation: erst.c:arch_mfn_in_directmap Unexecuted instantiation: hest.c:arch_mfn_in_directmap Unexecuted instantiation: apei-base.c:arch_mfn_in_directmap Unexecuted instantiation: apei-io.c:arch_mfn_in_directmap Unexecuted instantiation: vga.c:arch_mfn_in_directmap Unexecuted instantiation: vesa.c:arch_mfn_in_directmap Unexecuted instantiation: xsm_core.c:arch_mfn_in_directmap Unexecuted instantiation: apic.c:arch_mfn_in_directmap Unexecuted instantiation: cpuid.c:arch_mfn_in_directmap Unexecuted instantiation: compat.c:arch_mfn_in_directmap Unexecuted instantiation: crash.c:arch_mfn_in_directmap Unexecuted instantiation: debug.c:arch_mfn_in_directmap Unexecuted instantiation: domain_page.c:arch_mfn_in_directmap Unexecuted instantiation: e820.c:arch_mfn_in_directmap Unexecuted instantiation: extable.c:arch_mfn_in_directmap Unexecuted instantiation: flushtlb.c:arch_mfn_in_directmap Unexecuted instantiation: hypercall.c:arch_mfn_in_directmap Unexecuted instantiation: i387.c:arch_mfn_in_directmap Unexecuted instantiation: i8259.c:arch_mfn_in_directmap Unexecuted instantiation: io_apic.c:arch_mfn_in_directmap Unexecuted instantiation: msr.c:arch_mfn_in_directmap Unexecuted instantiation: ioport_emulate.c:arch_mfn_in_directmap Unexecuted instantiation: machine_kexec.c:arch_mfn_in_directmap Unexecuted instantiation: microcode_amd.c:arch_mfn_in_directmap Unexecuted instantiation: microcode_intel.c:arch_mfn_in_directmap Unexecuted instantiation: microcode.c:arch_mfn_in_directmap Unexecuted instantiation: mm.c:arch_mfn_in_directmap Unexecuted instantiation: mpparse.c:arch_mfn_in_directmap Unexecuted instantiation: nmi.c:arch_mfn_in_directmap Unexecuted instantiation: numa.c:arch_mfn_in_directmap Unexecuted instantiation: percpu.c:arch_mfn_in_directmap Unexecuted instantiation: physdev.c:arch_mfn_in_directmap Unexecuted instantiation: platform_hypercall.c:arch_mfn_in_directmap Unexecuted instantiation: psr.c:arch_mfn_in_directmap Unexecuted instantiation: setup.c:arch_mfn_in_directmap Unexecuted instantiation: smp.c:arch_mfn_in_directmap Unexecuted instantiation: smpboot.c:arch_mfn_in_directmap Unexecuted instantiation: srat.c:arch_mfn_in_directmap Unexecuted instantiation: traps.c:arch_mfn_in_directmap Unexecuted instantiation: usercopy.c:arch_mfn_in_directmap Unexecuted instantiation: x86_emulate.c:arch_mfn_in_directmap Unexecuted instantiation: tboot.c:arch_mfn_in_directmap Unexecuted instantiation: hpet.c:arch_mfn_in_directmap Unexecuted instantiation: xstate.c:arch_mfn_in_directmap Unexecuted instantiation: lib.c:arch_mfn_in_directmap Unexecuted instantiation: power.c:arch_mfn_in_directmap Unexecuted instantiation: suspend.c:arch_mfn_in_directmap Unexecuted instantiation: cpu_idle.c:arch_mfn_in_directmap Unexecuted instantiation: cpuidle_menu.c:arch_mfn_in_directmap Unexecuted instantiation: powernow.c:arch_mfn_in_directmap Unexecuted instantiation: amd.c:arch_mfn_in_directmap Unexecuted instantiation: common.c:arch_mfn_in_directmap Unexecuted instantiation: intel.c:arch_mfn_in_directmap Unexecuted instantiation: mwait-idle.c:arch_mfn_in_directmap Unexecuted instantiation: vpmu.c:arch_mfn_in_directmap Unexecuted instantiation: vpmu_amd.c:arch_mfn_in_directmap Unexecuted instantiation: vpmu_intel.c:arch_mfn_in_directmap Unexecuted instantiation: amd_nonfatal.c:arch_mfn_in_directmap Unexecuted instantiation: mce_amd.c:arch_mfn_in_directmap Unexecuted instantiation: mcaction.c:arch_mfn_in_directmap Unexecuted instantiation: barrier.c:arch_mfn_in_directmap Unexecuted instantiation: mctelem.c:arch_mfn_in_directmap Unexecuted instantiation: mce.c:arch_mfn_in_directmap Unexecuted instantiation: mce-apei.c:arch_mfn_in_directmap Unexecuted instantiation: mce_intel.c:arch_mfn_in_directmap Unexecuted instantiation: non-fatal.c:arch_mfn_in_directmap Unexecuted instantiation: util.c:arch_mfn_in_directmap Unexecuted instantiation: vmce.c:arch_mfn_in_directmap Unexecuted instantiation: generic.c:arch_mfn_in_directmap Unexecuted instantiation: main.c:arch_mfn_in_directmap Unexecuted instantiation: bigsmp.c:arch_mfn_in_directmap Unexecuted instantiation: x2apic.c:arch_mfn_in_directmap Unexecuted instantiation: default.c:arch_mfn_in_directmap Unexecuted instantiation: delivery.c:arch_mfn_in_directmap Unexecuted instantiation: probe.c:arch_mfn_in_directmap Unexecuted instantiation: asid.c:arch_mfn_in_directmap Unexecuted instantiation: dm.c:arch_mfn_in_directmap Unexecuted instantiation: emulate.c:arch_mfn_in_directmap Unexecuted instantiation: hvm.c:arch_mfn_in_directmap Unexecuted instantiation: i8254.c:arch_mfn_in_directmap Unexecuted instantiation: intercept.c:arch_mfn_in_directmap Unexecuted instantiation: ioreq.c:arch_mfn_in_directmap Unexecuted instantiation: mtrr.c:arch_mfn_in_directmap Unexecuted instantiation: nestedhvm.c:arch_mfn_in_directmap Unexecuted instantiation: pmtimer.c:arch_mfn_in_directmap Unexecuted instantiation: rtc.c:arch_mfn_in_directmap Unexecuted instantiation: save.c:arch_mfn_in_directmap Unexecuted instantiation: stdvga.c:arch_mfn_in_directmap Unexecuted instantiation: vioapic.c:arch_mfn_in_directmap Unexecuted instantiation: viridian.c:arch_mfn_in_directmap Unexecuted instantiation: vlapic.c:arch_mfn_in_directmap Unexecuted instantiation: vmsi.c:arch_mfn_in_directmap Unexecuted instantiation: vpic.c:arch_mfn_in_directmap Unexecuted instantiation: vpt.c:arch_mfn_in_directmap Unexecuted instantiation: intr.c:arch_mfn_in_directmap Unexecuted instantiation: nestedsvm.c:arch_mfn_in_directmap Unexecuted instantiation: svm.c:arch_mfn_in_directmap Unexecuted instantiation: svmdebug.c:arch_mfn_in_directmap Unexecuted instantiation: vmcb.c:arch_mfn_in_directmap Unexecuted instantiation: realmode.c:arch_mfn_in_directmap Unexecuted instantiation: vmcs.c:arch_mfn_in_directmap Unexecuted instantiation: vmx.c:arch_mfn_in_directmap Unexecuted instantiation: vvmx.c:arch_mfn_in_directmap Unexecuted instantiation: paging.c:arch_mfn_in_directmap Unexecuted instantiation: p2m.c:arch_mfn_in_directmap Unexecuted instantiation: p2m-pt.c:arch_mfn_in_directmap Unexecuted instantiation: p2m-ept.c:arch_mfn_in_directmap Unexecuted instantiation: p2m-pod.c:arch_mfn_in_directmap Unexecuted instantiation: altp2m.c:arch_mfn_in_directmap Unexecuted instantiation: guest_walk.c:arch_mfn_in_directmap Unexecuted instantiation: mem_paging.c:arch_mfn_in_directmap Unexecuted instantiation: mem_sharing.c:arch_mfn_in_directmap Unexecuted instantiation: multi.c:arch_mfn_in_directmap Unexecuted instantiation: hap.c:arch_mfn_in_directmap Unexecuted instantiation: nested_hap.c:arch_mfn_in_directmap Unexecuted instantiation: nested_ept.c:arch_mfn_in_directmap Unexecuted instantiation: nmi_int.c:arch_mfn_in_directmap Unexecuted instantiation: op_model_p4.c:arch_mfn_in_directmap Unexecuted instantiation: op_model_ppro.c:arch_mfn_in_directmap Unexecuted instantiation: op_model_athlon.c:arch_mfn_in_directmap Unexecuted instantiation: backtrace.c:arch_mfn_in_directmap Unexecuted instantiation: callback.c:arch_mfn_in_directmap Unexecuted instantiation: descriptor-tables.c:arch_mfn_in_directmap Unexecuted instantiation: emul-gate-op.c:arch_mfn_in_directmap Unexecuted instantiation: emul-inv-op.c:arch_mfn_in_directmap Unexecuted instantiation: emul-priv-op.c:arch_mfn_in_directmap Unexecuted instantiation: iret.c:arch_mfn_in_directmap Unexecuted instantiation: misc-hypercalls.c:arch_mfn_in_directmap Unexecuted instantiation: ro-page-fault.c:arch_mfn_in_directmap Unexecuted instantiation: acpi_mmcfg.c:arch_mfn_in_directmap Unexecuted instantiation: mmconf-fam10h.c:arch_mfn_in_directmap Unexecuted instantiation: mmconfig_64.c:arch_mfn_in_directmap Unexecuted instantiation: mmconfig-shared.c:arch_mfn_in_directmap Unexecuted instantiation: cpu.c:arch_mfn_in_directmap |
631 | | |
632 | | #endif /* __ASM_X86_MM_H__ */ |