Home
last modified time | relevance | path

Searched refs:itemp (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c82 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 Dnhash.c109 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 Dnhash.h68 extern int add_cache(Cache *cp, Item *itemp);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c540 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 Dwqt.c138 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 Dmqt.c152 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 Dinsfilter.c349 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 Ddraw.c76 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 Dhidparser.c1430 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 Dnetstat.c1908 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 Def10_nvram.c968 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 Def10_impl.h508 caddr_t itemp,