Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c65 static struct updatearray *shmupdatearray; variable
78 if ((rc = mutex_init(&(shmupdatearray->updatenode[iiter]), in init_update_locks_mem()
180 shmupdatearray = (updatearray *)mmap((caddr_t)0, sizeof (updatearray), in init_update_lock_map()
182 if (shmupdatearray == MAP_FAILED) { in init_update_lock_map()
232 rc = mutex_lock(&(shmupdatearray->updatenode[hashval])); in lock_map_update()
241 &(shmupdatearray->updatenode[hashval])); in lock_map_update()
248 &(shmupdatearray->updatenode[hashval])); in lock_map_update()
271 rc = mutex_lock(&(shmupdatearray->updatenode[hashval])); in lock_map_update()
285 rc = mutex_unlock(&(shmupdatearray->updatenode[hashval])); in unlock_map_update()
319 ret = mutex_trylock(&(shmupdatearray->updatenode[map->hash_val])); in is_map_updating()
[all …]