Home
last modified time | relevance | path

Searched refs:pmap_phys_attributes (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/osfmk/i386/
H A Dpmap_common.c134 current = pmap_phys_attributes[pai] & PHYS_CACHEABILITY_MASK; in pmap_set_cache_attributes()
135 pmap_phys_attributes[pai] &= ~PHYS_CACHEABILITY_MASK; in pmap_set_cache_attributes()
136 pmap_phys_attributes[pai] = pmap_phys_attributes[pai] | (char)template; in pmap_set_cache_attributes()
159 unsigned int attr = pmap_phys_attributes[ppn_to_pai(pn)]; in pmap_get_cache_attributes()
208 result = (0 != (pmap_phys_attributes[pn] & PHYS_MANAGED)); in pmap_has_managed_page()
225 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT) { in pmap_is_noencrypt()
243 pmap_phys_attributes[pai] |= PHYS_NOENCRYPT; in pmap_set_noencrypt()
262 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT) { in pmap_clear_noencrypt()
265 pmap_phys_attributes[pai] &= ~PHYS_NOENCRYPT; in pmap_clear_noencrypt()
510 pmap_phys_attributes[pai] = pmap_phys_attributes[pai] | (char)bits; in phys_attribute_set()
[all …]
H A Dpmap_x86_common.c872 pmap_phys_attributes[pai] |= PHYS_MODIFIED; in pmap_enter_options()
925 pmap_phys_attributes[pai] |= PHYS_REFERENCED; in pmap_enter_options()
1022 pmap_phys_attributes[pai] |= oattr; in pmap_enter_options()
1024 pmap_phys_attributes[pai] |= ept_refmod_to_physmap(oattr); in pmap_enter_options()
1071 pmap_phys_attributes[pai] |= PHYS_INTERNAL; in pmap_enter_options()
1073 pmap_phys_attributes[pai] &= ~PHYS_INTERNAL; in pmap_enter_options()
1076 pmap_phys_attributes[pai] |= PHYS_REUSABLE; in pmap_enter_options()
1078 pmap_phys_attributes[pai] &= ~PHYS_REUSABLE; in pmap_enter_options()
1225 pmap_phys_attributes[pai] |= PHYS_MODIFIED; in pmap_enter_options()
1253 pmap_phys_attributes[pai] |= PHYS_REFERENCED; in pmap_enter_options()
[all …]
H A Dpmap_internal.h429 ((unsigned long long)pmap_phys_attributes[x] & PHYS_MANAGED))
431 (IS_MANAGED_PAGE(x) && ((unsigned long long)pmap_phys_attributes[x] & PHYS_INTERNAL))
433 (IS_MANAGED_PAGE(x) && ((unsigned long long)pmap_phys_attributes[x] & PHYS_REUSABLE))
507 extern char *pmap_phys_attributes;
764 pmap_phys_attributes[ppn_to_pai(ppn)] |= (PHYS_MODIFIED | PHYS_REFERENCED); in pmap_classify_pagetable_corruption()
906 pmap_phys_attributes[ppn_to_pai(*ppnp)] |= (PHYS_MODIFIED | PHYS_REFERENCED); in pmap_pv_remove()
984 pmap_phys_attributes[ppn_to_pai(*ppnp)] |= (PHYS_MODIFIED | PHYS_REFERENCED); in pmap_pv_remove()
/xnu-12377.81.4/osfmk/x86_64/
H A Dpmap.c218 char *pmap_phys_attributes; variable
868 pmap_phys_attributes = (char *) addr; in pmap_init()
880 pmap_phys_attributes[pn] |= PHYS_MANAGED; in pmap_init()
888 pmap_phys_attributes[pn] |= PHYS_NOENCRYPT; in pmap_init()
896 pmap_phys_attributes[ppn] |= PHYS_NOENCRYPT; in pmap_init()
1478 attr = pmap_phys_attributes[pai]; in pmap_assert_free()