Lines Matching refs:amp

463 seg_plookup(struct seg *seg, struct anon_map *amp, caddr_t addr, size_t len,  in seg_plookup()  argument
482 htag0 = (amp == NULL ? (void *)seg : (void *)amp); in seg_plookup()
524 seg_pinactive(struct seg *seg, struct anon_map *amp, caddr_t addr, in seg_pinactive() argument
539 htag0 = (amp == NULL ? (void *)seg : (void *)amp); in seg_pinactive()
553 if (amp == NULL) { in seg_pinactive()
557 pheadp = &amp->a_phead; in seg_pinactive()
558 pmtx = &amp->a_pmtx; in seg_pinactive()
688 if (amp == NULL) { in seg_pinactive()
692 pheadp = &amp->a_phead; in seg_pinactive()
693 pmtx = &amp->a_pmtx; in seg_pinactive()
739 seg_pinsert_check(struct seg *seg, struct anon_map *amp, caddr_t addr, in seg_pinsert_check() argument
800 seg_pinsert(struct seg *seg, struct anon_map *amp, caddr_t addr, size_t len, in seg_pinsert() argument
815 ASSERT(amp == NULL || wlen == len); in seg_pinsert()
845 if (amp == NULL) { in seg_pinsert()
849 pcp->p_htag0 = (void *)amp; in seg_pinsert()
864 if (amp == NULL) { in seg_pinsert()
869 pheadp = &amp->a_phead; in seg_pinsert()
870 pmtx = &amp->a_pmtx; in seg_pinsert()
871 htag0 = (void *)amp; in seg_pinsert()
1269 seg_ppurge(struct seg *seg, struct anon_map *amp, uint_t flags) in seg_ppurge() argument
1286 htag0 = (amp == NULL ? (void *)seg : (void *)amp); in seg_ppurge()
1312 if (amp == NULL) { in seg_ppurge()
1317 pheadp = &amp->a_phead; in seg_ppurge()
1318 pmtx = &amp->a_pmtx; in seg_ppurge()
1832 svd->amp != NULL && in seg_can_change_zones()
1833 svd->amp->swresv > 0) in seg_can_change_zones()