Home
last modified time | relevance | path

Searched refs:mhash (Results 1 – 3 of 3) sorted by relevance

/net/bridge/
Dbr_multicast.c106 hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in __br_mdb_ip_get()
188 kfree(old->mhash); in br_mdb_free()
202 hlist_for_each_entry(mp, &old->mhash[i], hlist[old->ver]) in br_mdb_copy()
204 &new->mhash[br_ip_hash(new, &mp->addr)]); in br_mdb_copy()
212 hlist_for_each_entry(mp, &new->mhash[i], hlist[new->ver]) in br_mdb_copy()
330 mdb->mhash = kzalloc(max * sizeof(*mdb->mhash), GFP_ATOMIC); in br_mdb_rehash()
331 if (!mdb->mhash) { in br_mdb_rehash()
349 kfree(mdb->mhash); in br_mdb_rehash()
547 hlist_for_each_entry(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in br_multicast_get_group()
650 hlist_add_head_rcu(&mp->hlist[mdb->ver], &mdb->mhash[hash]); in br_multicast_new_group()
[all …]
Dbr_mdb.c103 hlist_for_each_entry_rcu(mp, &mdb->mhash[i], hlist[mdb->ver]) { in br_mdb_fill_info()
Dbr_private.h195 struct hlist_head *mhash; member