Lines Matching defs:scsfmmup
9658 sfmmu_t *scsfmmup = scdp->scd_sfmmup;
9659 ret = sfmmu_alloc_ctx(scsfmmup, 1, CPU, SFMMU_SHARED);
9661 ASSERT(!ret || scsfmmup->sfmmu_ctxs[CPU_MMU_IDX(CPU)].cnum
14522 sfmmu_t *scsfmmup = scdp->scd_sfmmup;
14591 if (sfmmu_tsbinfo_alloc(&scsfmmup->sfmmu_tsb,
14592 tsb_szc, TSB8K|TSB64K|TSB512K, TSB_ALLOC, scsfmmup) &&
14594 sfmmu_tsbinfo_alloc(&scsfmmup->sfmmu_tsb,
14596 TSB_ALLOC, scsfmmup))) {
14601 scsfmmup->sfmmu_tsb->tsb_flags |= TSB_SHAREDCTX;
14606 TSB4M|TSB32M|TSB256M, TSB_ALLOC, scsfmmup) &&
14610 TSB_ALLOC, scsfmmup))) {
14615 sfmmu_tsbinfo_free(scsfmmup->sfmmu_tsb);
14619 ASSERT(scsfmmup->sfmmu_tsb->tsb_next == NULL);
14621 scsfmmup->sfmmu_tsb->tsb_next = newtsb;
14765 sfmmu_t *scsfmmup;
14767 scsfmmup = scdp->scd_sfmmup;
14768 ASSERT(scsfmmup->sfmmu_scdhat);
14788 sfmmu_link_to_hmeregion(scsfmmup, rgnp);
14800 ism_ment->iment_hat = scsfmmup;
14822 sfmmu_t *scsfmmup;
14824 scsfmmup = scdp->scd_sfmmup;
14844 sfmmu_unlink_from_hmeregion(scsfmmup,
14878 sfmmu_t *scsfmmup;
14884 scsfmmup = kmem_cache_alloc(sfmmuid_cache, KM_SLEEP);
14885 new_scdp->scd_sfmmup = scsfmmup;
14886 scsfmmup->sfmmu_srdp = srdp;
14887 scsfmmup->sfmmu_scdp = new_scdp;
14888 scsfmmup->sfmmu_tsb0_4minflcnt = 0;
14889 scsfmmup->sfmmu_scdhat = 1;
14890 CPUSET_ALL(scsfmmup->sfmmu_cpusran);
14891 bzero(scsfmmup->sfmmu_hmeregion_links, SFMMU_L1_HMERLINKS_SIZE);
14895 scsfmmup->sfmmu_ctxs[i].cnum = INVALID_CONTEXT;
14896 scsfmmup->sfmmu_ctxs[i].gnum = 0;
14907 kmem_cache_free(sfmmuid_cache, scsfmmup);
15238 sfmmu_t *scsfmmup;
15273 scsfmmup = scdp->scd_sfmmup;
15281 shatlockp = sfmmu_hat_enter(scsfmmup);
15284 sfmmu_free_scd_tsbs(scsfmmup);
15287 if (scsfmmup->sfmmu_hmeregion_links[i] != NULL) {
15288 kmem_free(scsfmmup->sfmmu_hmeregion_links[i],
15290 scsfmmup->sfmmu_hmeregion_links[i] = NULL;
15293 kmem_cache_free(sfmmuid_cache, scsfmmup);