Searched defs:list1 (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | list.c | 83 * the list of items from list1. The result is a list (type **). If 89 void **list1; local 99 list1 = *result; 101 if (list1 != NULL) 102 for (size1 = 0; list1[size1] != NULL; size1++) 108 /* list1 + list2 padded to a multiple of _list_increment */ 114 if (list1 != NULL) 115 for (size1 = 0; list1[size1] != NULL; size1++) 116 (*result)[count++] = list1[size1]; 120 free(list1); [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | list.c | 123 * the list of items from list1. The result is a list (type **). If 127 list_concatenate(void **list1, void **list2) argument 134 syslog(LOG_DEBUG, "list_concatenate(0x%x, 0x%x)", list1, list2); 136 if ((list1 == NULL) || (list2 == NULL)) 137 return ((list1 != NULL) ? list1 : list2); 139 for (size1 = 0; list1[size1] != NULL; size1++); 142 /* list1 + list2 padded to a multiple of _list_increment */ 151 for (size1 = 0; list1[size1] != NULL; size1++) 152 list[count++] = list1[size [all...] |
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | list.c | 173 list_concat(list_t **list1, list_t *list2) argument 177 for (l = *list1, last = NULL; l; last = l, l = l->l_next) 181 *list1 = list2; 192 list_t *list1, *next2; local 200 list1 = *list1p; 202 if (cmp(list1->l_data, list2->l_data) > 0) { 208 list2->l_next = list1; 210 list2->l_next = list1; 218 last1 = list1; 219 list1 [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_dlist.c | 315 * Appends list2 to the end of list1. 321 dlist_t *list1, 326 if (list1 == NULL) { 331 /* Find last element of list1 */ 332 for (iter = list1; iter->next != NULL; iter = iter->next); 338 return (list1); 320 dlist_append_list( dlist_t *list1, dlist_t *list2) argument
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 87 struct alts_ent list1[], 684 struct alts_ent list1[], 693 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY) { 701 if (list1[j1].bad_start < list2[j2].bad_start) 702 buf[i++] = list1[j1++]; 707 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY) 709 buf[i++] = list1[j1]; 682 ent_merge( struct alts_ent buf[], struct alts_ent list1[], int lcnt1, struct alts_ent list2[], int lcnt2) argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_addr.c | 555 sctp_compare_ipif_list(sctp_ipif_hash_t *list1, sctp_ipif_hash_t *list2) argument 563 rw_enter(&list1->ipif_hash_lock, RW_READER); 565 obj1 = list_head(&list1->sctp_ipif_list); 566 for (i = 0; i < list1->ipif_count; i++) { 578 obj1 = list_next(&list1->sctp_ipif_list, obj1); 580 rw_exit(&list1->ipif_hash_lock); 611 sctp_copy_ipifs(sctp_ipif_hash_t *list1, sctp_t *sctp2, int sleep) argument 617 rw_enter(&list1->ipif_hash_lock, RW_READER); 618 obj = list_head(&list1->sctp_ipif_list); 619 for (i = 0; i < list1 [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 677 /* Append linked list list1 to linked list list2 and return resulting list */ 679 i_dlstat_join_lists(dladm_stat_chain_t *list1, dladm_stat_chain_t *list2) argument 683 if (list1 == NULL) 686 /* list1 has at least one element, find last element in list1 */ 687 curr = list1; 692 return (list1);
|
Completed in 86 milliseconds