Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddthash.c40 Dtlink_t** htbl; /* hash table slots */ member
47 Dtlink_t **htbl, **t, **endt, *l, *next; in htable() local
76 memset(htbl, 0, n*sizeof(Dtlink_t*)); in htable()
82 l->_rght = htbl[k = l->_hash&(n-1)]; in htable()
83 htbl[k] = l; in htable()
88 (void)(*dt->memoryf)(dt, hash->htbl, 0, disc); in htable()
89 hash->htbl = htbl; in htable()
140 endt = hash->htbl + hash->tblz; in hnext()
312 tbl = hash->htbl + (hsh & (hash->tblz-1));
364 tbl = hash->htbl + (hsh & (hash->tblz-1));
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c59 struct htbl { struct
72 ((htbl)->htbl_ptrs[(htbl)->htbl_hash((arg), 0) % (htbl)->htbl_size])
76 hash_link((htbl), (htbl)->htbl_hash((strp), (htbl)->htbl_key_off), \
204 hash_link(struct htbl *htbl, uint_t hval, void *strp) in hash_link() argument
208 if (htbl->htbl_grow && htbl->htbl_ifcount >= htbl->htbl_size * 5) in hash_link()
209 htbl_grow(htbl); in hash_link()
211 hep = &htbl->htbl_ptrs[hval % htbl->htbl_size]; in hash_link()
213 htbl->htbl_ifcount++; in hash_link()
218 hash_unlink(struct htbl *htbl, void *strp) in hash_unlink() argument
265 htbl_grow(struct htbl *htbl) in htbl_grow() argument
[all …]
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c456 hash_init(hash_t *htbl) in hash_init() argument
462 if (htbl->tbl == NULL) in hash_init()
465 htbl->tbl[i] = NULL; in hash_init()
483 n->next = htbl->tbl[indx]; in hash_add_newobj()
484 htbl->tbl[indx] = n; in hash_add_newobj()
501 n->next = htbl->tbl[indx]; in hash_add_newhdl()
502 htbl->tbl[indx] = n; in hash_add_newhdl()
519 if (htbl->tbl[i] == NULL) in hash_remove()
522 cur = htbl->tbl[i]; in hash_remove()
554 tmp = htbl->tbl[i]; in hash_lookup_obj()
[all …]
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.h49 typedef struct htbl { struct
H A DMakefile47 htbl.o