Lines Matching refs:set
95 _nscd_server_setadmin(nscd_admin_mod_t *set) in _nscd_server_setadmin() argument
105 if (set == NULL) in _nscd_server_setadmin()
106 set = &admin_mod; in _nscd_server_setadmin()
113 _nscd_logit(me, "total_size = %d\n", set->total_size); in _nscd_server_setadmin()
116 set->debug_level_set, set->debug_level); in _nscd_server_setadmin()
119 set->logfile_set, *set->logfile == '\0' ? in _nscd_server_setadmin()
120 "" : set->logfile); in _nscd_server_setadmin()
123 set->cache_cfg_num); in _nscd_server_setadmin()
125 set->cache_flush_num); in _nscd_server_setadmin()
132 if (set->debug_level_set == nscd_true) { in _nscd_server_setadmin()
133 if (_nscd_set_debug_level(set->debug_level) in _nscd_server_setadmin()
138 set->debug_level); in _nscd_server_setadmin()
142 admin_c.debug_level = set->debug_level; in _nscd_server_setadmin()
145 if (set->logfile_set == nscd_true) { in _nscd_server_setadmin()
146 if (_nscd_set_log_file(set->logfile) != NSCD_SUCCESS) { in _nscd_server_setadmin()
149 (me, "unable to set log file %s\n", set->logfile); in _nscd_server_setadmin()
153 (void) strlcpy(admin_c.logfile, set->logfile, in _nscd_server_setadmin()
160 if (set->cache_cfg_num > CACHE_CTX_COUNT) { in _nscd_server_setadmin()
164 set->cache_cfg_num); in _nscd_server_setadmin()
169 for (i = 0; i < set->cache_cfg_num; i++) { in _nscd_server_setadmin()
173 j = set->cache_cfg_set[i]; in _nscd_server_setadmin()
174 new_cfg = &set->cache_cfg[i]; in _nscd_server_setadmin()
207 if (set->cache_flush_num > CACHE_CTX_COUNT) { in _nscd_server_setadmin()
211 set->cache_flush_num); in _nscd_server_setadmin()
216 for (i = 0; i < set->cache_flush_num; i++) { in _nscd_server_setadmin()
219 j = set->cache_flush_set[i]; in _nscd_server_setadmin()