/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 82 Item *itemp; in cache_alloc() local 87 if ((itemp = (Item *) malloc(sizeof (*itemp))) == in cache_alloc() 91 sizeof (*itemp), "itemp"); in cache_alloc() 92 } else if ((itemp->key = (char *)malloc(len)) == NULL) { in cache_alloc() 95 free(itemp); in cache_alloc() 96 } else if ((itemp->data = malloc(struct_size)) == NULL) { in cache_alloc() 99 free(itemp->key); in cache_alloc() 100 free(itemp); in cache_alloc() 103 itemp->keyl = len; in cache_alloc() 104 itemp->datal = struct_size; in cache_alloc() [all …]
|
H A D | nhash.c | 109 add_cache(Cache *cp, Item *itemp) in add_cache() argument 121 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; in add_cache() 131 (*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)); in add_cache() 155 bp->itempp[bp->nent] = itemp; in add_cache()
|
H A D | nhash.h | 68 extern int add_cache(Cache *cp, Item *itemp);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 540 htab_item_t *item, *tmp, **itemp; in enlarge_htab() local 562 itemp = &items[(i * newsz) + in enlarge_htab() 565 while (*itemp != NULL && in enlarge_htab() 566 tab->c->get_uid((*itemp)->p) > in enlarge_htab() 568 itemp = &(*itemp)->next; in enlarge_htab() 570 item->next = *itemp; in enlarge_htab() 571 *itemp = item; in enlarge_htab() 704 htab_item_t *items = NULL, **itemp; in htab_add() local 783 itemp = &tab->items[(i * chunksz) + (hval & tab->mask)]; in htab_add() 784 while (*itemp != NULL && in htab_add() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/workq/ |
H A D | wqt.c | 138 void **itemp = wqt->wq_args; in wq_test_run() local 140 while (*itemp != NULL) { in wq_test_run() 141 if ((ret = workq_add(wqp, *itemp)) != 0) { in wq_test_run() 146 itemp++; in wq_test_run()
|
/illumos-gate/usr/src/test/util-tests/tests/mergeq/ |
H A D | mqt.c | 152 void **itemp = mqt->mq_args; in mq_test_run() local 155 while (*itemp != NULL) { in mq_test_run() 156 if ((ret = mergeq_add(mqp, *itemp)) != 0) { in mq_test_run() 162 itemp++; in mq_test_run()
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | insfilter.c | 349 TYPE *itemp, in searchlist_t() argument 353 searchlist_t(itemp, list) in searchlist_t() 354 TYPE *itemp; in searchlist_t() 366 if (typematch(itemp, list))
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | draw.c | 76 int itemp; /*temp. storage for value returned byint function sgn*/ in drawline() local 124 incrway = itemp = sgn ((int) slope); in drawline()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 1430 int *itemp; in hidparser_lookup_first() local 1432 itemp = hid_first_list[func_index]; in hidparser_lookup_first() 1433 while (*itemp != 0) { in hidparser_lookup_first() 1435 if (*itemp == token) { in hidparser_lookup_first() 1439 itemp++; in hidparser_lookup_first()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 1908 mib_item_destroy(mib_item_t **itemp) in mib_item_destroy() argument 1914 if (itemp == NULL || *itemp == NULL) in mib_item_destroy() 1917 for (tempp = *itemp; tempp != NULL; tempp = tempp->next_item) in mib_item_destroy() 1927 if ((itemp[0][c]).valp != NULL) in mib_item_destroy() 1928 free((itemp[0][c]).valp); in mib_item_destroy() 1930 free(*itemp); in mib_item_destroy() 1932 *itemp = NULL; in mib_item_destroy() 6301 sctp_getnext_rem(const mib_item_t **itemp, in sctp_getnext_rem() argument 6304 const mib_item_t *item = *itemp; in sctp_getnext_rem() 6325 *itemp = item; in sctp_getnext_rem() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nvram.c | 968 caddr_t itemp, in ef10_nvram_buffer_get_item() 991 (void) memcpy(itemp, tlv_value(&cursor), item_length); in ef10_nvram_buffer_get_item()
|
H A D | ef10_impl.h | 508 caddr_t itemp,
|