Home
last modified time | relevance | path

Searched refs:l_nentry (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libdscfg/common/
H A Dcfg_local.c369 if (cfl->l_nentry % DEFAULT_NENTRIES == 0) { in addcfline()
377 table_index, cfl->l_nentry); in addcfline()
380 realloc(cfl->l_esiz, (cfl->l_nentry + DEFAULT_NENTRIES) * in addcfline()
389 cfl->l_esiz[cfl->l_nentry] = len; in addcfline()
390 cfl->l_nentry++; in addcfline()
444 if (i >= cfl->l_nentry) { /* end of list */ in remcfline()
470 copylen = (cfl->l_nentry - i) * sizeof (int); in remcfline()
475 cfl->l_nentry--; in remcfline()
477 cfl->l_esiz[cfl->l_nentry] = 0; in remcfline()
522 if (i >= cfl->l_nentry) /* end of list */ in readcfline()
[all …]
H A Dcfg.c2549 cfp->cf_head->h_cfgs[i].l_nentry = 0; in cfg_read_parser_config()
2629 ch->h_cfgs[i].l_nentry = list_size; in cfg_map_cfglists()
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()
2735 cfl[i].l_nentry * sizeof (int)); in cfg_replace_lists()
2736 size_offset += cfl[i].l_nentry; in cfg_replace_lists()
3114 count += cfp->cf_head->h_cfgs[table_offset].l_nentry; in cfg_get_num_entries()
3161 if (cfl->l_nentry == 0) /* empty list */ in cfg_get_section()
3165 buf = (char **)malloc(cfl->l_nentry * sizeof (char *)); in cfg_get_section()
[all …]
H A Dcfg_impl.h154 int l_nentry; /* number of entries */ member