HomeSort by: relevance | last modified time | path
    Searched refs:hashes (Results 1 - 25 of 29) sorted by relevancy

1 2

  /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/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/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/common/lib/libc/stdlib/
mi_vector_hash.c 85 uint32_t hashes[3])
179 hashes[0] = a;
180 hashes[1] = b;
181 hashes[2] = c;
  /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/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.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
sign.c 304 * signature group get hashes and need memory for them
321 STAILQ_INIT(&(x)->hashes); \
467 if (!STAILQ_EMPTY(&sg->hashes)) {
469 * for the last few message hashes */
523 && STAILQ_EMPTY(&sg->hashes)))
617 * if force==true then simply send all available hashes, e.g. on shutdown
619 * sliding window checks implicitly assume that new hashes are appended
631 size_t sg_num_hashes = 0; /* hashes in SG queue */
632 size_t hashes_in_sb = 0; /* number of hashes in current SB */
633 size_t hashes_sent = 0; /* count of hashes sent *
    [all...]
  /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;
nbperf.c 81 uint32_t *hashes)
83 mi_vector_hash(key, keylen, nbperf->seed[0], hashes);
  /src/usr.bin/make/unit-tests/
varmod-hash.mk 6 # Test vectors for generating certain hashes. Found by a brute force
  /src/sys/arch/arm/ep93xx/
epe.c 695 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:epe_setaddr
722 hashes[0] = 0xffffffffUL;
723 hashes[1] = 0xffffffffUL;
742 hashes[ h / 32 ] |= (1 << (h % 32));
763 if (hashes[0] != 0 && hashes[1] != 0) {
765 EPE_WRITE(HashTbl, hashes[0]);
766 EPE_WRITE(HashTbl + 4, hashes[1]);
  /src/sys/dev/cadence/
if_cemac.c 1089 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:cemac_setaddr
1123 hashes[0] = 0xffffffffUL;
1124 hashes[1] = 0xffffffffUL;
1143 hashes[h / 32] |= (1 << (h % 32));
1145 hashes[0] = 0xffffffffUL;
1146 hashes[1] = 0xffffffffUL;
1197 CEMAC_GEM_WRITE(HSH, hashes[0]);
1198 CEMAC_GEM_WRITE(HSL, hashes[1]);
  /src/sys/arch/arm/at91/
at91emac.c 758 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:emac_setaddr
790 hashes[0] = 0xffffffffUL;
791 hashes[1] = 0xffffffffUL;
810 hashes[ h / 32 ] |= (1 << (h % 32));
860 EMAC_WRITE(ETH_HSH, hashes[0]);
861 EMAC_WRITE(ETH_HSL, hashes[1]);
  /src/sys/dev/ic/
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]);
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]);
dwc_gmac.c 1373 uint32_t hashes[2] = { 0, 0 }; local in function:dwc_gmac_setmulti
1405 hashes[h >> 5] |= (1 << (h & 0x1f));
1419 hashes[0]);
1421 hashes[1]);
1432 /* 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/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/dev/pci/
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_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_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_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]));

Completed in 180 milliseconds

1 2