Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/i386/
H A Dpmap_common.c115 current = pmap_phys_attributes[pai] & PHYS_CACHEABILITY_MASK; in pmap_set_cache_attributes()
116 pmap_phys_attributes[pai] &= ~PHYS_CACHEABILITY_MASK; in pmap_set_cache_attributes()
117 pmap_phys_attributes[pai] = pmap_phys_attributes[pai] | (char)template; in pmap_set_cache_attributes()
140 unsigned int attr = pmap_phys_attributes[ppn_to_pai(pn)]; in pmap_get_cache_attributes()
189 result = (0 != (pmap_phys_attributes[pn] & PHYS_MANAGED)); in pmap_has_managed_page()
206 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT) { in pmap_is_noencrypt()
224 pmap_phys_attributes[pai] |= PHYS_NOENCRYPT; in pmap_set_noencrypt()
243 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT) { in pmap_clear_noencrypt()
246 pmap_phys_attributes[pai] &= ~PHYS_NOENCRYPT; in pmap_clear_noencrypt()
491 pmap_phys_attributes[pai] = pmap_phys_attributes[pai] | (char)bits; in phys_attribute_set()
[all …]
H A Dpmap_x86_common.c854 pmap_phys_attributes[pai] |= PHYS_MODIFIED; in pmap_enter_options()
907 pmap_phys_attributes[pai] |= PHYS_REFERENCED; in pmap_enter_options()
1004 pmap_phys_attributes[pai] |= oattr; in pmap_enter_options()
1006 pmap_phys_attributes[pai] |= ept_refmod_to_physmap(oattr); in pmap_enter_options()
1053 pmap_phys_attributes[pai] |= PHYS_INTERNAL; in pmap_enter_options()
1055 pmap_phys_attributes[pai] &= ~PHYS_INTERNAL; in pmap_enter_options()
1058 pmap_phys_attributes[pai] |= PHYS_REUSABLE; in pmap_enter_options()
1060 pmap_phys_attributes[pai] &= ~PHYS_REUSABLE; in pmap_enter_options()
1207 pmap_phys_attributes[pai] |= PHYS_MODIFIED; in pmap_enter_options()
1235 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-10063.141.1/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()
1465 attr = pmap_phys_attributes[pai]; in pmap_assert_free()