Home
last modified time | relevance | path

Searched refs:htbl (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c59 struct htbl { struct
71 #define HFIRST(htbl, arg) \ argument
72 ((htbl)->htbl_ptrs[(htbl)->htbl_hash((arg), 0) % (htbl)->htbl_size])
75 #define HADD(htbl, strp) \ argument
76 hash_link((htbl), (htbl)->htbl_hash((strp), (htbl)->htbl_key_off), \
103 static void htbl_grow(struct htbl *);
109 static struct htbl ahash_tbl = {
117 static struct htbl bhash_tbl = {
125 static struct htbl ihash_tbl = {
132 static struct htbl nhash_tbl = {
[all …]
/titanic_41/usr/src/lib/libpicltree/
H A Dpicltree.c456 hash_init(hash_t *htbl) in hash_init() argument
460 htbl->hash_size = HASH_TBL_SIZE; in hash_init()
461 htbl->tbl = malloc(sizeof (hash_elem_t *) * HASH_TBL_SIZE); in hash_init()
462 if (htbl->tbl == NULL) in hash_init()
464 for (i = 0; i < htbl->hash_size; ++i) in hash_init()
465 htbl->tbl[i] = NULL; in hash_init()
473 hash_add_newobj(hash_t *htbl, picl_hdl_t hdl, void *pobj) in hash_add_newobj() argument
482 indx = HASH_INDEX(htbl->hash_size, hash_val); in hash_add_newobj()
483 n->next = htbl->tbl[indx]; in hash_add_newobj()
484 htbl->tbl[indx] = n; in hash_add_newobj()
[all …]
/titanic_41/usr/src/cmd/truss/
H A Dhtbl.h51 typedef struct htbl { struct
H A DMakefile.com32 ramdata.o systable.o procset.o stat.o fcall.o htbl.o