Home
last modified time | relevance | path

Searched refs:hash_value (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/cmd/msgfmt/
H A Dgnu_hash.c143 get_hash_index(unsigned int *hash_tbl, unsigned int hash_value, in get_hash_index() argument
148 idx = hash_value % hash_size; in get_hash_index()
149 inc = 1 + (hash_value % (hash_size - 2)); in get_hash_index()
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_vf.c359 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local
374 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()
377 return hash_value; in e1000_hash_mc_addr_vf()
405 u32 hash_value; in e1000_update_mc_addr_list_vf() local
430 hash_value = e1000_hash_mc_addr_vf(hw, mc_addr_list); in e1000_update_mc_addr_list_vf()
431 DEBUGOUT1("Hash value = 0x%03X\n", hash_value); in e1000_update_mc_addr_list_vf()
432 hash_list[i] = hash_value & 0x0FFF; in e1000_update_mc_addr_list_vf()
H A De1000_mac.c518 u32 hash_value, hash_mask; in e1000_hash_mc_addr_generic() local
572 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_generic()
575 return hash_value; in e1000_hash_mc_addr_generic()
590 u32 hash_value, hash_bit, hash_reg; in e1000_update_mc_addr_list_generic() local
600 hash_value = e1000_hash_mc_addr_generic(hw, mc_addr_list); in e1000_update_mc_addr_list_generic()
602 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000_update_mc_addr_list_generic()
603 hash_bit = hash_value & 0x1F; in e1000_update_mc_addr_list_generic()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Ditm_util.c1309 long hash_value; in map_table_hash() local
1340 hash_value = hash(NSPTR(&((*(tpp + i))->data0)), 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()
1369 hash_value = hash((char *)source_data, 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()
1460 hash_value = hash(NSPTR(&((*(tpp + i))->data0)), in map_table_hash()
[all …]
H A Dgeniconvtbl.c713 itm_size_t hash_value; in map_h_l() local
736 hash_value = hash((const char *)(q), source_len, in map_h_l()
738 p = map_hash + (pair_size * hash_value); in map_h_l()
739 if (1 == *(map_error + hash_value)) { in map_h_l()
748 hash_value)); in map_h_l()
749 } else if (0 == *(map_error + hash_value)) { in map_h_l()
750 TRACE_MESSAGE('G', ("(h=%d): No Pair\n", hash_value)); in map_h_l()
784 hash_value)); in map_h_l()
797 hash_value)); in map_h_l()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c1103 uint32_t idx, hash_value, hash_size; in build_rev1_info() local
1152 hash_value = get_hashid(mchunk + p->d_msg[MSGID][i].offset, in build_rev1_info()
1154 idx = get_hash_index(d_hash, hash_value, hash_size); in build_rev1_info()
1286 get_hash_index(uint32_t *hash_tbl, uint32_t hash_value, uint32_t hash_size) in get_hash_index() argument
1290 idx = hash_value % hash_size; in get_hash_index()
1291 inc = 1 + (hash_value % (hash_size - 2)); in get_hash_index()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/include/
H A Dl4states.h188 u32_t hash_value; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c2070 uctx_st->indirection_ram_offset = (u16_t)tcp->tcp_const.hash_value; in _lm_tcp_init_ustorm_toe_context()
2141 if (ERR_IF(tcp->tcp_const.hash_value >= (u8_t)USTORM_INDIRECTION_TABLE_SIZE)) { in _lm_tcp_init_cstorm_toe_context()
2142 if (tcp->tcp_const.hash_value >= (u8_t)USTORM_INDIRECTION_TABLE_SIZE) in _lm_tcp_init_cstorm_toe_context()
2144 DbgBreakIfAll(tcp->tcp_const.hash_value >= (u8_t)USTORM_INDIRECTION_TABLE_SIZE); in _lm_tcp_init_cstorm_toe_context()
2147 tcp->tcp_const.hash_value = LM_TOE_FW_RSS_ID(pdev,LM_TOE_BASE_RSS_ID(pdev)); in _lm_tcp_init_cstorm_toe_context()
2166 cctx_st->cpu_id = pdev->toe_info.indirection_table[tcp->tcp_const.hash_value]; in _lm_tcp_init_cstorm_toe_context()
3409 spe.toe_data.rx_completion.hash_value = (u16_t)(tcp->tcp_const.hash_value); in lm_tcp_post_upload_tcp_request()
3833 spe.toe_data.rx_completion.hash_value = (u16_t)(tcp->tcp_const.hash_value); in lm_tcp_post_empty_ramrod_request()
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_rx.c775 pLmPkt->u1.rx.hash_val_ptr = &pRxPkt->hash_value; in BnxeRxPktsInitIdx()
H A Dbnxe.h397 u32_t hash_value; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h9487 u16_t hash_value /* information for ustorm to use in completion */; member
9489 u16_t hash_value /* information for ustorm to use in completion */;