Searched refs:hash_entry (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/lib/libsip/common/ |
H A D | sip_hash.c | 55 sip_hash_t *hash_entry; in sip_hash_add() local 65 hash_entry = &sip_hash[hindex]; in sip_hash_add() 66 (void) pthread_mutex_lock(&hash_entry->sip_hash_mutex); in sip_hash_add() 67 if (hash_entry->hash_count == 0) { in sip_hash_add() 68 assert(hash_entry->hash_head == NULL); in sip_hash_add() 69 assert(hash_entry->hash_tail == NULL); in sip_hash_add() 70 hash_entry->hash_head = new_obj; in sip_hash_add() 72 hash_entry->hash_tail->next_obj = new_obj; in sip_hash_add() 73 new_obj->prev_obj = hash_entry->hash_tail; in sip_hash_add() 75 hash_entry->hash_tail = new_obj; in sip_hash_add() [all …]
|
/titanic_44/usr/src/cmd/sgs/link_audit/common/ |
H A D | hash.h | 28 typedef struct hash_entry { struct 29 struct hash_entry *next_entry; argument 30 struct hash_entry *right_entry; argument 31 struct hash_entry *left_entry; argument 34 } hash_entry; argument 38 hash_entry **table; 39 hash_entry *start;
|
H A D | hash.c | 41 ptr->table = malloc((size_t)(sizeof (hash_entry *) * size)); in make_hash() 42 (void) memset((char *)ptr->table, 0, sizeof (hash_entry *) * size); in make_hash() 55 ptr->table = malloc(sizeof (hash_entry *) * size); in make_ihash() 56 (void) memset((char *)ptr->table, 0, sizeof (hash_entry *) * size); in make_ihash() 66 hash_entry *tmp, *new; in get_hash() 116 hash_entry *tmp; in find_hash() 140 hash_entry * tmp, * prev = NULL; in del_hash() 203 hash_entry *tmp = tbl->start; in operate_hash() 217 hash_entry *tmp = tbl->start; in operate_hash_addr() 231 hash_entry * tmp = tbl->start, * prev; in destroy_hash()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | bnxe_context.c | 449 lm_searcher_hash_entry_t *hash_entry = NULL; in lm_searcher_mirror_hash_insert() local 473 hash_entry = &context->searcher_hash.searcher_table[h_val]; in lm_searcher_mirror_hash_insert() 476 temp_ipv6 = hash_entry->num_ipv6 + (is_ipv4 ? 0 : 1); in lm_searcher_mirror_hash_insert() 477 temp_ipv4 = hash_entry->num_ipv4 + is_ipv4; in lm_searcher_mirror_hash_insert() 481 if (temp_depth_ipv4 < hash_entry->depth_ipv4) { in lm_searcher_mirror_hash_insert() 482 temp_depth_ipv4 = hash_entry->depth_ipv4; in lm_searcher_mirror_hash_insert() 491 hash_entry->num_ipv6 = temp_ipv6; in lm_searcher_mirror_hash_insert() 492 hash_entry->num_ipv4 = temp_ipv4; in lm_searcher_mirror_hash_insert() 493 hash_entry->depth_ipv4 = temp_depth_ipv4; in lm_searcher_mirror_hash_insert() 496 … if (context->searcher_hash.hash_depth_reached < hash_entry->depth_ipv4 + hash_entry->num_ipv6) { in lm_searcher_mirror_hash_insert() [all …]
|
/titanic_44/usr/src/cmd/nscd/ |
H A D | nscd_dbimpl.c | 199 nscd_hash_t *idx_p, *hash_entry; in _nscd_add_db_entry() local 260 hash_entry = (nscd_hash_t *)entry; in _nscd_add_db_entry() 263 hash_entry->prev_p = prev_p; in _nscd_add_db_entry() 265 db->hash_tbl_p[i] = hash_entry; in _nscd_add_db_entry() 267 prev_p->next_p = hash_entry; in _nscd_add_db_entry() 270 hash_entry->next_p = next_p; in _nscd_add_db_entry() 272 next_p->prev_p = hash_entry; in _nscd_add_db_entry()
|
/titanic_44/usr/src/cmd/mdb/common/modules/sdbc/ |
H A D | sdbc.c | 1031 _sd_hash_hd_t hash_entry; in sdbc_hashchain_wstep() local 1040 if (mdb_vread(&hash_entry, sizeof (_sd_hash_hd_t), in sdbc_hashchain_wstep() 1048 wsp->walk_addr = (uintptr_t)hash_entry.hh_next; in sdbc_hashchain_wstep()
|
/titanic_44/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 3908 hash_entry(Cache *refsec, Cache *strsec, const char *hsecname, Word hashndx, in hash_entry() function 4037 hash_entry(_cache, &cache[sshdr->sh_link], hsecname, in hash() 4047 hash_entry(_cache, &cache[sshdr->sh_link], in hash()
|