Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/arm64/sptm/pmap/
H A Dpmap.c2455 vm_size_t pmap_root_size = pmap_root_alloc_size(p); in pmap_create_options_internal() local
2456 if (__improbable(pmap_root_size > PAGE_SIZE)) { in pmap_create_options_internal()
2457 …slation tables do not fit into a single physical page %u", __FUNCTION__, (unsigned)pmap_root_size); in pmap_create_options_internal()
2466 if (!(flags & PMAP_CREATE_NESTED) && pmap_user_root_size_matches_subpage_l1(pmap_root_size)) { in pmap_create_options_internal()
2467 pmap_root_size = SUBPAGE_USER_ROOT_TABLE_SIZE; in pmap_create_options_internal()
2473 p->tte = pmap_tt1_allocate(p, pmap_root_size, sptm_root_flags); in pmap_create_options_internal()
2731 vm_size_t pmap_root_size = pmap_root_alloc_size(pmap); in pmap_destroy_internal() local
2737 if (pmap_user_root_size_matches_subpage_l1(pmap_root_size)) { in pmap_destroy_internal()
2743 pmap_root_size = PAGE_SIZE; in pmap_destroy_internal()
2755 pmap_root_size = SUBPAGE_USER_ROOT_TABLE_SIZE; in pmap_destroy_internal()
[all …]