/titanic_41/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 405 page_t *rootpp; in contig_mem_span_alloc() local 442 rootpp = ppl; in contig_mem_span_alloc() 457 hat_memload_array(kas.a_hat, (caddr_t)rootpp->p_offset, size, in contig_mem_span_alloc() 544 page_t *rootpp = NULL; in contig_mem_span_free() local 567 ASSERT(rootpp == NULL || rootpp->p_szc == pp->p_szc); in contig_mem_span_free() 568 ASSERT(rootpp == NULL || (page_pptonum(rootpp) + in contig_mem_span_free() 573 if (rootpp == NULL) in contig_mem_span_free() 574 rootpp = pp; in contig_mem_span_free() 576 page_destroy_pages(rootpp); in contig_mem_span_free()
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | page_lock.c | 938 page_t *rootpp; in page_szc_lock() local 958 rootpp = PP_GROUPLEADER(pp, pszc); in page_szc_lock() 959 mtx = PAGE_SZC_MUTEX(rootpp); in page_szc_lock() 969 if (pp == rootpp || (rszc = rootpp->p_szc) == pszc) { in page_szc_lock() 993 rootpp = PP_GROUPLEADER(rootpp, rszc); in page_szc_lock() 994 mtx = PAGE_SZC_MUTEX(rootpp); in page_szc_lock() 997 ASSERT(rootpp->p_szc < rszc); in page_szc_lock() 1004 page_t *rootpp = PP_PAGEROOT(pp); in page_szc_lock_assert() local 1005 kmutex_t *mtx = PAGE_SZC_MUTEX(rootpp); in page_szc_lock_assert()
|
H A D | vm_page.c | 1070 page_t *rootpp; in page_exists_physcontig() local 1106 rootpp = pp; in page_exists_physcontig() 1107 pfn = rootpp->p_pagenum; in page_exists_physcontig() 1241 pp = rootpp; in page_exists_physcontig() 1263 pp = rootpp; in page_exists_physcontig() 1273 pp = rootpp; in page_exists_physcontig() 1282 pp = rootpp; in page_exists_physcontig() 2143 page_t *rootpp; in page_create_va_large() local 2211 if ((rootpp = page_get_freelist(&kvp, off, seg, vaddr, in page_create_va_large() 2223 if (kcage_on && (flags & PG_NORELOC) && !PP_ISNORELOC(rootpp)) { in page_create_va_large() [all …]
|
H A D | seg_kmem.c | 1140 page_t *pp, *rootpp, **ppa, *pplist = NULL; in segkmem_xalloc_lp() local 1171 while ((rootpp = pplist) != NULL) { in segkmem_xalloc_lp() 1185 (caddr_t)(uintptr_t)rootpp->p_offset, lpsize, in segkmem_xalloc_lp() 1199 while ((rootpp = pplist) != NULL) { in segkmem_xalloc_lp() 1206 page_destroy_pages(rootpp); in segkmem_xalloc_lp() 1224 page_t *pp, *rootpp = NULL; in segkmem_free_one_lp() local 1237 if (rootpp == NULL) in segkmem_free_one_lp() 1238 rootpp = pp; in segkmem_free_one_lp() 1240 ASSERT(rootpp != NULL); in segkmem_free_one_lp() 1241 page_destroy_pages(rootpp); in segkmem_free_one_lp()
|
H A D | seg_spt.c | 628 page_t *rootpp; in segspt_free_pages() local 719 rootpp = pp; in segspt_free_pages() 728 page_pptonum(rootpp) + (pgs - 1)); in segspt_free_pages() 729 page_destroy_pages(rootpp); in segspt_free_pages() 735 page_pptonum(rootpp) + (pgs - curnpgs)); in segspt_free_pages()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | mem_cage.c | 1309 kcage_setnoreloc_pages(page_t *rootpp, se_t se) in kcage_setnoreloc_pages() argument 1313 pfn_t rootpfn = page_pptonum(rootpp); in kcage_setnoreloc_pages() 1316 ASSERT(!PP_ISFREE(rootpp)); in kcage_setnoreloc_pages() 1317 ASSERT(PAGE_LOCKED_SE(rootpp, se)); in kcage_setnoreloc_pages() 1318 if (!group_page_trylock(rootpp, se)) { in kcage_setnoreloc_pages() 1321 szc = rootpp->p_szc; in kcage_setnoreloc_pages() 1327 ASSERT(rootpp->p_vnode != NULL && in kcage_setnoreloc_pages() 1328 !PP_ISKAS(rootpp) && in kcage_setnoreloc_pages() 1329 !IS_SWAPFSVP(rootpp->p_vnode)); in kcage_setnoreloc_pages() 1330 PP_SETNORELOC(rootpp); in kcage_setnoreloc_pages() [all …]
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 1120 page_t *rootpp; in sfmmu_tsb_xalloc() local 1150 rootpp = ppl; in sfmmu_tsb_xalloc() 1164 hat_memload_array(kas.a_hat, (caddr_t)rootpp->p_offset, size, in sfmmu_tsb_xalloc() 1208 page_t *rootpp = NULL; in sfmmu_tsb_segkmem_free() local 1220 if (rootpp == NULL) in sfmmu_tsb_segkmem_free() 1221 rootpp = pp; in sfmmu_tsb_segkmem_free() 1227 page_destroy_pages(rootpp); in sfmmu_tsb_segkmem_free()
|
/titanic_41/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 3501 page_t *rootpp; in hat_page_demote() local 3513 rootpp = PP_GROUPLEADER(pp, 1); in hat_page_demote() 3514 (void) hati_pageunload(rootpp, 1, HAT_FORCE_PGUNLOAD); in hat_page_demote() 3534 rootpp = PP_GROUPLEADER(pp, pszc); in hat_page_demote() 3535 x86_hm_enter(rootpp); in hat_page_demote() 3543 if ((rszc = rootpp->p_szc) != pszc) { in hat_page_demote() 3544 x86_hm_exit(rootpp); in hat_page_demote() 3547 ASSERT(pp != rootpp); in hat_page_demote() 3549 rootpp = PP_GROUPLEADER(rootpp, rszc); in hat_page_demote() 3550 x86_hm_enter(rootpp); in hat_page_demote() [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 761 nss_get_backend_u(nss_db_root_t **rootpp, struct nss_db_state *s, int n_src) in nss_get_backend_u() argument 822 (void) cond_wait(&src->wanna_be, &(*rootpp)->lock); in nss_get_backend_u() 824 NSS_CHECKROOT(rootpp, s); in nss_get_backend_u()
|
/titanic_41/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 8337 page_t *rootpp; in hat_page_demote() local 8374 rootpp = PP_GROUPLEADER(pp, sz); in hat_page_demote() 8375 for (sfhme = rootpp->p_mapping; sfhme; sfhme = tmphme) { in hat_page_demote() 8386 tset = sfmmu_pageunload(rootpp, sfhme, sz); in hat_page_demote() 8400 conv_tnc(rootpp, sz); in hat_page_demote() 8408 rootpp = PP_PAGEROOT(pp); in hat_page_demote() 8409 ASSERT(rootpp->p_szc == pszc); in hat_page_demote() 8410 lastpp = PP_PAGENEXT_N(rootpp, TTEPAGES(pszc) - 1); in hat_page_demote() 8412 while (lastpp != rootpp) { in hat_page_demote() 8431 if (lastpp != rootpp) { in hat_page_demote() [all …]
|