Lines Matching refs:admin_mod
39 static nscd_admin_mod_t admin_mod = { 0 };
106 set = &admin_mod;
258 * to the global admin_mod structure
268 /* set initial admin_mod size; assume no cache config to set */
269 if (admin_mod.total_size == 0)
270 admin_mod.total_size = sizeof (admin_mod) -
271 sizeof (admin_mod.cache_cfg);
276 (void) strlcpy(admin_mod.logfile,
278 admin_mod.logfile_set = nscd_true;
280 admin_mod.debug_level = atoi(val);
281 admin_mod.debug_level_set = nscd_true;
299 admin_mod.cache_flush_set[admin_mod.cache_flush_num++] = i;
310 /* try to use an existing cache_cfg in admin_mod */
311 for (j = 0; j < admin_mod.cache_cfg_num; j++) {
312 if (admin_mod.cache_cfg_set[j] == i)
317 if (j == admin_mod.cache_cfg_num) {
318 admin_mod.cache_cfg_set[j] = i;
319 admin_mod.cache_cfg_num++;
320 admin_mod.total_size += sizeof (admin_mod.cache_cfg[0]);
323 cfg = &admin_mod.cache_cfg[j];
407 return (_nscd_doorcall_data(NSCD_SETADMIN, &admin_mod,
408 sizeof (admin_mod), NULL, 0, NULL));