Lines Matching defs:cfg
43 #include <sys/nsctl/cfg.h>
63 CFGFILE *cfg;
81 /* don't update cfg information */
92 if ((cfg = cfg_open(NULL)) == NULL) {
98 if (!cfg_lock(cfg, CFG_WRLOCK)) {
110 cfg_close(cfg);
154 gettext("Old bitmap not in existing cfg\n"));
227 if (cfg_put_cstring(cfg, key, new_bitmap, strlen(new_bitmap))
231 (void) cfg_commit(cfg);
251 if (cfg_get_cstring(cfg, key, buf, DSW_NAMELEN) < 0)
256 (void) cfg_get_cstring(cfg, key, shadow, DSW_NAMELEN);