Home
last modified time | relevance | path

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

/titanic_50/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);
/titanic_50/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 …]
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c350 TYPE *itemp, in searchlist_t() argument
354 searchlist_t(itemp, list) in searchlist_t()
355 TYPE *itemp; in searchlist_t()
367 if (typematch(itemp, list))
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg.c400 char *itemp; in cfg_get_cstring() local
428 itemp = strtok(NULL, "."); in cfg_get_cstring()
431 if (!itemp) in cfg_get_cstring()
437 section, setp, itemp); in cfg_get_cstring()
492 if (!itemp) { in cfg_get_cstring()
497 if (itemp) { in cfg_get_cstring()
498 needed = cfg_get_item(&chead[0], section, itemp); in cfg_get_cstring()
695 char *itemp; in cfg_put_cstring() local
717 itemp = strtok(NULL, "."); in cfg_put_cstring()
735 if (!itemp) in cfg_put_cstring()
[all …]
/titanic_50/usr/src/cmd/troff/troff.d/
H A Ddraw.c79 int itemp; /*temp. storage for value returned byint function sgn*/ local
127 incrway = itemp = sgn ((int) slope);
/titanic_50/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c1461 int *itemp; in hidparser_lookup_first() local
1463 itemp = hid_first_list[func_index]; in hidparser_lookup_first()
1464 while (*itemp != 0) { in hidparser_lookup_first()
1466 if (*itemp == token) { in hidparser_lookup_first()
1470 itemp++; in hidparser_lookup_first()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c1501 mib_item_destroy(mib_item_t **itemp) { in mib_item_destroy() argument
1506 if (itemp == NULL || *itemp == NULL) in mib_item_destroy()
1509 for (tempp = *itemp; tempp != NULL; tempp = tempp->next_item) in mib_item_destroy()
1519 if ((itemp[0][c]).valp != NULL) in mib_item_destroy()
1520 free((itemp[0][c]).valp); in mib_item_destroy()
1522 free(*itemp); in mib_item_destroy()
1524 *itemp = NULL; in mib_item_destroy()
5203 sctp_getnext_rem(const mib_item_t **itemp, in sctp_getnext_rem() argument
5206 const mib_item_t *item = *itemp; in sctp_getnext_rem()
5229 *itemp = item; in sctp_getnext_rem()
[all …]