Lines Matching refs:cache_ctx_p
35 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[j] == NULL) {
226 nsc_invalidate(cache_ctx_p[j], NULL, NULL);