Home
last modified time | relevance | path

Searched refs:hash_tbl (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/inet/ilb/
H A Dilb_alg_hash.c86 hash_server_t *hash_tbl; member
125 if (hash_alg->hash_tbl[i].enabled) { in hash_lb()
126 *ret_server = hash_alg->hash_tbl[i].server; in hash_lb()
187 ret = del_server(hash_alg->hash_tbl, hash_alg->hash_servers, host); in hash_server_del()
206 grow_tbl(hash_server_t **hash_tbl, size_t *tbl_size) in grow_tbl() argument
216 bcopy(*hash_tbl, new_tbl, mem_size); in grow_tbl()
217 kmem_free(*hash_tbl, mem_size); in grow_tbl()
218 *hash_tbl = new_tbl; in grow_tbl()
234 if (grow_tbl(&hash_alg->hash_tbl, &hash_alg->hash_tbl_size) != in hash_server_add()
241 hash_alg->hash_tbl[hash_alg->hash_servers].server = host; in hash_server_add()
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dsysevent.c225 class_lst_t *hash_tbl[CLASS_HASH_SZ + 1]; member
239 if (mdb_vread(cl_walker->hash_tbl, in sysevent_class_list_walk_init()
240 sizeof (cl_walker->hash_tbl), wsp->walk_addr) == -1) { in sysevent_class_list_walk_init()
246 wsp->walk_addr = (uintptr_t)cl_walker->hash_tbl[0]; in sysevent_class_list_walk_init()
278 cl_walker->hash_tbl[cl_walker->hash_index]; in sysevent_class_list_walk_step()
375 sysevent_channel_descriptor_t *hash_tbl[CHAN_HASH_SZ]; member
389 if (mdb_readvar(ch_walker->hash_tbl, "registered_channels") in sysevent_channel_walk_init()
395 wsp->walk_addr = (uintptr_t)ch_walker->hash_tbl[0]; in sysevent_channel_walk_init()
428 ch_walker->hash_tbl[ch_walker->hash_index]; in sysevent_channel_walk_step()
/titanic_44/usr/src/cmd/msgfmt/
H A Dgnu_msgs.c66 unsigned int *hash_tbl; in output_all_gnu_mo_files() local
106 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
144 idx = get_hash_index(hash_tbl, m[i].hash, hash_size); in output_all_gnu_mo_files()
145 hash_tbl[idx] = i + 1; in output_all_gnu_mo_files()
178 (void) fwrite(hash_tbl, sizeof (unsigned int), in output_all_gnu_mo_files()
188 free(hash_tbl); in output_all_gnu_mo_files()
H A Dgnu_msgs_rev.c76 unsigned int *hash_tbl; in output_all_gnu_mo_files() local
107 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
149 idx = get_hash_index(hash_tbl, m[i].hash, hash_size); in output_all_gnu_mo_files()
150 hash_tbl[idx] = doswap(i + 1); in output_all_gnu_mo_files()
183 (void) fwrite(hash_tbl, sizeof (unsigned int), in output_all_gnu_mo_files()
195 free(hash_tbl); in output_all_gnu_mo_files()
H A Dgnu_hash.c143 get_hash_index(unsigned int *hash_tbl, unsigned int hash_value, in get_hash_index() argument
152 if (!hash_tbl[idx]) in get_hash_index()
/titanic_44/usr/src/cmd/sgs/crle/common/
H A D_crle.h44 typedef struct hash_tbl Hash_tbl;
93 struct hash_tbl { struct
/titanic_44/usr/src/uts/sun4u/sys/
H A Dzulu_hat.h113 (_zh->hash_tbl[ZULU_MAP_HASH_VAL(_v, _s)])
176 struct zulu_hat_blk **hash_tbl; member
/titanic_44/usr/src/uts/common/io/sfe/
H A Dsfe.c689 uint16_t hash_tbl[32]; in sfe_set_rx_filter_dp83815() local
730 bzero(hash_tbl, sizeof (hash_tbl)); in sfe_set_rx_filter_dp83815()
733 hash_tbl[j / 16] |= 1 << (j % 16); in sfe_set_rx_filter_dp83815()
798 OUTL(dp, RFDR, hash_tbl[i]); in sfe_set_rx_filter_dp83815()
816 uint16_t hash_tbl[16]; in sfe_set_rx_filter_sis900() local
838 bzero(hash_tbl, sizeof (hash_tbl)); in sfe_set_rx_filter_sis900()
858 hash_tbl[h / 16] |= 1 << (h % 16); in sfe_set_rx_filter_sis900()
878 OUTLINL(dp, RFDR, hash_tbl[i]); in sfe_set_rx_filter_sis900()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c195 static hashentry_t *hash_tbl[OPTHASH_TBLSIZE] = { NULL }; variable
690 bucket = hash_tbl[opt_hash(name)];
919 bucket = hash_tbl[loc];
934 hash_tbl[loc] = he;
1020 for (bucket = hash_tbl[i]; bucket != NULL; bucket = bucket->next) {
/titanic_44/usr/src/uts/sun4u/vm/
H A Dzulu_hat.c786 zhat->hash_tbl = kmem_zalloc(ZULU_HASH_TBL_SZ, KM_SLEEP); in zulu_hat_alloc()
810 kmem_free(zhat->hash_tbl, ZULU_HASH_TBL_SZ); in zulu_hat_free()
1201 for (zblk = zhat->hash_tbl[i]; zblk != NULL; zblk = next) { in zulu_hat_swapout()
/titanic_44/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c1286 get_hash_index(uint32_t *hash_tbl, uint32_t hash_value, uint32_t hash_size) in get_hash_index() argument
1294 if (hash_tbl[idx] == 0) { in get_hash_index()
/titanic_44/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c125 uintptr_t hash_tbl; member
2294 next = iw->hash_tbl + index * sizeof (struct connf_s); in ipcl_hash_get_next_connf_tbl()
2322 if (mdb_vread(&iw->hash_tbl, sizeof (uintptr_t), tbladdr) == -1) { in ipcl_hash_walk_init()