Lines Matching refs:spt_amp

400 			    * btopr(sptd->spt_amp->size));  in segspt_free()
571 sptd->spt_amp = amp; in segspt_create()
792 amp = sptd->spt_amp; in segspt_free_pages()
947 amp = spt_data->spt_amp; in segspt_getpolicy()
1008 if (pg_idx + npages > btopr(sptd->spt_amp->size)) { in segspt_dismpagelock()
1016 seg_pinactive(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_dismpagelock()
1051 pplist = seg_plookup(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_dismpagelock()
1060 sptd->spt_amp->size, ppa, in segspt_dismpagelock()
1085 pplist = seg_plookup(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_dismpagelock()
1095 sptd->spt_amp->size, ppa, in segspt_dismpagelock()
1116 if (seg_pinsert_check(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_dismpagelock()
1127 amp = sptd->spt_amp; in segspt_dismpagelock()
1136 tot_npages = btopr(sptd->spt_amp->size); in segspt_dismpagelock()
1218 ret = seg_pinsert(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_dismpagelock()
1219 sptd->spt_amp->size, pl, S_WRITE, SEGP_FORCE_WIRED, in segspt_dismpagelock()
1249 sptd->spt_amp->size, in segspt_dismpagelock()
1368 if (page_index + npages > btopr(sptd->spt_amp->size)) { in segspt_shmpagelock()
1377 seg_pinactive(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_shmpagelock()
1400 pplist = seg_plookup(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_shmpagelock()
1419 pplist = seg_plookup(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_shmpagelock()
1433 if (seg_pinsert_check(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_shmpagelock()
1460 amp = sptd->spt_amp; in segspt_shmpagelock()
1466 * btopr(sptd->spt_amp->size), KM_SLEEP); in segspt_shmpagelock()
1472 for (a = spt_base; a < (spt_base + sptd->spt_amp->size); in segspt_shmpagelock()
1483 if (a < (spt_base + sptd->spt_amp->size)) { in segspt_shmpagelock()
1497 ret = seg_pinsert(seg, NULL, seg->s_base, sptd->spt_amp->size, in segspt_shmpagelock()
1498 sptd->spt_amp->size, pl, S_WRITE, SEGP_FORCE_WIRED, in segspt_shmpagelock()
1557 kmem_free(pl, sizeof (page_t *) * btopr(sptd->spt_amp->size)); in segspt_shmpagelock()
1602 ASSERT(npages == btopr(sptd->spt_amp->size)); in segspt_reclaim()
1765 amp = sptd->spt_amp; in segspt_softunlock()
2290 amp = sptd->spt_amp; in segspt_shmfault()
2478 struct anon_map *amp = sptd->spt_amp; in spt_anon_getpages()
2721 struct anon_map *amp = sptd->spt_amp; in spt_unlockpages()
2795 struct kshmid *sp = sptd->spt_amp->a_sp; in segspt_shmlockop()
3016 amp = sptd->spt_amp; in segspt_shmadvise()