Searched refs:cache_ctx_p (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_admin.c35 extern nsc_ctx_t *cache_ctx_p[];
63 if (cache_ctx_p[i] != NULL) {
64 (void) rw_rdlock(&cache_ctx_p[i]->cfg_rwlp);
65 admin_c.cache_cfg[i] = cache_ctx_p[i]->cfg;
66 (void) rw_unlock(&cache_ctx_p[i]->cfg_rwlp);
68 (void) mutex_lock(&cache_ctx_p[i]->stats_mutex);
69 admin_c.cache_stats[i] = cache_ctx_p[i]->stats;
70 (void) mutex_unlock(&cache_ctx_p[i]->stats_mutex);
176 if (cache_ctx_p[j] == NULL) {
221 if (cache_ctx_p[
[all...]
H A Dcache.c202 nsc_ctx_t *cache_ctx_p[CACHE_CTX_COUNT] = { 0 }; variable
235 if ((*ctx = cache_ctx_p[i]) == NULL) {
842 ctx = cache_ctx_p[i];
873 ctx = cache_ctx_p[i];
922 if (cache_ctx_p[i] == NULL)
925 (void) mutex_lock(&cache_ctx_p[i]->stats_mutex);
926 stats = cache_ctx_p[i]->stats;
928 &cache_ctx_p[i]->stats_mutex);
1061 if ((ctx = cache_ctx_p[i]) == NULL) {
1810 cache_ctx_p[
[all...]
H A Dnscd_frontend.c56 extern nsc_ctx_t *cache_ctx_p[];
1512 if (cache_ctx_p[idx] == NULL ||
1513 cache_ctx_p[idx]->reaper_on != nscd_true)
1515 nsc_invalidate(cache_ctx_p[idx], NULL, NULL);
H A Dserver.c63 extern nsc_ctx_t *cache_ctx_p[];

Completed in 63 milliseconds