Lines Matching defs:cfl

2669 	cfglist_t	*cfl;
2673 if ((cfl = cfp->cf_head->h_cfgs) == NULL)
2709 if (cfl[i].l_entry && cfl[i].l_entry[0] != '\0') {
2714 cfl[i].l_size);
2717 cfl[i].l_entry, cfl[i].l_size);
2718 offset += cfl[i].l_size;
2721 "cfl[%d].l_nentry %d cfl[%d].l_esiz[%d] %d"
2723 i, cfl[i].l_nentry, i, cfl[i].l_nentry - 1,
2724 cfl[i].l_esiz[cfl[i].l_nentry - 1], size_offset);
2733 cf->h_sizes[size_offset++] = cfl[i].l_nentry;
2734 memcpy((cf->h_sizes + size_offset), cfl[i].l_esiz,
2735 cfl[i].l_nentry * sizeof (int));
2736 size_offset += cfl[i].l_nentry;
2739 cf->h_csize += cfl[i].l_size;
3132 cfglist_t *cfl;
3160 cfl = &cfp->cf_head->h_cfgs[table_offset];
3161 if (cfl->l_nentry == 0) /* empty list */
3165 buf = (char **)malloc(cfl->l_nentry * sizeof (char *));
3167 buf = (char **)realloc(buf, (cfl->l_nentry + count) *
3173 bzero(&buf[count], cfl->l_nentry * sizeof (char *));
3176 p = cfl->l_entry;
3177 for (i = 0; i < cfl->l_nentry; i++) {
3182 p += cfl->l_esiz[i];
3184 count += cfl->l_nentry;
3334 cfglist_t *cfl;
3370 cfl = &cfp->cf_head->h_cfgs[table_offset];
3371 if (cfl->l_nentry == 0) /* empty list */
3375 buf = (char **)malloc(cfl->l_nentry * sizeof (char *));
3377 buf = (char **)realloc(buf, (cfl->l_nentry + count) *
3386 bzero(&buf[count], cfl->l_nentry * sizeof (char *));
3392 for (i = count; i < cfl->l_nentry + count; i++) {
3402 tmplst = (char *)malloc(cfl->l_nentry * CFG_MAX_BUF);
3405 (cfl->l_nentry + count) * CFG_MAX_BUF);
3413 bzero(&tmplst[count], cfl->l_nentry * CFG_MAX_BUF);
3420 q = cfl->l_entry;
3421 for (i = 0; i < cfl->l_nentry; i++) {
3422 bcopy(q, p, cfl->l_esiz[i]);
3424 q += cfl->l_esiz[i];
3426 count += cfl->l_nentry;
3444 cfg_free_section(&buf, cfl->l_nentry);