Lines Matching refs:MAX_CFG
65 #define MAX_CFG 16 /* Max. number of lines in /etc/dscfg_format */
70 static struct parser chead[MAX_CFG] = { NULL };
138 for (i = 0; i < MAX_CFG; i++) {
141 i = MAX_CFG;
149 if (i < MAX_CFG) {
173 for (i = 0; i < MAX_CFG; i++) {
176 i = MAX_CFG;
186 if (i < MAX_CFG) {
234 for (i = 0; i < MAX_CFG; i++) {
237 i = MAX_CFG;
245 if (i < MAX_CFG)
1498 bzero(hd->h_cfgsizes, MAX_CFG * sizeof (int));
2529 cfp->cf_head->h_cfgs = (cfglist_t *)calloc(MAX_CFG,
2542 i < min(cfp->cf_head->h_ncfgs, MAX_CFG); i++) {
2589 for (i = 0; i < min(ch->h_ncfgs, MAX_CFG); i++) {
2704 for (i = 0; i < MAX_CFG; i++) {
2751 for (i = 0; cfp->cf_head && i < MAX_CFG; i++) {
2781 for (i = 0; i < MAX_CFG; i++) {
2793 bzero(chead, MAX_CFG * sizeof (struct parser));
3217 list = calloc(1, MAX_CFG * sizeof (char *));
3223 while ((i < MAX_CFG) && (chead[i].tag.l_word[0] != '\0')) {