Lines Matching refs:cnode
121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) in cfg_add_user() argument
147 if (cnode) { in cfg_add_user()
149 if (strcmp(cnode, ctag)) in cfg_add_user()
152 cfg_resource(cfg, cnode); in cfg_add_user()
154 cnode = ctag; in cfg_add_user()
167 (void) snprintf(search_key, CFG_MAX_KEY, "%s:%s", path, cnode); in cfg_add_user()
173 (void) snprintf(buf, CFG_MAX_BUF, "%s %s %s", path, cnode, in cfg_add_user()
281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user) in cfg_rem_user() argument
301 if (cnode) { in cfg_rem_user()
303 if (strcmp(cnode, ctag)) in cfg_rem_user()
306 cfg_resource(cfg, cnode); in cfg_rem_user()
308 cnode = ctag; in cfg_rem_user()
336 (void) snprintf(search_key, CFG_MAX_KEY, "%s:%s", path, cnode); in cfg_rem_user()
589 char **entry, *path, *cnode, *users; in cfg_load_dsvols() local
615 if (!(cnode = strtok(0, " "))) { in cfg_load_dsvols()
619 if (ctag && (strcmp(cnode, ctag) != 0)) { in cfg_load_dsvols()
630 data = make_dsvol_data(path, cnode, users, set - offset); in cfg_load_dsvols()
635 (void) snprintf(search_key, CFG_MAX_KEY, "%s:%s", path, cnode); in cfg_load_dsvols()
703 char *path, *mode, *cnode; in cfg_load_svols() local
729 if (!(cnode = strtok(0, " "))) { in cfg_load_svols()
730 cnode = ""; in cfg_load_svols()
733 if (ctag && (strcmp(cnode, ctag) != 0)) { in cfg_load_svols()
739 data = make_svol_data(path, mode, cnode, set - offset); in cfg_load_svols()
921 make_dsvol_data(char *path, char *cnode, char *users, int set) in make_dsvol_data() argument
932 data->node = strdup(cnode); in make_dsvol_data()
950 make_svol_data(char *path, char *mode, char *cnode, int set) in make_svol_data() argument
961 data->node = strdup(cnode); in make_svol_data()