Searched refs:shmd_new (Results 1 – 1 of 1) sorted by relevance
2262 struct shm_data *shmd_new; in segspt_shmdup() local2269 shmd_new = kmem_zalloc((sizeof (*shmd_new)), KM_SLEEP); in segspt_shmdup()2270 newseg->s_data = (void *)shmd_new; in segspt_shmdup()2271 shmd_new->shm_sptas = shmd->shm_sptas; in segspt_shmdup()2272 shmd_new->shm_amp = amp; in segspt_shmdup()2273 shmd_new->shm_sptseg = shmd->shm_sptseg; in segspt_shmdup()2283 shmd_new->shm_vpage = kmem_zalloc(btopr(amp->size), KM_SLEEP); in segspt_shmdup()2284 shmd_new->shm_lckpgs = 0; in segspt_shmdup()2289 kmem_free(shmd_new->shm_vpage, in segspt_shmdup()