Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c60 static struct lockarray *shmlockarray; variable
134 if (rc = mutex_init(&(shmlockarray->locknode[iiter]), in init_locks_mem()
233 shmlockarray = (lockarray *)mmap((caddr_t)0, sizeof (lockarray), in init_lock_map()
235 if (shmlockarray == MAP_FAILED) { in init_lock_map()
313 rc = mutex_lock(&(shmlockarray->locknode[hashval])); in lock_core()
322 &(shmlockarray->locknode[hashval])); in lock_core()
328 rc = mutex_unlock(&(shmlockarray->locknode[hashval])); in lock_core()
351 rc = mutex_lock(&(shmlockarray->locknode[hashval])); in lock_core()
393 rc = mutex_unlock(&(shmlockarray->locknode[hashval])); in unlock_core()