Searched refs:mhash (Results 1 – 7 of 7) sorted by relevance
| /Linux-v4.19/net/bridge/ |
| D | br_multicast.c | 111 hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in __br_mdb_ip_get() 193 kfree(old->mhash); in br_mdb_free() 207 hlist_for_each_entry(mp, &old->mhash[i], hlist[old->ver]) in br_mdb_copy() 209 &new->mhash[br_ip_hash(new, &mp->addr)]); in br_mdb_copy() 217 hlist_for_each_entry(mp, &new->mhash[i], hlist[new->ver]) in br_mdb_copy() 336 mdb->mhash = kcalloc(max, sizeof(*mdb->mhash), GFP_ATOMIC); in br_mdb_rehash() 337 if (!mdb->mhash) { in br_mdb_rehash() 355 kfree(mdb->mhash); in br_mdb_rehash() 604 hlist_for_each_entry(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in br_multicast_get_group() 707 hlist_add_head_rcu(&mp->hlist[mdb->ver], &mdb->mhash[hash]); in br_multicast_new_group() [all …]
|
| D | br_mdb.c | 104 hlist_for_each_entry_rcu(mp, &mdb->mhash[i], hlist[mdb->ver]) { in br_mdb_fill_info()
|
| D | br_private.h | 222 struct hlist_head *mhash; member
|
| /Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
| D | cxgb4vf_main.c | 887 u64 mhash = 0; in cxgb4vf_mac_sync() local 895 NULL, ucast ? &uhash : &mhash, false); in cxgb4vf_mac_sync() 902 if (uhash || mhash) { in cxgb4vf_mac_sync()
|
| /Linux-v4.19/net/ipv4/ |
| D | route.c | 1831 u32 mhash; in fib_multipath_hash() local 1878 mhash = flow_hash_from_keys(&hash_keys); in fib_multipath_hash() 1880 return mhash >> 1; in fib_multipath_hash()
|
| /Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_main.c | 368 u64 mhash = 0; in cxgb4_mac_sync() local 376 NULL, ucast ? &uhash : &mhash, false); in cxgb4_mac_sync() 383 if (uhash || mhash) { in cxgb4_mac_sync()
|
| /Linux-v4.19/net/ipv6/ |
| D | route.c | 2010 u32 mhash; in rt6_multipath_hash() local 2057 mhash = flow_hash_from_keys(&hash_keys); in rt6_multipath_hash() 2059 return mhash >> 1; in rt6_multipath_hash()
|