Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/ctf/
H A Dctf_hash.c52 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */ in ctf_hash_create()
56 hp->h_chains = ctf_alloc(sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_create()
64 bzero(hp->h_chains, sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_create()
72 return (hp->h_nelems ? hp->h_nelems - 1 : 0); in ctf_hash_size()
105 if (hp->h_free >= hp->h_nelems) in ctf_hash_insert()
175 ctf_free(hp->h_chains, sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_destroy()
H A Dctf_impl.h76 ushort_t h_nelems; /* number of elements in hash table */ member
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_hash.c49 h->h_nelems = 0; in inj_hash_create()
106 h->h_nelems++; in inj_hash_insert()
H A Dinj_hash.h43 size_t h_nelems; member