/freebsd/contrib/ofed/opensm/opensm/ |
H A D | st.c | 251 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \ argument 252 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key))) 260 #define FIND_ENTRY(table, ptr, hash_val, bin_pos) do {\ argument 261 bin_pos = hash_val%(table)->num_bins;\ 263 if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) \ 266 while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\ 275 unsigned int hash_val, bin_pos; in st_lookup() local 278 hash_val = do_hash(key, table); in st_lookup() 279 FIND_ENTRY(table, ptr, hash_val, bin_pos); in st_lookup() 290 #define ADD_DIRECT(table, key, value, hash_val, bin_pos)\ argument [all …]
|
/freebsd/contrib/flex/src/ |
H A D | sym.c | 75 int hash_val = hashfunct (sym, table_size); in addsym() local 76 struct hash_entry *sym_entry = table[hash_val]; in addsym() 94 if ((successor = table[hash_val]) != 0) { in addsym() 106 table[hash_val] = new_entry; in addsym()
|
/freebsd/sys/dev/ice/ |
H A D | ice_rss.h | 90 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument 99 *bucket_id = hash_val; in rss_hash2bucket()
|
/freebsd/sys/net/ |
H A D | rss_config.c | 349 rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type) in rss_hash2cpuid() argument 359 return (rss_getcpu(rss_getbucket(hash_val))); in rss_hash2cpuid() 370 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument 380 *bucket_id = rss_getbucket(hash_val); in rss_hash2bucket()
|
H A D | rss_config.h | 130 u_int rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type); 131 int rss_hash2bucket(uint32_t hash_val, uint32_t hash_type,
|
/freebsd/sys/dev/qcom_ess_edma/ |
H A D | qcom_ess_edma_rx.c | 337 int num_rfds, port_id, priority, hash_type, hash_val, flow_cookie, vlan; in qcom_ess_edma_rx_ring_complete() local 382 hash_val = rrd->rrd2; in qcom_ess_edma_rx_ring_complete() 395 hash_val, in qcom_ess_edma_rx_ring_complete() 469 m->m_pkthdr.flowid = hash_val; in qcom_ess_edma_rx_ring_complete()
|
/freebsd/sys/netinet/ |
H A D | in_rss.c | 369 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v4() local 375 &hash_val, &hash_type); in rss_soft_m2cpuid_v4() 381 m->m_pkthdr.flowid = hash_val; in rss_soft_m2cpuid_v4()
|
H A D | raw_ip.c | 491 uint32_t hash_type, hash_val; in rip_send() local 493 hash_val = fib4_calc_software_hash(ip->ip_src, in rip_send() 495 m->m_pkthdr.flowid = hash_val; in rip_send() 544 uint32_t hash_type, hash_val; in rip_send() local 546 hash_val = fib4_calc_software_hash(ip->ip_dst, in rip_send() 548 m->m_pkthdr.flowid = hash_val; in rip_send()
|
H A D | udp_usrreq.c | 1441 uint32_t hash_val, hash_type; in udp_send() local 1443 hash_val = fib4_calc_packet_hash(laddr, faddr, in udp_send() 1445 m->m_pkthdr.flowid = hash_val; in udp_send()
|
H A D | in_pcb.c | 1172 uint32_t hash_val, hash_type; in in_pcbconnect() local 1174 hash_val = fib4_calc_software_hash(inp->inp_laddr, in in_pcbconnect() 1178 inp->inp_flowid = hash_val; in in_pcbconnect()
|
/freebsd/sys/netinet6/ |
H A D | in6_rss.c | 394 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v6() local 400 &hash_val, &hash_type); in rss_soft_m2cpuid_v6() 406 m->m_pkthdr.flowid = hash_val; in rss_soft_m2cpuid_v6()
|
H A D | raw_ip6.c | 458 uint32_t hash_type, hash_val; in rip6_send() local 460 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in rip6_send() 462 inp->inp_flowid = hash_val; in rip6_send()
|
H A D | in6_pcb.c | 482 uint32_t hash_type, hash_val; in in6_pcbconnect() local 484 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in in6_pcbconnect() 487 inp->inp_flowid = hash_val; in in6_pcbconnect()
|
H A D | udp6_usrreq.c | 925 uint32_t hash_type, hash_val; in udp6_send() local 930 hash_val = fib6_calc_packet_hash(laddr, faddr, in udp6_send() 932 m->m_pkthdr.flowid = hash_val; in udp6_send()
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm6.c | 455 uint64_t hash_val; 460 (void **) &hash_val); 462 *next_hop = (uint32_t) hash_val;
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 1505 synqe->rss_hash = be32toh(rss->hash_val); in do_pass_accept_req()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 354 cpl->rss_hdr_int.hash_val = 0; in ccr_write_phys_dsgl()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 388 __be32 hash_val; member
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sge.c | 2014 m0->m_pkthdr.flowid = be32toh(d->rss.hash_val); in eth_rx()
|