Home
last modified time | relevance | path

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

/illumos-gate/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()
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()
281 if (alg->hash_tbl[i].enabled) { in hash_server_enable()
316 alg->hash_tbl[i].enabled = B_TRUE; in hash_server_enable()
335 if (!alg->hash_tbl[i].enabled) { in hash_server_disable()
348 alg->hash_tbl[i].enabled = B_FALSE; in hash_server_disable()
392 if (hash_alg->hash_tbl == NULL) { in ilb_alg_hash_init()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsysevent.c223 class_lst_t *hash_tbl[CLASS_HASH_SZ + 1]; member
237 if (mdb_vread(cl_walker->hash_tbl, in sysevent_class_list_walk_init()
238 sizeof (cl_walker->hash_tbl), wsp->walk_addr) == -1) { in sysevent_class_list_walk_init()
244 wsp->walk_addr = (uintptr_t)cl_walker->hash_tbl[0]; in sysevent_class_list_walk_init()
276 cl_walker->hash_tbl[cl_walker->hash_index]; in sysevent_class_list_walk_step()
373 sysevent_channel_descriptor_t *hash_tbl[CHAN_HASH_SZ]; member
387 if (mdb_readvar(ch_walker->hash_tbl, "registered_channels") in sysevent_channel_walk_init()
393 wsp->walk_addr = (uintptr_t)ch_walker->hash_tbl[0]; in sysevent_channel_walk_init()
426 ch_walker->hash_tbl[ch_walker->hash_index]; in sysevent_channel_walk_step()
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_msgs.c64 unsigned int *hash_tbl; in output_all_gnu_mo_files() local
104 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
142 idx = get_hash_index(hash_tbl, m[i].hash, hash_size); in output_all_gnu_mo_files()
143 hash_tbl[idx] = i + 1; in output_all_gnu_mo_files()
176 (void) fwrite(hash_tbl, sizeof (unsigned int), in output_all_gnu_mo_files()
186 free(hash_tbl); in output_all_gnu_mo_files()
H A Dgnu_msgs_rev.c74 unsigned int *hash_tbl; in output_all_gnu_mo_files() local
105 hash_tbl = (unsigned int *)Xcalloc(hash_size, in output_all_gnu_mo_files()
147 idx = get_hash_index(hash_tbl, m[i].hash, hash_size); in output_all_gnu_mo_files()
148 hash_tbl[idx] = doswap(i + 1); in output_all_gnu_mo_files()
181 (void) fwrite(hash_tbl, sizeof (unsigned int), in output_all_gnu_mo_files()
193 free(hash_tbl); in output_all_gnu_mo_files()
H A Dgnu_hash.c141 get_hash_index(unsigned int *hash_tbl, unsigned int hash_value, in get_hash_index() argument
150 if (!hash_tbl[idx]) in get_hash_index()
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A D_crle.h44 typedef struct hash_tbl Hash_tbl;
93 struct hash_tbl { struct
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c612 uint16_t hash_tbl[32]; in sfe_set_rx_filter_dp83815() local
653 bzero(hash_tbl, sizeof (hash_tbl)); in sfe_set_rx_filter_dp83815()
656 hash_tbl[j / 16] |= 1 << (j % 16); in sfe_set_rx_filter_dp83815()
721 OUTL(dp, RFDR, hash_tbl[i]); in sfe_set_rx_filter_dp83815()
739 uint16_t hash_tbl[16]; in sfe_set_rx_filter_sis900() local
761 bzero(hash_tbl, sizeof (hash_tbl)); in sfe_set_rx_filter_sis900()
781 hash_tbl[h / 16] |= 1 << (h % 16); in sfe_set_rx_filter_sis900()
801 OUTLINL(dp, RFDR, hash_tbl[i]); in sfe_set_rx_filter_sis900()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c189 static hashentry_t *hash_tbl[OPTHASH_TBLSIZE] = { NULL }; variable
684 bucket = hash_tbl[opt_hash(name)];
913 bucket = hash_tbl[loc];
928 hash_tbl[loc] = he;
1014 for (bucket = hash_tbl[i]; bucket != NULL; bucket = bucket->next) {
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c1280 get_hash_index(uint32_t *hash_tbl, uint32_t hash_value, uint32_t hash_size) in get_hash_index() argument
1288 if (hash_tbl[idx] == 0) { in get_hash_index()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c126 uintptr_t hash_tbl; member
2300 next = iw->hash_tbl + index * sizeof (struct connf_s); in ipcl_hash_get_next_connf_tbl()
2328 if (mdb_vread(&iw->hash_tbl, sizeof (uintptr_t), tbladdr) == -1) { in ipcl_hash_walk_init()