Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_hash.c141 get_hash_index(unsigned int *hash_tbl, unsigned int hash_value, in get_hash_index() argument
146 idx = hash_value % hash_size; in get_hash_index()
147 inc = 1 + (hash_value % (hash_size - 2)); in get_hash_index()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_mac.c302 u32 hash_value, hash_mask; in igc_hash_mc_addr_generic() local
356 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr_generic()
359 return hash_value; in igc_hash_mc_addr_generic()
374 u32 hash_value, hash_bit, hash_reg; in igc_update_mc_addr_list_generic() local
384 hash_value = igc_hash_mc_addr_generic(hw, mc_addr_list); in igc_update_mc_addr_list_generic()
386 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igc_update_mc_addr_list_generic()
387 hash_bit = hash_value & 0x1F; in igc_update_mc_addr_list_generic()
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_util.c1309 long hash_value; in map_table_hash() local
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()
1463 p = error_table + hash_value; in map_table_hash()
1520 p = error_table + hash_value; in map_table_hash()
[all …]
H A Dgeniconvtbl.c711 itm_size_t hash_value; in map_h_l() local
734 hash_value = hash((const char *)(q), source_len, in map_h_l()
736 p = map_hash + (pair_size * hash_value); in map_h_l()
737 if (1 == *(map_error + hash_value)) { in map_h_l()
746 hash_value)); in map_h_l()
747 } else if (0 == *(map_error + hash_value)) { in map_h_l()
748 TRACE_MESSAGE('G', ("(h=%d): No Pair\n", hash_value)); in map_h_l()
782 hash_value)); in map_h_l()
795 hash_value)); in map_h_l()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c1097 uint32_t idx, hash_value, hash_size; in build_rev1_info() local
1146 hash_value = get_hashid(mchunk + p->d_msg[MSGID][i].offset, in build_rev1_info()
1148 idx = get_hash_index(d_hash, hash_value, hash_size); in build_rev1_info()
1280 get_hash_index(uint32_t *hash_tbl, uint32_t hash_value, uint32_t hash_size) in get_hash_index() argument
1284 idx = hash_value % hash_size; in get_hash_index()
1285 inc = 1 + (hash_value % (hash_size - 2)); in get_hash_index()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dl4states.h188 u32_t hash_value; member
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_xu_index.c442 Dwarf_Sig8 * hash_value, in dwarf_get_xu_hash_entry() argument
485 memcpy(hash_value,&hashval,sizeof(hashval)); in dwarf_get_xu_hash_entry()
H A Dgenerated_libdwarf.h.in3555 Dwarf_Sig8 * /*hash_value*/,
H A Dlibdwarf.h.in3555 Dwarf_Sig8 * /*hash_value*/,
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_lm_recv.c250 pkt->u1.rx.hash_value = rx_hdr->l2_fhdr_hash; in get_packets_rcvd()
729 pkt->u1.rx.hash_value = rx_hdr->l2_fhdr_hash; in get_packets_rcvd()
H A Dlm5706.h312 u32_t hash_value; /* RSS hash value. */ member
367 u32_t hash_value; /* RSS hash value. */ member
/illumos-gate/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()
/illumos-gate/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.h398 u32_t hash_value; member
/illumos-gate/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 */;