Home
last modified time | relevance | path

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

/net/core/
Dneighbour.c407 u32 hash_val; in neigh_lookup() local
414 hash_val = tbl->hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in neigh_lookup()
416 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup()
437 u32 hash_val; in neigh_lookup_nodev() local
444 hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift); in neigh_lookup_nodev()
446 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup_nodev()
466 u32 hash_val; in __neigh_create() local
511 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in __neigh_create()
518 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in __neigh_create()
535 rcu_dereference_protected(nht->hash_buckets[hash_val], in __neigh_create()
[all …]
/net/openvswitch/
Dflow_netlink.c553 u32 hash_val = nla_get_u32(a[OVS_KEY_ATTR_DP_HASH]); in metadata_from_nlattrs() local
555 SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); in metadata_from_nlattrs()