Lines Matching refs:dbi
284 int dbi, in _nscd_create_sw_struct() argument
464 (void) (nscd_nss_db_initf[dbi])(&nsw_cfg->fe_params); in _nscd_create_sw_struct()
469 if ((rc = _nscd_init_nsw_state_base(dbi, compat_basei, 1)) != in _nscd_create_sw_struct()
472 (me, "unable to initialize a nsw state base(%d)\n", dbi); in _nscd_create_sw_struct()
477 (me, "new nsw state base(%d) %p created\n", dbi, in _nscd_create_sw_struct()
478 nscd_nsw_state_base[dbi]); in _nscd_create_sw_struct()
483 if ((rc = _nscd_init_getent_ctx_base(dbi, 1)) != NSCD_SUCCESS) { in _nscd_create_sw_struct()
485 (me, "unable to initialize a getent context base(%d)\n", dbi); in _nscd_create_sw_struct()
490 (me, "new getent context base(%d) %p created\n", dbi, in _nscd_create_sw_struct()
491 nscd_getent_ctx_base[dbi]); in _nscd_create_sw_struct()
505 nscd_nsw_config[dbi] = (nscd_nsw_config_t **)_nscd_set( in _nscd_create_sw_struct()
506 (nscd_acc_data_t *)nscd_nsw_config[dbi], in _nscd_create_sw_struct()
533 create_nsw_config(int dbi) in create_nsw_config() argument
564 if (nscd_nss_db_initf[dbi] == NULL) { in create_nsw_config()
566 nscd_nsw_config[dbi] = (nscd_nsw_config_t **)_nscd_set( in create_nsw_config()
567 (nscd_acc_data_t *)nscd_nsw_config[dbi], in create_nsw_config()
586 nsw_cfg->db_name = strdup(NSCD_NSW_DB_NAME(dbi)); in create_nsw_config()
600 (void) (nscd_nss_db_initf[dbi])(&nsw_cfg->fe_params); in create_nsw_config()
606 nscd_nsw_config[dbi] = (nscd_nsw_config_t **)_nscd_set( in create_nsw_config()
607 (nscd_acc_data_t *)nscd_nsw_config[dbi], in create_nsw_config()