/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Jamfile | 21 hashes.cpp
|
/haiku/src/tests/add-ons/kernel/file_systems/userlandfs/reiserfs/ |
H A D | Jamfile | 23 hashes.cpp
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rl.c | 511 uint32_t *hashes = arg; in rl_hash_maddr() local 516 hashes[0] |= (1 << h); in rl_hash_maddr() 518 hashes[1] |= (1 << (h - 32)); in rl_hash_maddr() 530 uint32_t hashes[2] = { 0, 0 }; in rl_rxfilter() local 547 hashes[0] = 0xFFFFFFFF; in rl_rxfilter() 548 hashes[1] = 0xFFFFFFFF; in rl_rxfilter() 551 if_foreach_llmaddr(ifp, rl_hash_maddr, hashes); in rl_rxfilter() 552 if (hashes[0] != 0 || hashes[1] != 0) in rl_rxfilter() 556 CSR_WRITE_4(sc, RL_MAR0, hashes[0]); in rl_rxfilter() 557 CSR_WRITE_4(sc, RL_MAR4, hashes[1]); in rl_rxfilter()
|
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/ |
H A D | if_sk.c | 699 uint32_t hashes[2]; member 720 ctx->hashes[0] |= (1 << h); in sk_add_maddr_genesis() 722 ctx->hashes[1] |= (1 << (h - 32)); in sk_add_maddr_genesis() 751 ctx.hashes[0] = 0xFFFFFFFF; in sk_rxfilter_genesis() 752 ctx.hashes[1] = 0xFFFFFFFF; in sk_rxfilter_genesis() 758 SK_XM_WRITE_4(sc_if, XM_MAR0, ctx.hashes[0]); in sk_rxfilter_genesis() 759 SK_XM_WRITE_4(sc_if, XM_MAR2, ctx.hashes[1]); in sk_rxfilter_genesis() 765 uint32_t crc, *hashes = arg; in sk_hash_maddr_yukon() local 771 hashes[crc >> 5] |= 1 << (crc & 0x1f); in sk_hash_maddr_yukon() 780 uint32_t hashes[2] = { 0, 0 }, mode; in sk_rxfilter_yukon() local [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 445 uint32_t crc, *hashes = arg; in sge_hash_maddr() local 448 hashes[crc >> 31] |= 1 << ((crc >> 26) & 0x1f); in sge_hash_maddr() 457 uint32_t hashes[2]; in sge_rxfilter() local 472 hashes[0] = 0xFFFFFFFF; in sge_rxfilter() 473 hashes[1] = 0xFFFFFFFF; in sge_rxfilter() 476 hashes[0] = hashes[1] = 0; in sge_rxfilter() 478 if_foreach_llmaddr(ifp, sge_hash_maddr, hashes); in sge_rxfilter() 481 CSR_WRITE_4(sc, RxHashTable, hashes[0]); in sge_rxfilter() 482 CSR_WRITE_4(sc, RxHashTable2, hashes[1]); in sge_rxfilter()
|
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/ |
H A D | if_vge.c | 544 uint32_t h, *hashes = arg; in vge_hash_maddr() local 548 hashes[0] |= (1 << h); in vge_hash_maddr() 550 hashes[1] |= (1 << (h - 32)); in vge_hash_maddr() 564 uint32_t hashes[2]; in vge_rxfilter() local 570 hashes[0] = 0; in vge_rxfilter() 571 hashes[1] = 0; in vge_rxfilter() 589 hashes[0] = 0xFFFFFFFF; in vge_rxfilter() 590 hashes[1] = 0xFFFFFFFF; in vge_rxfilter() 603 if_foreach_llmaddr(ifp, vge_hash_maddr, hashes); in vge_rxfilter() 607 if (hashes[0] != 0 || hashes[1] != 0) in vge_rxfilter() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/ |
H A D | if_re.c | 656 uint32_t h, *hashes = arg; in re_hash_maddr() local 660 hashes[0] |= (1 << h); in re_hash_maddr() 662 hashes[1] |= (1 << (h - 32)); in re_hash_maddr() 674 uint32_t h, hashes[2] = { 0, 0 }; in re_set_rxmode() local 696 hashes[0] = hashes[1] = 0xffffffff; in re_set_rxmode() 700 if_foreach_llmaddr(ifp, re_hash_maddr, hashes); in re_set_rxmode() 702 if (hashes[0] != 0 || hashes[1] != 0) { in re_set_rxmode() 711 h = bswap32(hashes[0]); in re_set_rxmode() 712 hashes[0] = bswap32(hashes[1]); in re_set_rxmode() 713 hashes[1] = h; in re_set_rxmode() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/ |
H A D | if_rge.c | 1568 uint32_t hashes[2]; local 1589 hashes[0] = hashes[1] = 0xffffffff; 1594 memset(hashes, 0, sizeof(hashes)); 1602 hashes[0] |= (1 << h); 1604 hashes[1] |= (1 << (h - 32)); 1612 RGE_WRITE_4(sc, RGE_MAR0, swap32(hashes[1])); 1613 RGE_WRITE_4(sc, RGE_MAR4, swap32(hashes[0]));
|
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | if_dc.c | 1035 uint32_t *hashes = arg; in dc_hash_maddr_admtek_be() local 1040 hashes[0] |= (1 << h); in dc_hash_maddr_admtek_be() 1042 hashes[1] |= (1 << (h - 32)); in dc_hash_maddr_admtek_be() 1049 uint32_t hashes[2]; member 1060 ctx->hashes[0] |= (1 << h); in dc_hash_maddr_admtek_le() 1062 ctx->hashes[1] |= (1 << (h - 32)); in dc_hash_maddr_admtek_le() 1108 if_foreach_llmaddr(ifp, dc_hash_maddr_admtek_be, &ctx.hashes); in dc_setfilt_admtek() 1110 CSR_WRITE_4(sc, DC_AL_MAR0, ctx.hashes[0]); in dc_setfilt_admtek() 1111 CSR_WRITE_4(sc, DC_AL_MAR1, ctx.hashes[1]); in dc_setfilt_admtek() 1119 uint32_t hashes[2] = { 0, 0 }; in dc_setfilt_asix() local [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vr.c | 456 uint32_t *hashes = arg; in vr_hash_maddr() local 461 hashes[0] |= (1 << h); in vr_hash_maddr() 463 hashes[1] |= (1 << (h - 32)); in vr_hash_maddr() 475 uint32_t hashes[2] = { 0, 0 }; in vr_set_filter() local 519 mcnt = if_foreach_llmaddr(ifp, vr_hash_maddr, hashes); in vr_set_filter() 525 CSR_WRITE_4(sc, VR_MAR0, hashes[0]); in vr_set_filter() 526 CSR_WRITE_4(sc, VR_MAR1, hashes[1]); in vr_set_filter()
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/ |
H A D | if_sis.c | 771 uint16_t hashes[16]; in sis_rxfilter_sis() local 796 hashes[i] = ~0; in sis_rxfilter_sis() 799 hashes[i] = 0; in sis_rxfilter_sis() 807 hashes[h >> 4] |= 1 << (h & 0xf); in sis_rxfilter_sis() 814 hashes[i] = ~0; in sis_rxfilter_sis() 820 CSR_WRITE_4(sc, SIS_RXFILT_DATA, hashes[i]); in sis_rxfilter_sis()
|
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/ |
H A D | if_pcn.c | 355 u_int16_t hashes[4] = { 0, 0, 0, 0 }; local 379 hashes[h >> 4] |= 1 << (h & 0xF); 384 pcn_csr_write(sc, PCN_CSR_MAR0 + i, hashes[i]);
|
/haiku/ |
H A D | configure | 90 available, they will be used to store hashes for
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 1580 uint32_t *hashes = arg; in bge_hash_maddr() local 1584 hashes[(h & 0x60) >> 5] |= 1 << (h & 0x1F); in bge_hash_maddr() 1593 uint32_t hashes[4] = { 0, 0, 0, 0 }; in bge_setmulti() local 1610 if_foreach_llmaddr(ifp, bge_hash_maddr, hashes); in bge_setmulti() 1613 CSR_WRITE_4(sc, BGE_MAR0 + (i * 4), hashes[i]); in bge_setmulti()
|