Home
last modified time | relevance | path

Searched refs:LIST_SIZE (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/stat/common/
H A Dwalkers.c34 #define LIST_SIZE 512 macro
36 static char cpus_added[LIST_SIZE];
37 static char cpus_removed[LIST_SIZE];
187 char tmp[LIST_SIZE]; in add_nr_to_list()
189 (void) snprintf(tmp, LIST_SIZE, "%lu", nr); in add_nr_to_list()
192 (void) strlcat(buf, ", ", LIST_SIZE); in add_nr_to_list()
194 (void) strlcat(buf, tmp, LIST_SIZE); in add_nr_to_list()
238 char tmp[LIST_SIZE]; in get_child_list()
246 (void) strlcat(buf, ", ", LIST_SIZE); in get_child_list()
247 (void) strlcat(buf, "t", LIST_SIZE); in get_child_list()
[all …]
/titanic_44/usr/src/lib/print/libpapi-common/common/
H A Dlist.c40 #define LIST_SIZE(x) ((((x) / __list_increment) + 1) * __list_increment) macro
62 int new_size = LIST_SIZE(count + 1); in list_append()
109 new_size = LIST_SIZE(size1 + size2); in list_concatenate()
167 if ((item == NULL) && (LIST_SIZE(i) < LIST_SIZE(count))) { in list_remove()
168 void **tmp = (void **)calloc(LIST_SIZE(i), sizeof (void *)); in list_remove()