/src/tests/lib/libc/stdlib/ |
t_mi_vector_hash.c | 50 uint32_t hashes[3]; member in struct:testvector 75 uint32_t hashes[3]; local in function:ATF_TC_BODY 82 mi_vector_hash(buf + j, len, 0, hashes); 83 ATF_CHECK_EQ(hashes[0], testv[i].hashes[0]); 84 ATF_CHECK_EQ(hashes[1], testv[i].hashes[1]); 85 ATF_CHECK_EQ(hashes[2], testv[i].hashes[2]);
|
/src/usr.bin/nbperf/ |
graph2.c | 179 uint32_t hashes[NBPERF_MAX_HASH_SIZE]; local in function:SIZED2 196 nbperf->keys[i], nbperf->keylens[i], hashes); 199 e->vertices[j] = hashes[j] % graph->v;
|
/src/common/lib/libc/cdb/ |
cdbr.c | 279 uint32_t hashes[3], idx; local in function:cdbr_find 286 mi_vector_hash(key, key_len, cdbr->seed, hashes); 288 hashes[0] = fast_remainder32(hashes[0], cdbr->entries_index, 291 hashes[1] = fast_remainder32(hashes[1], cdbr->entries_index, 294 hashes[2] = fast_remainder32(hashes[2], cdbr->entries_index, 298 idx = get_uintX(cdbr->hash_base, hashes[0], cdbr->index_size); 299 idx += get_uintX(cdbr->hash_base, hashes[1], cdbr->index_size) [all...] |
/src/sys/dev/usb/ |
if_udav.c | 565 uint8_t hashes[8]; local in function:udav_uno_mcast 588 memset(hashes, 0x00, sizeof(hashes)); 589 hashes[7] |= 0x80; /* broadcast address */ 590 udav_csr_write(un, UDAV_MAR, hashes, sizeof(hashes)); 606 hashes[h>>3] |= 1 << (h & 0x7); 616 udav_csr_write(un, UDAV_MAR, hashes, sizeof(hashes));
|
/src/usr.bin/cksum/ |
cksum.c | 120 } hashes[] = { variable in typeref:typename:const struct hash[] 177 for (hash = hashes; hash->hashname != NULL; hash++) 201 while (hashes[i].hashname != NULL) { 202 if (!strcasecmp(hashes[i].hashname, optarg)) { 203 hash = &hashes[i]; 347 for (nhash = hashes ;
|
/src/usr.sbin/syslogd/ |
sign.h | 77 * the hashes in every SB are grouped into n divisions: 78 * * the 1st hashcount/n hashes are sent for the 1st time 79 * * the 2nd hashcount/n hashes are sent for the 2nd time 81 * * the n-th hashcount/n hashes are sent for the n-th time 104 /* the maximum number of hashes pec signature block */ 106 /* number of hashes in one signature block */ 134 /* queue of C-Strings (here used for hashes) */ 154 struct string_queue_head hashes; member in struct:signature_group_t
|
/src/usr.sbin/veriexecgen/ |
veriexecgen.c | 101 static hash_t hashes[] = { variable in typeref:typename:hash_t[] 163 for (hash = hashes; hash->hashname != NULL; hash++)
|
/src/sys/arch/arm/at91/ |
at91emac.c | 766 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:emac_setaddr 798 hashes[0] = 0xffffffffUL; 799 hashes[1] = 0xffffffffUL; 818 hashes[ h / 32 ] |= (1 << (h % 32)); 868 EMAC_WRITE(ETH_HSH, hashes[0]); 869 EMAC_WRITE(ETH_HSL, hashes[1]);
|
/src/sys/arch/arm/ep93xx/ |
epe.c | 701 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:epe_setaddr 728 hashes[0] = 0xffffffffUL; 729 hashes[1] = 0xffffffffUL; 748 hashes[ h / 32 ] |= (1 << (h % 32)); 769 if (hashes[0] != 0 && hashes[1] != 0) { 771 EPE_WRITE(HashTbl, hashes[0]); 772 EPE_WRITE(HashTbl + 4, hashes[1]);
|
/src/sys/dev/ic/ |
lan9118.c | 873 uint32_t mac_cr, h, hashes[2] = { 0, 0 }; local in function:lan9118_set_filter 911 hashes[h >> 5] |= 1 << (h & 0x1f); 918 lan9118_mac_writereg(sc, LAN9118_HASHH, hashes[1]); 919 lan9118_mac_writereg(sc, LAN9118_HASHL, hashes[0]);
|
rtl81x9.c | 528 uint32_t hashes[2] = { 0, 0 }; local in function:rtk_setmulti 563 hashes[0] |= __BIT(h); 565 hashes[1] |= __BIT(h - 32); 587 CSR_WRITE_4(sc, RTK_MAR0, bswap32(hashes[1])); 588 CSR_WRITE_4(sc, RTK_MAR4, bswap32(hashes[0])); 590 CSR_WRITE_4(sc, RTK_MAR0, hashes[0]); 591 CSR_WRITE_4(sc, RTK_MAR4, hashes[1]);
|
dwc_gmac.c | 1384 uint32_t hashes[2] = { 0, 0 }; local in function:dwc_gmac_setmulti 1416 hashes[h >> 5] |= (1 << (h & 0x1f)); 1430 hashes[0]); 1432 hashes[1]); 1443 /* no MAC hashes, ALLMULTI or PROMISC */
|
atw.c | 1974 uint32_t hashes[2]; local in function:atw_filter_setup 1998 hashes[0] = hashes[1] = 0x0; 2013 hashes[hash >> 5] |= 1 << (hash & 0x1f); 2024 hashes[0] = hashes[1] = 0xffffffff; 2027 ATW_WRITE(sc, ATW_MAR0, hashes[0]); 2028 ATW_WRITE(sc, ATW_MAR1, hashes[1]);
|
rtw.c | 2682 uint32_t hashes[2] = { 0, 0 }; local in function:rtw_pktfilt_load 2726 hashes[hash >> 5] |= (1 << (hash & 0x1f)); 2743 hashes[0] = hashes[1] = 0xffffffff; 2745 if ((hashes[0] | hashes[1]) != 0) 2748 RTW_WRITE(regs, RTW_MAR0, hashes[0]); 2749 RTW_WRITE(regs, RTW_MAR1, hashes[1]);
|
/src/lib/libc/cdb/ |
cdbw.c | 131 uint32_t hashes[3]; member in struct:key_hash 247 uint32_t hashes[3]; local in function:cdbw_put_key 256 mi_vector_hash(key, keylen, 0, hashes); 258 head = cdbw->hash + (hashes[0] & (cdbw->hash_size - 1)); 262 if (key_hash->hashes[0] != hashes[0]) 264 if (key_hash->hashes[1] != hashes[1]) 266 if (key_hash->hashes[2] != hashes[2] 429 uint32_t hashes[3]; local in function:build_graph [all...] |
/src/sys/dev/cadence/ |
if_cemac.c | 1097 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:cemac_setaddr 1131 hashes[0] = 0xffffffffUL; 1132 hashes[1] = 0xffffffffUL; 1151 hashes[h / 32] |= (1 << (h % 32)); 1153 hashes[0] = 0xffffffffUL; 1154 hashes[1] = 0xffffffffUL; 1205 CEMAC_GEM_WRITE(HSH, hashes[0]); 1206 CEMAC_GEM_WRITE(HSL, hashes[1]);
|
/src/sys/dev/pci/ |
if_msk.c | 386 uint32_t hashes[2] = { 0, 0 }; local in function:msk_setmulti 408 hashes[0] = 0xFFFFFFFF; 409 hashes[1] = 0xFFFFFFFF; 425 hashes[0] |= (1 << h); 427 hashes[1] |= (1 << (h - 32)); 435 SK_YU_WRITE_2(sc_if, YUKON_MCAH1, hashes[0] & 0xffff); 436 SK_YU_WRITE_2(sc_if, YUKON_MCAH2, (hashes[0] >> 16) & 0xffff); 437 SK_YU_WRITE_2(sc_if, YUKON_MCAH3, hashes[1] & 0xffff); 438 SK_YU_WRITE_2(sc_if, YUKON_MCAH4, (hashes[1] >> 16) & 0xffff);
|
if_vr.c | 465 uint32_t hashes[2] = { 0, 0 }; local in function:vr_setmulti 500 hashes[0] |= (1 << h); 502 hashes[1] |= (1 << (h - 32)); 515 CSR_WRITE_4(sc, VR_MAR0, hashes[0]); 516 CSR_WRITE_4(sc, VR_MAR1, hashes[1]);
|
if_sk.c | 610 uint32_t hashes[2] = { 0, 0 }; local in function:sk_setmulti 639 hashes[0] = 0xFFFFFFFF; 640 hashes[1] = 0xFFFFFFFF; 676 hashes[0] |= (1 << h); 678 hashes[1] |= (1 << (h - 32)); 690 SK_XM_WRITE_4(sc_if, XM_MAR0, hashes[0]); 691 SK_XM_WRITE_4(sc_if, XM_MAR2, hashes[1]); 696 SK_YU_WRITE_2(sc_if, YUKON_MCAH1, hashes[0] & 0xffff); 697 SK_YU_WRITE_2(sc_if, YUKON_MCAH2, (hashes[0] >> 16) & 0xffff); 698 SK_YU_WRITE_2(sc_if, YUKON_MCAH3, hashes[1] & 0xffff) [all...] |
if_rge.c | 1516 uint32_t hashes[2]; local in function:rge_iff 1536 hashes[0] = hashes[1] = 0xffffffff; 1540 memset(hashes, 0, sizeof(hashes)); 1554 hashes[0] |= (1U << h); 1556 hashes[1] |= (1U << (h - 32)); 1564 RGE_WRITE_4(sc, RGE_MAR0, bswap32(hashes[1])); 1565 RGE_WRITE_4(sc, RGE_MAR4, bswap32(hashes[0]));
|
if_vge.c | 642 uint32_t h, hashes[2] = { 0, 0 }; local in function:vge_setmulti 705 hashes[h >> 5] |= 1 << (h & 0x1f); 711 CSR_WRITE_4(sc, VGE_MAR0, hashes[0]); 712 CSR_WRITE_4(sc, VGE_MAR1, hashes[1]);
|
if_bnx.c | 5578 uint32_t hashes[NUM_MC_HASH_REGISTERS] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local in function:bnx_iff 5630 hashes[(h & 0xE0) >> 5] |= __BIT(h & 0x1F); 5637 hashes[i]);
|
if_bge.c | 1843 uint32_t hashes[4] = { 0, 0, 0, 0 }; local in function:bge_setmulti 1873 hashes[(h & 0x60) >> 5] |= 1U << (h & 0x1F); 1885 hashes[0] = hashes[1] = hashes[2] = hashes[3] = 0xffffffff; 1889 CSR_WRITE_4(sc, BGE_MAR0 + (i * 4), hashes[i]);
|