Searched refs:dmi1 (Results 1 – 3 of 3) sorted by relevance
157 struct dev_mc_list *dmi, *dmi1; in dev_mc_add() local159 dmi1 = (struct dev_mc_list *)kmalloc(sizeof(*dmi), GFP_ATOMIC); in dev_mc_add()176 if ((dmi = dmi1) == NULL) { in dev_mc_add()195 if (dmi1) in dev_mc_add()196 kfree(dmi1); in dev_mc_add()
734 static inline int vlan_dmi_equals(struct dev_mc_list *dmi1, in vlan_dmi_equals() argument737 return ((dmi1->dmi_addrlen == dmi2->dmi_addrlen) && in vlan_dmi_equals()738 (memcmp(dmi1->dmi_addr, dmi2->dmi_addr, dmi1->dmi_addrlen) == 0)); in vlan_dmi_equals()
1163 static inline int bond_is_dmi_same(struct dev_mc_list *dmi1, struct dev_mc_list *dmi2) in bond_is_dmi_same() argument1165 return memcmp(dmi1->dmi_addr, dmi2->dmi_addr, dmi1->dmi_addrlen) == 0 && in bond_is_dmi_same()1166 dmi1->dmi_addrlen == dmi2->dmi_addrlen; in bond_is_dmi_same()