Lines Matching full:gid_cache
113 G_LOCK_DEFINE_STATIC (gid_cache);
114 static GHashTable *gid_cache = NULL;
1156 if (gid_cache == NULL)
1157 gid_cache = g_hash_table_new_full (NULL, NULL, NULL, (GDestroyNotify)g_free);
1159 name = g_hash_table_lookup (gid_cache, GINT_TO_POINTER (gid));
1179 g_hash_table_replace (gid_cache, GINT_TO_POINTER (gid), name);
1190 G_LOCK (gid_cache);
1193 G_UNLOCK (gid_cache);