Home
last modified time | relevance | path

Searched refs:shm_amp (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dshm.c304 ANON_LOCK_ENTER(&sp->shm_amp->a_rwlock, RW_WRITER); in shmat()
305 size = sp->shm_amp->size; in shmat()
306 ANON_LOCK_EXIT(&sp->shm_amp->a_rwlock); in shmat()
457 error = sptcreate(size, &segspt, sp->shm_amp, prot, in shmat()
480 ssd.shm_amp = sp->shm_amp; in shmat()
543 crargs.amp = sp->shm_amp; in shmat()
580 ANON_LOCK_ENTER(&sp->shm_amp->a_rwlock, RW_WRITER); in shm_dtor()
581 anonmap_purge(sp->shm_amp); in shm_dtor()
582 ANON_LOCK_EXIT(&sp->shm_amp->a_rwlock); in shm_dtor()
586 sptdestroy(sp->shm_sptinfo->sptas, sp->shm_amp); in shm_dtor()
[all …]
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dshmsys.c49 struct anon_map *shm_amp; member
84 n_buf.shm_amp = buf->shm_amp; in shmctl()
98 buf->shm_amp = n_buf.shm_amp; in shmctl()
/titanic_44/usr/src/uts/common/sys/
H A Dshm.h92 void *shm_amp; member
94 struct anon_map *shm_amp; /* segment anon_map pointer */ member
H A Dshm_impl.h59 struct anon_map *shm_amp; /* segment anon_map pointer */ member
116 caddr32_t shm_amp; /* segment anon_map pointer */ member
/titanic_44/usr/src/uts/common/vm/
H A Dseg_spt.c299 struct anon_map *amp = shmd->shm_amp; in segspt_shmincore()
312 if (anon_index + npages > btopr(shmd->shm_amp->size)) { in segspt_shmincore()
1676 struct anon_map *shm_amp = shmd_arg->shm_amp; in segspt_shmattach() local
1687 shmd->shm_amp = shm_amp; in segspt_shmattach()
1690 (void) lgrp_shm_policy_set(LGRP_MEM_POLICY_DEFAULT, shm_amp, 0, in segspt_shmattach()
1701 if ((shmd->shm_vpage = kmem_zalloc(btopr(shm_amp->size), in segspt_shmattach()
1713 btopr(shm_amp->size)); in segspt_shmattach()
1726 ANON_LOCK_ENTER(&shm_amp->a_rwlock, RW_WRITER); in segspt_shmattach()
1727 shm_amp->refcnt++; in segspt_shmattach()
1728 ANON_LOCK_EXIT(&shm_amp->a_rwlock); in segspt_shmattach()
[all …]
H A Dseg_spt.h76 struct anon_map *shm_amp; member
H A Dvm_usage.c1166 vmu_data.vmu_all_amps_hash, (caddr_t)shmd->shm_amp, in vmu_calculate_seg()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dshm.h79 struct anon_map *shm_amp; /* segment anon_map pointer */ member
/titanic_44/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c223 shmid->shm_segsz, shmid->shm_amp, shmid->shm_lkcnt, in shm_print()