Lines Matching refs:cfg

645 	it_config_t	*cfg = NULL;
671 ret = it_config_load(&cfg);
680 ret = it_tgt_create(cfg, &tgtp, tgt);
727 tpg = cfg->config_tpg_list;
747 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid);
763 ret = it_tgt_setprop(cfg, tgtp, proplist, &errlist);
792 ret = it_config_commit(cfg);
804 it_config_free(cfg);
813 it_config_t *cfg;
834 ret = it_config_load(&cfg);
841 ptr = cfg->config_tgt_list;
844 if (cfg->config_global_properties) {
845 (void) nvlist_lookup_string(cfg->config_global_properties,
847 (void) nvlist_lookup_string(cfg->config_global_properties,
984 it_config_free(cfg);
993 it_config_t *cfg;
1005 ret = it_config_load(&cfg);
1012 ptr = cfg->config_tgt_list;
1026 ret = it_tgt_delete(cfg, ptr, force);
1042 ret = it_config_commit(cfg);
1052 it_config_free(cfg);
1061 it_config_t *cfg = NULL;
1085 ret = it_config_load(&cfg);
1112 ptr = cfg->config_tgt_list;
1165 tpg = cfg->config_tpg_list;
1206 it_tpgt_delete(cfg, tgtp, ptr);
1222 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid);
1257 ret = it_tgt_setprop(cfg, tgtp, proplist, &errlist);
1286 ret = it_config_commit(cfg);
1298 it_config_free(cfg);
1307 it_config_t *cfg;
1336 ret = it_config_load(&cfg);
1343 tpgp = cfg->config_tpg_list;
1350 it_config_free(cfg);
1366 it_config_free(cfg);
1374 ret = it_tpg_create(cfg, &tpgp, tpg, addrs[count]);
1385 it_config_free(cfg);
1397 ret = it_portal_create(cfg, tpgp, &ptl, addrs[count]);
1415 ret = it_config_commit(cfg);
1419 it_config_free(cfg);
1428 it_config_t *cfg;
1439 ret = it_config_load(&cfg);
1446 ptr = cfg->config_tpg_list;
1522 it_config_free(cfg);
1531 it_config_t *cfg;
1543 ret = it_config_load(&cfg);
1550 ptpg = cfg->config_tpg_list;
1564 ret = it_tpg_delete(cfg, ptpg, force);
1576 ret = it_config_commit(cfg);
1581 it_config_free(cfg);
1590 it_config_t *cfg;
1634 ret = it_config_load(&cfg);
1641 inip = cfg->config_ini_list;
1658 ret = it_ini_create(cfg, &inip, ini);
1711 ret = it_config_commit(cfg);
1715 it_config_free(cfg);
1724 it_config_t *cfg;
1734 ret = it_config_load(&cfg);
1741 ptr = cfg->config_ini_list;
1808 it_config_free(cfg);
1817 it_config_t *cfg;
1829 ret = it_config_load(&cfg);
1836 ptr = cfg->config_ini_list;
1846 it_ini_delete(cfg, ptr);
1848 ret = it_config_commit(cfg);
1864 it_config_t *cfg;
1883 ret = it_config_load(&cfg);
1890 ret = it_config_setprop(cfg, proplist, &errlist);
1919 ret = it_config_commit(cfg);
1923 it_config_free(cfg);
1932 it_config_t *cfg;
1947 ret = it_config_load(&cfg);
1954 nvl = cfg->config_global_properties;
2002 it_config_free(cfg);