Home
last modified time | relevance | path

Searched refs:hash_val (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dst.c275 unsigned int hash_val, bin_pos; in st_lookup() local
278 hash_val = do_hash(key, table); in st_lookup()
301 entry->hash = hash_val;\
311 unsigned int hash_val, bin_pos; in st_insert() local
314 hash_val = do_hash(key, table); in st_insert()
339 unsigned int hash_val; in rehash() local
354 new_bins[hash_val] = ptr; in rehash()
404 unsigned int hash_val; in st_delete() local
409 ptr = table->bins[hash_val]; in st_delete()
446 unsigned int hash_val; in st_delete_safe() local
[all …]
/freebsd-14.2/contrib/flex/src/
H A Dsym.c75 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-14.2/sys/dev/ice/
H A Dice_rss.h98 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument
107 *bucket_id = hash_val; in rss_hash2bucket()
/freebsd-14.2/sys/net/
H A Drss_config.c349 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 Drss_config.h130 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-14.2/sys/netinet/
H A Din_rss.c369 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 Draw_ip.c476 uint32_t hash_type, hash_val; in rip_send() local
478 hash_val = fib4_calc_software_hash(ip->ip_src, in rip_send()
480 m->m_pkthdr.flowid = hash_val; in rip_send()
529 uint32_t hash_type, hash_val; in rip_send() local
531 hash_val = fib4_calc_software_hash(ip->ip_dst, in rip_send()
533 m->m_pkthdr.flowid = hash_val; in rip_send()
H A Dudp_usrreq.c1428 uint32_t hash_val, hash_type; in udp_send() local
1430 hash_val = fib4_calc_packet_hash(laddr, faddr, in udp_send()
1432 m->m_pkthdr.flowid = hash_val; in udp_send()
H A Din_pcb.c1313 uint32_t hash_val, hash_type; in in_pcbconnect_setup() local
1315 hash_val = fib4_calc_software_hash(laddr, faddr, 0, fport, in in_pcbconnect_setup()
1318 inp->inp_flowid = hash_val; in in_pcbconnect_setup()
/freebsd-14.2/sys/netinet6/
H A Din6_rss.c394 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 Draw_ip6.c450 uint32_t hash_type, hash_val; in rip6_send() local
452 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in rip6_send()
454 inp->inp_flowid = hash_val; in rip6_send()
H A Dudp6_usrreq.c912 uint32_t hash_type, hash_val; in udp6_send() local
917 hash_val = fib6_calc_packet_hash(laddr, faddr, in udp6_send()
919 m->m_pkthdr.flowid = hash_val; in udp6_send()
H A Din6_pcb.c447 uint32_t hash_type, hash_val; in in6_pcbconnect() local
449 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in in6_pcbconnect()
452 inp->inp_flowid = hash_val; in in6_pcbconnect()
/freebsd-14.2/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c455 uint64_t hash_val;
460 (void **) &hash_val);
462 *next_hop = (uint32_t) hash_val;
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_listen.c1473 synqe->rss_hash = be32toh(rss->hash_val); in do_pass_accept_req()
/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c355 cpl->rss_hdr_int.hash_val = 0; in ccr_write_phys_dsgl()
/freebsd-14.2/sys/dev/cxgbe/common/
H A Dt4_msg.h388 __be32 hash_val; member
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_sge.c2014 m0->m_pkthdr.flowid = be32toh(d->rss.hash_val); in eth_rx()