Searched refs:shm_svc (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/os/ |
H A D | shm.c | 173 static ipc_service_t *shm_svc; variable 224 shm_svc = ipcs_create("shmids", rc_project_shmmni, rc_zone_shmmni, in _init() 233 ipcs_destroy(shm_svc); in _init() 270 if ((lock = ipc_lookup(shm_svc, shmid, (kipc_perm_t **)&sp)) == NULL) in shmat() 561 ipc_hold(shm_svc, (kipc_perm_t *)sp); in shmat() 605 ipcs_lock(shm_svc); in shm_dtor() 608 ipcs_unlock(shm_svc); in shm_dtor() 652 return (ipc_rmid(shm_svc, shmid, cr)); in shmctl() 655 if ((lock = ipc_lookup(shm_svc, shmid, (kipc_perm_t **)&sp)) == NULL) in shmctl() 661 if (error = ipcperm_set(shm_svc, cr, &sp->shm_perm, in shmctl() [all …]
|