Home
last modified time | relevance | path

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

/freebsd/cddl/contrib/opensolaris/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 uint_t h_nelems; /* number of elements in hash table */ member