Home
last modified time | relevance | path

Searched refs:hash_table (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c103 _sd_hash_table_t *hash_table; in _sdbc_hash_configure() local
108 if ((hash_table = (_sd_hash_table_t *) in _sdbc_hash_configure()
113 hash_table->ht_bits = get_high_bit(num_ents); in _sdbc_hash_configure()
114 hash_table->ht_size = (1 << hash_table->ht_bits); in _sdbc_hash_configure()
121 hash_table->ht_mask = (hash_table->ht_size - 1); in _sdbc_hash_configure()
122 hash_table->ht_nmask = (~0 & ~(hash_table->ht_mask)); in _sdbc_hash_configure()
124 if ((hash_table->ht_buckets = (_sd_hash_bucket_t *) in _sdbc_hash_configure()
125 nsc_kmem_zalloc(hash_table->ht_size * in _sdbc_hash_configure()
130 for (i = 0; i < (hash_table->ht_size); i++) { in _sdbc_hash_configure()
131 bucket = (hash_table->ht_buckets + i); in _sdbc_hash_configure()
[all …]
H A Dsd_hash.h79 extern void _sdbc_hash_deconfigure(_sd_hash_table_t *hash_table);
/titanic_41/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c35 static linked_list ht_search(hash_table, int);
62 hash_table table = taid->table; in ht_insert()
126 ht_search(hash_table table, int key) in ht_search()
159 hash_table table = taid->table; in ht_retrieve()
200 hash_table table = taid->table; in ht_remove()
H A Dclassifier-objects.h179 typedef struct ht_node_s *hash_table; typedef
223 hash_table table; /* pointer to the hash table structure */
H A Dfilters.c90 static void insert_ipgpc_table_list_info(int, hash_table, int, uint16_t);
239 insert_ipgpc_table_list_info(int table_id, hash_table table, int wildcard, in insert_ipgpc_table_list_info()
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_util.c501 _dwarf_free_abbrev_hash_table_contents(Dwarf_Debug dbg,Dwarf_Hash_Table hash_table) in _dwarf_free_abbrev_hash_table_contents() argument
506 for (; hashnum < hash_table->tb_table_entry_count; ++hashnum) { in _dwarf_free_abbrev_hash_table_contents()
509 struct Dwarf_Hash_Table_Entry_s *tb = &hash_table->tb_entries[hashnum]; in _dwarf_free_abbrev_hash_table_contents()
518 dwarf_dealloc(dbg,hash_table->tb_entries,DW_DLA_HASH_TABLE_ENTRY); in _dwarf_free_abbrev_hash_table_contents()
H A Ddwarf_alloc.c1050 Dwarf_Hash_Table hash_table = context->cc_abbrev_hash_table; in _dwarf_free_all_of_one_debug() local
1051 _dwarf_free_abbrev_hash_table_contents(dbg,hash_table); in _dwarf_free_all_of_one_debug()
1053 dwarf_dealloc(dbg, hash_table, DW_DLA_HASH_TABLE); in _dwarf_free_all_of_one_debug()
H A Ddwarf_util.h308 struct Dwarf_Hash_Table_s* hash_table);
/titanic_41/usr/src/lib/libfru/libfruraw/
H A Draw_access.c35 static hash_obj_t *hash_table[TABLE_SIZE]; variable
44 hash_table[count] = NULL; in initialize_raw_access()
58 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
81 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
82 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()
272 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()
318 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()
1187 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
1208 hash_table[(hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c379 uint32_t *hash_table; in gnu_msgsearch() local
394 hash_table = gmnp->hash_table; in gnu_msgsearch()
399 (hash_table == NULL || (hash_size <= 2))) { in gnu_msgsearch()
439 hash_val = HASH_TBL(gmnp, hash_table[hash_idx]); in gnu_msgsearch()
1114 if (p->hash_table == NULL) { in build_rev1_info()
1147 d_hash[i] = SWAP(p, p->hash_table[i]); in build_rev1_info()
1159 p->hash_table = d_hash; in build_rev1_info()
1242 p->hash_table = p->hash_size <= 2 ? NULL : in gnu_setmsg()
H A Dgettext_util.c298 while ((i = p->hash_table[idx]) != 0) { in search_msg()
336 gprintf(0, "%d: %u\n", x, p->hash_table[x]); in print_rev1_info()
511 gprintf(level, " hash_table: 0x%p\n", (void *)gmnp->hash_table); in printgnumsg()
H A Dgettext.h105 uint32_t *hash_table; /* hash table */ member
/titanic_41/usr/src/tools/ctf/cvt/
H A Dst_parse.c54 static tdesc_t *hash_table[BUCKETS]; variable
131 hash_table[i] = NULL; in parse_init()
467 tdesc_t *tdp = hash_table[bucket]; in lookup()
1095 tdp->t_hash = hash_table[hash]; in addhash()
1096 hash_table[hash] = tdp; in addhash()
1139 if (hash_table[i]) { in check_hash()
1140 for (tdp = hash_table[i]->t_hash; in check_hash()
1141 tdp && tdp != hash_table[i]; in check_hash()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Ditm_util.c1299 char *hash_table; in map_table_hash() local
1338 hash_table = malloc_vital(hash_table_num); in map_table_hash()
1343 if (0 == *(hash_table + hash_value)) { in map_table_hash()
1344 *(hash_table + hash_value) = 1; in map_table_hash()
1346 *(hash_table + hash_value) = 2; in map_table_hash()
1373 if (0 == *(hash_table + hash_value)) { in map_table_hash()
1374 *(hash_table + hash_value) = 1; in map_table_hash()
1376 *(hash_table + hash_value) = 2; in map_table_hash()
1390 if (2 == *(hash_table + i)) { in map_table_hash()
1393 } else if (1 == *(hash_table + i)) { in map_table_hash()
[all …]
/titanic_41/usr/src/tools/stabs/
H A Dstabs.c35 static struct tdesc *hash_table[BUCKETS]; variable
149 hash_table[i] = NULL; in parse_input()
254 struct tdesc *tdp = hash_table[hash]; in lookup()
728 tdp->hash = hash_table[hash]; in addhash()
729 hash_table[hash] = tdp; in addhash()
/titanic_41/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c354 hash_node_t *hash_table[HASHSIZE]; variable
368 for (node = hash_table[index]; node != NULL; node = node->next) { in hash_insert()
376 node->next = hash_table[index]; in hash_insert()
377 hash_table[index] = node; in hash_insert()
/titanic_41/usr/src/uts/common/smbsrv/
H A DMakefile30 hash_table.h \
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c35 static hash_obj_t *hash_table[TABLE_SIZE]; variable
51 hash_table[count] = NULL; in initialize_fruaccess()
69 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
211 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
212 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()
1415 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()
1458 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()
2491 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()
2686 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] in fru_close_container()
2709 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c184 static hash_obj_t *hash_table[TABLE_SIZE]; variable
191 hash_table[count] = NULL; in initialize_fruaccess()
210 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
349 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
350 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()
771 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()
815 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()
861 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] in ipmi_fru_close_container()
884 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in ipmi_fru_close_container()
2799 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c34 static hash_obj_t *hash_table[TABLE_SIZE]; variable
50 hash_table[count] = NULL; in initialize_fruaccess()
68 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
210 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
211 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()
1487 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()
1532 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()
2586 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()
2781 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
2803 hash_table[(hash_obj->obj_hdl % TABLE_SIZE)] = hash_obj->next; in fru_close_container()
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp.h232 fcram_cell_t *hash_table; /* allocated for Neptune only */ member
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddbuf.h260 dmu_buf_impl_t **hash_table; member
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddbuf.c138 for (db = h->hash_table[idx]; db != NULL; db = db->db_hash_next) { in dbuf_find()
189 for (dbf = h->hash_table[idx]; dbf != NULL; dbf = dbf->db_hash_next) { in dbuf_hash_insert()
201 db->db_hash_next = h->hash_table[idx]; in dbuf_hash_insert()
202 h->hash_table[idx] = db; in dbuf_hash_insert()
230 dbp = &h->hash_table[idx]; in dbuf_hash_remove()
368 h->hash_table = kmem_zalloc(hsize * sizeof (void *), KM_NOSLEEP); in dbuf_init()
369 if (h->hash_table == NULL) { in dbuf_init()
398 kmem_free(h->hash_table, (h->hash_table_mask + 1) * sizeof (void *)); in dbuf_fini()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c267 hash_obj_t *hash_table; in add_nodeobject_to_hashtable() local
270 hash_table = &cont_tbl->hash_obj[index_to_hash]; in add_nodeobject_to_hashtable()
272 hash_obj->next = hash_table->next; in add_nodeobject_to_hashtable()
273 hash_table->next = hash_obj; in add_nodeobject_to_hashtable()
/titanic_41/usr/src/lib/libc_db/common/
H A Dthread_db.c2627 read_sync_stats(td_thragent_t *ta_p, psaddr_t hash_table, in read_sync_stats() argument
2645 if (ps_pdread(ta_p->ph_p, hash_table + ix * sizeof (uint64_t), in read_sync_stats()

12