Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/ctf/
H A Dctf_hash.c51 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */ in ctf_hash_create()
55 hp->h_chains = ctf_alloc(sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_create()
63 bzero(hp->h_chains, sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_create()
71 return (hp->h_nelems ? hp->h_nelems - 1 : 0); in ctf_hash_size()
104 if (hp->h_free >= hp->h_nelems) in ctf_hash_insert()
174 ctf_free(hp->h_chains, sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_destroy()
H A Dctf_impl.h79 ushort_t h_nelems; /* number of elements in hash table */ member
/titanic_50/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