Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c224 idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i]; in kidmap_cache_create() local
226 avl_create(&gid2sid_hb->tree, kidmap_compare_pid, in kidmap_cache_create()
228 mutex_init(&gid2sid_hb->mutex, NULL, MUTEX_DEFAULT, NULL); in kidmap_cache_create()
229 gid2sid_hb->purge_time = 0; in kidmap_cache_create()
230 gid2sid_hb->head.flink = &gid2sid_hb->head; in kidmap_cache_create()
231 gid2sid_hb->head.blink = &gid2sid_hb->head; in kidmap_cache_create()
269 idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i]; in kidmap_cache_delete() local
273 while ((gid2sid = avl_destroy_nodes(&gid2sid_hb->tree, in kidmap_cache_delete()
277 avl_destroy(&gid2sid_hb->tree); in kidmap_cache_delete()
278 mutex_destroy(&gid2sid_hb->mutex); in kidmap_cache_delete()
[all …]