Lines Matching refs:nsc_ctx_t
65 static nsc_db_t *nsc_get_db(nsc_ctx_t *, int);
68 static uint_t reap_cache(nsc_ctx_t *, uint_t, uint_t);
69 static void delete_entry(nsc_db_t *, nsc_ctx_t *, nsc_entry_t *);
89 static void getxy_keepalive(nsc_ctx_t *, nsc_db_t *, int, int);
91 static void ctx_info(nsc_ctx_t *);
92 static void ctx_info_nolock(nsc_ctx_t *);
93 static void ctx_invalidate(nsc_ctx_t *);
109 static nsc_ctx_t *init_cache_ctx(int);
182 typedef void (*cache_init_ctx_t)(nsc_ctx_t *);
205 nsc_ctx_t *cache_ctx_p[CACHE_CTX_COUNT] = { 0 };
231 get_cache_ctx(char *dbname, nsc_ctx_t **ctx) in get_cache_ctx()
280 nsc_get_db(nsc_ctx_t *ctx, int dbop) in nsc_get_db()
854 nsc_ctx_t *ctx; in _nscd_cfg_cache_notify()
938 nsc_ctx_t *ctx; in _nscd_cfg_cache_get_stat()
986 nsc_info(nsc_ctx_t *ctx, char *dbname, nscd_cfg_cache_t cfg[], in nsc_info()
991 nsc_ctx_t *ctx1; in nsc_info()
992 nsc_ctx_t ctx2; in nsc_info()
1029 ctx_info_nolock(nsc_ctx_t *ctx) in ctx_info_nolock()
1046 ctx_info(nsc_ctx_t *ctx) in ctx_info()
1074 nsc_ctx_t *ctx; in nsc_dump()
1154 start_threads(nsc_ctx_t *ctx) in start_threads()
1276 nsc_ctx_t *ctx; in check_config()
1328 check_db_file(nsc_ctx_t *ctx, nscd_cfg_cache_t cfg, in check_db_file()
1376 nsc_ctx_t *ctx; in lookup_int()
1823 static nsc_ctx_t *
1826 nsc_ctx_t *ctx; in init_cache_ctx()
1828 ctx = calloc(1, sizeof (nsc_ctx_t)); in init_cache_ctx()
1847 nsc_ctx_t *ctx = arg; in revalidate()
1879 getxy_keepalive(nsc_ctx_t *ctx, nsc_db_t *nscdb, int keep, int interval) in getxy_keepalive()
2014 nsc_invalidate(nsc_ctx_t *ctx, char *dbname, nsc_ctx_t **ctxs) in nsc_invalidate()
2054 ctx_invalidate(nsc_ctx_t *ctx) in ctx_invalidate()
2090 delete_entry(nsc_db_t *nscdb, nsc_ctx_t *ctx, nsc_entry_t *entry) in delete_entry()
2113 nsc_ctx_t *ctx; in lookup_cache()
2225 nsc_ctx_t *ctx = arg; in reaper()
2293 reap_cache(nsc_ctx_t *ctx, uint_t nodes_per_interval, in reap_cache()