hash_tbl
for (bucket = hash_tbl[i]; bucket != NULL; bucket = bucket->next) {
static hashentry_t *hash_tbl[OPTHASH_TBLSIZE] = { NULL };
bucket = hash_tbl[opt_hash(name)];
bucket = hash_tbl[loc];
hash_tbl[loc] = he;
class_lst_t *hash_tbl[CLASS_HASH_SZ + 1];
if (mdb_vread(cl_walker->hash_tbl,
sizeof (cl_walker->hash_tbl), wsp->walk_addr) == -1) {
wsp->walk_addr = (uintptr_t)cl_walker->hash_tbl[0];
cl_walker->hash_tbl[cl_walker->hash_index];
sysevent_channel_descriptor_t *hash_tbl[CHAN_HASH_SZ];
if (mdb_readvar(ch_walker->hash_tbl, "registered_channels")
wsp->walk_addr = (uintptr_t)ch_walker->hash_tbl[0];
ch_walker->hash_tbl[ch_walker->hash_index];
uintptr_t hash_tbl;
next = iw->hash_tbl + index * sizeof (struct connf_s);
if (mdb_vread(&iw->hash_tbl, sizeof (uintptr_t), tbladdr) == -1) {
get_hash_index(unsigned int *hash_tbl, unsigned int hash_value,
if (!hash_tbl[idx])
hash_tbl = (unsigned int *)Xcalloc(hash_size,
idx = get_hash_index(hash_tbl, m[i].hash, hash_size);
hash_tbl[idx] = i + 1;
(void) fwrite(hash_tbl, sizeof (unsigned int),
free(hash_tbl);
unsigned int *hash_tbl;
hash_tbl = (unsigned int *)Xcalloc(hash_size,
idx = get_hash_index(hash_tbl, m[i].hash, hash_size);
hash_tbl[idx] = doswap(i + 1);
(void) fwrite(hash_tbl, sizeof (unsigned int),
free(hash_tbl);
unsigned int *hash_tbl;
typedef struct hash_tbl Hash_tbl;
get_hash_index(uint32_t *hash_tbl, uint32_t hash_value, uint32_t hash_size)
if (hash_tbl[idx] == 0) {
if (hash_alg->hash_tbl[i].enabled) {
*ret_server = hash_alg->hash_tbl[i].server;
ret = del_server(hash_alg->hash_tbl, hash_alg->hash_servers, host);
grow_tbl(hash_server_t **hash_tbl, size_t *tbl_size)
bcopy(*hash_tbl, new_tbl, mem_size);
kmem_free(*hash_tbl, mem_size);
*hash_tbl = new_tbl;
if (grow_tbl(&hash_alg->hash_tbl, &hash_alg->hash_tbl_size) !=
hash_alg->hash_tbl[hash_alg->hash_servers].server = host;
hash_alg->hash_tbl[hash_alg->hash_servers].enabled = host->iser_enabled;
if (alg->hash_tbl[i].server == host) {
if (alg->hash_tbl[i].enabled) {
alg->hash_tbl[i].enabled = B_TRUE;
if (alg->hash_tbl[i].server == host) {
if (!alg->hash_tbl[i].enabled) {
alg->hash_tbl[i].enabled = B_FALSE;
hash_alg->hash_tbl = kmem_zalloc(sizeof (hash_server_t) *
if (hash_alg->hash_tbl == NULL) {
if (hash_alg->hash_tbl == NULL) {
kmem_free(hash_alg->hash_tbl, INIT_HASH_TBL_SIZE *
ILB_SERVER_REFRELE(hash_alg->hash_tbl[i].server);
kmem_free(hash_alg->hash_tbl, sizeof (hash_server_t) *
hash_server_t *hash_tbl;
uint16_t hash_tbl[32];
bzero(hash_tbl, sizeof (hash_tbl));
hash_tbl[j / 16] |= 1 << (j % 16);
OUTL(dp, RFDR, hash_tbl[i]);
uint16_t hash_tbl[16];
bzero(hash_tbl, sizeof (hash_tbl));
hash_tbl[h / 16] |= 1 << (h % 16);
OUTLINL(dp, RFDR, hash_tbl[i]);