Searched refs:cfl (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 337 cfglist_t *cfl; in addcfline() local 349 cfl = &cfp->cf_head->h_cfgs[table_index]; in addcfline() 350 if (cfl->l_free < len) { in addcfline() 354 cfl->l_size + cfl->l_free, cfl->l_size + in addcfline() 355 cfl->l_free + newsize); in addcfline() 357 cfl->l_entry = (char *)realloc(cfl->l_entry, (cfl->l_size + in addcfline() 358 cfl->l_free + newsize) * sizeof (char)); in addcfline() 359 if (cfl->l_entry == NULL) { in addcfline() 363 cfl->l_free += newsize; in addcfline() 366 cfl->l_free -= len; in addcfline() [all …]
|
H A D | cfg.c | 2669 cfglist_t *cfl; in cfg_replace_lists() local 2673 if ((cfl = cfp->cf_head->h_cfgs) == NULL) in cfg_replace_lists() 2709 if (cfl[i].l_entry && cfl[i].l_entry[0] != '\0') { in cfg_replace_lists() 2714 cfl[i].l_size); in cfg_replace_lists() 2717 cfl[i].l_entry, cfl[i].l_size); in cfg_replace_lists() 2718 offset += cfl[i].l_size; in cfg_replace_lists() 2723 i, cfl[i].l_nentry, i, cfl[i].l_nentry - 1, in cfg_replace_lists() 2724 cfl[i].l_esiz[cfl[i].l_nentry - 1], size_offset); in cfg_replace_lists() 2733 cf->h_sizes[size_offset++] = cfl[i].l_nentry; in cfg_replace_lists() 2734 memcpy((cf->h_sizes + size_offset), cfl[i].l_esiz, in cfg_replace_lists() [all …]
|