Lines Matching refs:newseg
102 static int segvn_dup(struct seg *seg, struct seg *newseg);
1505 segvn_dup_pages(struct seg *seg, struct seg *newseg) in segvn_dup_pages() argument
1515 struct segvn_data *newsvd = (struct segvn_data *)newseg->s_data; in segvn_dup_pages()
1546 pp = anon_zero(newseg, addr, &newap, in segvn_dup_pages()
1556 pp = anon_private(&newap, newseg, addr, prot, in segvn_dup_pages()
1575 segvn_dup(struct seg *seg, struct seg *newseg) in segvn_dup() argument
1585 ASSERT(newseg->s_as->a_proc->p_parent == curproc); in segvn_dup()
1605 newseg->s_ops = &segvn_ops; in segvn_dup()
1606 newseg->s_data = (void *)newsvd; in segvn_dup()
1607 newseg->s_szc = seg->s_szc; in segvn_dup()
1609 newsvd->seg = newseg; in segvn_dup()
1666 newsvd->amp = anonmap_alloc(newseg->s_size, 0, in segvn_dup()
1668 newsvd->amp->a_szc = newseg->s_szc; in segvn_dup()
1721 error = segvn_dup_pages(seg, newseg); in segvn_dup()
1770 newseg->s_as, newseg->s_base, newseg->s_size, newsvd->prot, in segvn_dup()
1778 hat_dup_region(newseg->s_as->a_hat, newsvd->rcookie); in segvn_dup()