Searched refs:shmd_new (Results 1 – 1 of 1) sorted by relevance
2283 struct shm_data *shmd_new; in segspt_shmdup() local2290 shmd_new = kmem_zalloc((sizeof (*shmd_new)), KM_SLEEP); in segspt_shmdup()2291 newseg->s_data = (void *)shmd_new; in segspt_shmdup()2292 shmd_new->shm_sptas = shmd->shm_sptas; in segspt_shmdup()2293 shmd_new->shm_amp = amp; in segspt_shmdup()2294 shmd_new->shm_sptseg = shmd->shm_sptseg; in segspt_shmdup()2304 shmd_new->shm_vpage = kmem_zalloc(btopr(amp->size), KM_SLEEP); in segspt_shmdup()2305 shmd_new->shm_lckpgs = 0; in segspt_shmdup()2310 kmem_free(shmd_new->shm_vpage, in segspt_shmdup()