Searched refs:newmax (Results 1 – 6 of 6) sorted by relevance
86 int newmax; in add_to_list() local89 newmax = list->max + 10; in add_to_list()90 newlist = realloc(list->list, newmax * sizeof (char *)); in add_to_list()93 list->max = newmax; in add_to_list()
73 int newmax; in add_to_list() local76 newmax = list->max + 10; in add_to_list()77 newlist = realloc(list->list, newmax * sizeof(char *)); in add_to_list()80 list->max = newmax; in add_to_list()
414 int newmax = 0; in __print2buf() local426 newmax = (((newsz+(BUFSIZ-1))/BUFSIZ)+1) * BUFSIZ; in __print2buf()428 line->str = (char *)calloc(newmax, 1); in __print2buf()435 str = (char *)realloc(line->str, newmax); in __print2buf()443 line->alloc = newmax; in __print2buf()
346 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument348 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
1669 const struct device_entry *newdep, *newmax; in parse_options() local1768 newmax = newdep + newopt->os_ndevices; in parse_options()1770 newdep = newmax = NULL; in parse_options()1778 while ((newdep != NULL && newdep < newmax) || in parse_options()1780 if (newdep < newmax) { in parse_options()1800 if (newdep >= newmax) { in parse_options()
255 int newmax = max_pu_nscd + _NSCD_PUN_BLOCK; in get_cslot() local257 tmp = (child_t **)calloc(newmax, sizeof (child_t *)); in get_cslot()266 max_pu_nscd = newmax; in get_cslot()