Home
last modified time | relevance | path

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

/openbmc/u-boot/doc/
H A DREADME.esbc_validate16 esbc_validate hdr_addr <hash_val>
19 $hash_val -Optional. It provides Hash of public/srk key to be
/openbmc/u-boot/board/freescale/common/
H A Dfsl_validate.c40 static u8 hash_val[SHA256_BYTES]; variable
518 ret = algo->hash_finish(algo, ctx, hash_val, algo->digest_size); in calc_img_key_hash()
523 img->img_key_hash[i] = hash_val[i]; in calc_img_key_hash()
594 ret = algo->hash_finish(algo, ctx, hash_val, algo->digest_size); in calc_esbchdr_esbc_hash()
653 digest[i] = hash_val[i]; in construct_img_encoded_hash_second()
/openbmc/linux/net/core/
H A Dneighbour.c233 u32 hash_val; in neigh_remove_one() local
240 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one()
242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
643 u32 hash_val, key_len = tbl->key_len; in ___neigh_create() local
744 hash_val ^= (hash_val >> 16); in pneigh_hash()
745 hash_val ^= hash_val >> 8; in pneigh_hash()
746 hash_val ^= hash_val >> 4; in pneigh_hash()
747 hash_val &= PNEIGH_HASHMASK; in pneigh_hash()
748 return hash_val; in pneigh_hash()
813 n->next = tbl->phash_buckets[hash_val]; in pneigh_lookup()
[all …]
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1276 u32 hash_val; in ipoib_neigh_get() local
1285 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_get()
1286 for (neigh = rcu_dereference_bh(htbl->buckets[hash_val]); in ipoib_neigh_get()
1398 u32 hash_val; in ipoib_neigh_alloc() local
1410 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_alloc()
1411 for (neigh = rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc()
1437 rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc()
1439 rcu_assign_pointer(htbl->buckets[hash_val], neigh); in ipoib_neigh_alloc()
1488 u32 hash_val; in ipoib_neigh_free() local
1495 hash_val = ipoib_addr_hash(htbl, neigh->daddr); in ipoib_neigh_free()
[all …]
/openbmc/linux/include/net/
H A Dneighbour.h304 u32 hash_val; in ___neigh_lookup_noref() local
306 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
307 for (n = rcu_dereference(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
/openbmc/linux/drivers/net/ethernet/davicom/
H A Ddm9051.c1037 u32 hash_val; in dm9051_set_rx_mode() local
1062 hash_val = ether_crc_le(ETH_ALEN, ha->addr) & GENMASK(5, 0); in dm9051_set_rx_mode()
1063 rxctrl.hash_table[hash_val / 16] |= BIT(0) << (hash_val % 16); in dm9051_set_rx_mode()
H A Ddm9000.c841 u32 hash_val; in dm9000_hash_table_unlocked() local
858 hash_val = ether_crc_le(6, ha->addr) & 0x3f; in dm9000_hash_table_unlocked()
859 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked()
/openbmc/linux/drivers/net/ethernet/nxp/
H A Dlpc_eth.c1112 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local
1140 hash_val = (ether_crc(6, ha->addr) >> 23) & 0x3F; in lpc_eth_set_multicast_list()
1142 if (hash_val >= 32) in lpc_eth_set_multicast_list()
1143 hashhi |= 1 << (hash_val - 32); in lpc_eth_set_multicast_list()
1145 hashlo |= 1 << hash_val; in lpc_eth_set_multicast_list()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h283 u8 hash_val[4]; /* dword 3 */ member
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Ddmfe.c1458 u32 hash_val = cal_CRC((char *)ha->addr, 6, 0) & 0x3f; in dm9132_id_table() local
1460 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c1164 u32 hash_val = nla_get_u32(a[OVS_KEY_ATTR_DP_HASH]); in metadata_from_nlattrs() local
1166 SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); in metadata_from_nlattrs()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_msg.h237 __be32 hash_val; member
H A Dsge.c3472 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro()
3758 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
/openbmc/openbmc/poky/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/
H A Dautotools-update.patch1948 - nls_uint32 hash_val = hash_string (msgid);
1949 - nls_uint32 idx = hash_val % domain->hash_size;
1950 - nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2));
/openbmc/linux/drivers/crypto/chelsio/
H A Dchcr_algo.c401 phys_cpl->rss_hdr_int.hash_val = 0; in dsgl_walk_end()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c4096 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()