Searched refs:mhash (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dlib-ptl.c726 struct list_head *mhash; lnet_ptl_cleanup() local
733 mhash = mtable->mt_mhash; lnet_ptl_cleanup()
736 while (!list_empty(&mhash[j])) { lnet_ptl_cleanup()
737 me = list_entry(mhash[j].next, lnet_ptl_cleanup()
745 LIBCFS_FREE(mhash, sizeof(*mhash) * (LNET_MT_HASH_SIZE + 1)); lnet_ptl_cleanup()
756 struct list_head *mhash; lnet_ptl_setup() local
773 LIBCFS_CPT_ALLOC(mhash, lnet_cpt_table(), i, lnet_ptl_setup()
774 sizeof(*mhash) * (LNET_MT_HASH_SIZE + 1)); lnet_ptl_setup()
775 if (mhash == NULL) { lnet_ptl_setup()
784 mtable->mt_mhash = mhash; lnet_ptl_setup()
786 INIT_LIST_HEAD(&mhash[j]); lnet_ptl_setup()
/linux-4.1.27/net/bridge/
H A Dbr_multicast.c94 hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { __br_mdb_ip_get()
176 kfree(old->mhash); br_mdb_free()
190 hlist_for_each_entry(mp, &old->mhash[i], hlist[old->ver]) br_mdb_copy()
192 &new->mhash[br_ip_hash(new, &mp->addr)]); br_mdb_copy()
200 hlist_for_each_entry(mp, &new->mhash[i], hlist[new->ver]) br_mdb_copy()
316 mdb->mhash = kzalloc(max * sizeof(*mdb->mhash), GFP_ATOMIC); br_mdb_rehash()
317 if (!mdb->mhash) { br_mdb_rehash()
335 kfree(mdb->mhash); br_mdb_rehash()
524 hlist_for_each_entry(mp, &mdb->mhash[hash], hlist[mdb->ver]) { br_multicast_get_group()
627 hlist_add_head_rcu(&mp->hlist[mdb->ver], &mdb->mhash[hash]); br_multicast_new_group()
1929 hlist_for_each_entry_safe(mp, n, &mdb->mhash[i], br_multicast_stop()
H A Dbr_mdb.c69 hlist_for_each_entry_rcu(mp, &mdb->mhash[i], hlist[mdb->ver]) { br_mdb_fill_info()
H A Dbr_private.h131 struct hlist_head *mhash; member in struct:net_bridge_mdb_htable
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c914 u64 mhash = 0; set_addr_filters() local
945 naddr, addr, NULL, &mhash, sleep); set_addr_filters()
952 uhash | mhash, sleep); set_addr_filters()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c375 u64 mhash = 0; set_addr_filters() local
406 naddr, addr, filt_idx, &mhash, sleep); netdev_for_each_mc_addr()
416 uhash | mhash, sleep);

Completed in 233 milliseconds