Home
last modified time | relevance | path

Searched refs:hashidx (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/usr.sbin/ypserv/mknetid/
H A Dmknetid.c70 static int hashidx(char);
149 hashidx(char key) in hashidx() function
172 idx = hashidx(username[0]); in add_user()
198 idx = hashidx(username[0]); in add_group()
/netbsd-src/sys/netinet6/
H A Dip6_flow.c117 #define IP6FLOW_INSERT(hashidx, ip6f) \ argument
119 (ip6f)->ip6f_hashidx = (hashidx); \
120 TAILQ_INSERT_HEAD(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \
127 #define IP6FLOW_REMOVE(hashidx, ip6f) \ argument
129 TAILQ_REMOVE(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \
H A Din6.c2466 u_int hashidx; in in6_lltable_find_dst() local
2468 hashidx = in6_lltable_hash_dst(dst, llt->llt_hsize); in in6_lltable_find_dst()
2469 lleh = &llt->lle_head[hashidx]; in in6_lltable_find_dst()
/netbsd-src/sys/netinet/
H A Dip_flow.c90 #define IPFLOW_INSERT(hashidx, ipf) \ argument
92 (ipf)->ipf_hashidx = (hashidx); \
93 TAILQ_INSERT_HEAD(&ipflowtable[(hashidx)], (ipf), ipf_hash); \
97 #define IPFLOW_REMOVE(hashidx, ipf) \ argument
99 TAILQ_REMOVE(&ipflowtable[(hashidx)], (ipf), ipf_hash); \
H A Din.c2176 u_int hashidx; in in_lltable_find_dst()
2178 hashidx = in_lltable_hash_dst(dst, llt->llt_hsize); in in_lltable_find_dst()
2179 lleh = &llt->lle_head[hashidx]; in in_lltable_find_dst()
2177 u_int hashidx; in_lltable_find_dst() local
/netbsd-src/sys/kern/
H A Dsubr_thmap.c211 unsigned hashidx; // current hash index (block of bits) member
370 query->hashidx = 0; in hashval_init()
384 if (query->hashidx != i) { in hashval_getslot()
387 query->hashidx = i; in hashval_getslot()
408 if (__predict_true(query->hashidx == 0)) { in hashval_getl0slot()
/netbsd-src/sys/net/
H A Dif_llatbl.c212 uint32_t hashidx; in htable_link_entry() local
219 hashidx = llt->llt_hash(lle, llt->llt_hsize); in htable_link_entry()
220 lleh = &llt->lle_head[hashidx]; in htable_link_entry()
/netbsd-src/sys/arch/arm/imx/
H A Dif_enet.c718 uint32_t crc, hashidx; in enet_setmulti() local
744 hashidx = __SHIFTOUT(crc, __BITS(30,26)); in enet_setmulti()
745 gaddr[__SHIFTOUT(crc, __BIT(31))] |= __BIT(hashidx); in enet_setmulti()