Lines Matching refs:dmi

1172 static struct dev_mc_list *bond_mc_list_find_dmi(struct dev_mc_list *dmi, struct dev_mc_list *mc_li…  in bond_mc_list_find_dmi()  argument
1177 if (bond_is_dmi_same(dmi, idmi)) { in bond_mc_list_find_dmi()
1268 struct dev_mc_list *dmi; in bond_mc_list_destroy() local
1270 dmi = bond->mc_list; in bond_mc_list_destroy()
1271 while (dmi) { in bond_mc_list_destroy()
1272 bond->mc_list = dmi->next; in bond_mc_list_destroy()
1273 kfree(dmi); in bond_mc_list_destroy()
1274 dmi = bond->mc_list; in bond_mc_list_destroy()
1283 struct dev_mc_list *dmi, *new_dmi; in bond_mc_list_copy() local
1285 for (dmi = mc_list; dmi; dmi = dmi->next) { in bond_mc_list_copy()
1295 new_dmi->dmi_addrlen = dmi->dmi_addrlen; in bond_mc_list_copy()
1296 memcpy(new_dmi->dmi_addr, dmi->dmi_addr, dmi->dmi_addrlen); in bond_mc_list_copy()
1297 new_dmi->dmi_users = dmi->dmi_users; in bond_mc_list_copy()
1298 new_dmi->dmi_gusers = dmi->dmi_gusers; in bond_mc_list_copy()
1310 struct dev_mc_list *dmi; in bond_mc_list_flush() local
1312 for (dmi = bond_dev->mc_list; dmi; dmi = dmi->next) { in bond_mc_list_flush()
1313 dev_mc_delete(slave_dev, dmi->dmi_addr, dmi->dmi_addrlen, 0); in bond_mc_list_flush()
1333 struct dev_mc_list *dmi; in bond_mc_swap() local
1351 for (dmi = bond->dev->mc_list; dmi; dmi = dmi->next) { in bond_mc_swap()
1352 dev_mc_delete(old_active->dev, dmi->dmi_addr, dmi->dmi_addrlen, 0); in bond_mc_swap()
1365 for (dmi = bond->dev->mc_list; dmi; dmi = dmi->next) { in bond_mc_swap()
1366 dev_mc_add(new_active->dev, dmi->dmi_addr, dmi->dmi_addrlen, 0); in bond_mc_swap()
1595 struct dev_mc_list *dmi; in bond_enslave() local
1776 for (dmi = bond_dev->mc_list; dmi; dmi = dmi->next) { in bond_enslave()
1777 dev_mc_add (slave_dev, dmi->dmi_addr, dmi->dmi_addrlen, 0); in bond_enslave()
3820 struct dev_mc_list *dmi; in bond_set_multicast_list() local
3847 for (dmi = bond_dev->mc_list; dmi; dmi = dmi->next) { in bond_set_multicast_list()
3848 if (!bond_mc_list_find_dmi(dmi, bond->mc_list)) { in bond_set_multicast_list()
3849 bond_mc_add(bond, dmi->dmi_addr, dmi->dmi_addrlen); in bond_set_multicast_list()
3854 for (dmi = bond->mc_list; dmi; dmi = dmi->next) { in bond_set_multicast_list()
3855 if (!bond_mc_list_find_dmi(dmi, bond_dev->mc_list)) { in bond_set_multicast_list()
3856 bond_mc_delete(bond, dmi->dmi_addr, dmi->dmi_addrlen); in bond_set_multicast_list()