Home
last modified time | relevance | path

Searched refs:dmi (Results 1 – 25 of 57) sorted by relevance

123

/linux-2.4.37.9/net/core/
Ddev_mcast.c106 struct dev_mc_list *dmi, **dmip; in dev_mc_delete() local
110 for (dmip = &dev->mc_list; (dmi = *dmip) != NULL; dmip = &dmi->next) { in dev_mc_delete()
115 if (memcmp(dmi->dmi_addr, addr, dmi->dmi_addrlen) == 0 && in dev_mc_delete()
116 alen == dmi->dmi_addrlen) { in dev_mc_delete()
118 int old_glbl = dmi->dmi_gusers; in dev_mc_delete()
119 dmi->dmi_gusers = 0; in dev_mc_delete()
123 if (--dmi->dmi_users) in dev_mc_delete()
129 *dmip = dmi->next; in dev_mc_delete()
132 kfree(dmi); in dev_mc_delete()
157 struct dev_mc_list *dmi, *dmi1; in dev_mc_add() local
[all …]
/linux-2.4.37.9/net/8021q/
Dvlan_dev.c744 static int vlan_should_add_mc(struct dev_mc_list *dmi, struct dev_mc_list *mc_list) in vlan_should_add_mc() argument
749 if (vlan_dmi_equals(dmi, idmi)) { in vlan_should_add_mc()
750 if (dmi->dmi_users > idmi->dmi_users) in vlan_should_add_mc()
764 struct dev_mc_list *dmi = mc_list; in vlan_destroy_mc_list() local
767 while(dmi) { in vlan_destroy_mc_list()
768 next = dmi->next; in vlan_destroy_mc_list()
769 kfree(dmi); in vlan_destroy_mc_list()
770 dmi = next; in vlan_destroy_mc_list()
776 struct dev_mc_list *dmi, *new_dmi; in vlan_copy_mc_list() local
781 for (dmi = mc_list; dmi != NULL; dmi = dmi->next) { in vlan_copy_mc_list()
[all …]
/linux-2.4.37.9/drivers/char/
Di8k.c601 static char* __init dmi_string(DMIHeader *dmi, u8 s) in dmi_string() argument
610 p = (u8 *)dmi + dmi->length; in dmi_string()
620 static void __init dmi_decode(DMIHeader *dmi) in dmi_decode() argument
622 u8 *data = (u8 *) dmi; in dmi_decode()
634 switch (dmi->type) { in dmi_decode()
636 p = dmi_string(dmi,data[5]); in dmi_decode()
643 p = dmi_string(dmi,data[4]); in dmi_decode()
648 p = dmi_string(dmi,data[5]); in dmi_decode()
653 p = dmi_string(dmi,data[7]); in dmi_decode()
666 DMIHeader *dmi; in dmi_table() local
[all …]
/linux-2.4.37.9/drivers/net/bonding/
Dbond_main.c1172 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()
[all …]
/linux-2.4.37.9/drivers/net/
Dethertap.c147 struct dev_mc_list *dmi; in set_multicast_list() local
151 for (dmi=dev->mc_list; dmi; dmi=dmi->next) { in set_multicast_list()
152 if (dmi->dmi_addrlen != 6) in set_multicast_list()
154 groups |= ethertap_mc_hash(dmi->dmi_addr); in set_multicast_list()
Dam79c961a.c312 static void am79c961_mc_hash(struct dev_mc_list *dmi, unsigned short *hash) in am79c961_mc_hash() argument
314 if (dmi->dmi_addrlen == ETH_ALEN && dmi->dmi_addr[0] & 0x01) { in am79c961_mc_hash()
318 crc = ether_crc_le(ETH_ALEN, dmi->dmi_addr); in am79c961_mc_hash()
344 struct dev_mc_list *dmi; in am79c961_setmulticastlist() local
348 for (dmi = dev->mc_list; dmi; dmi = dmi->next) in am79c961_setmulticastlist()
349 am79c961_mc_hash(dmi, multi_hash); in am79c961_setmulticastlist()
D8390.c911 struct dev_mc_list *dmi; in make_mc_bits() local
913 for (dmi=dev->mc_list; dmi; dmi=dmi->next) in make_mc_bits()
916 if (dmi->dmi_addrlen != ETH_ALEN) in make_mc_bits()
921 crc = ether_crc(ETH_ALEN, dmi->dmi_addr); in make_mc_bits()
Dsonic.c401 struct dev_mc_list *dmi = dev->mc_list; in sonic_multicast_list() local
420 addr = dmi->dmi_addr; in sonic_multicast_list()
421 dmi = dmi->next; in sonic_multicast_list()
D7990.c572 struct dev_mc_list *dmi=dev->mc_list; in lance_load_multicast() local
589 addrs = dmi->dmi_addr; in lance_load_multicast()
590 dmi = dmi->next; in lance_load_multicast()
Dbmac.c1014 struct dev_mc_list *dmi; in bmac_set_multicast() local
1043 for (dmi=dev->mc_list; dmi!=NULL; dmi=dmi->next) in bmac_set_multicast()
1044 bmac_addhash(bp, dmi->dmi_addr); in bmac_set_multicast()
1058 struct dev_mc_list *dmi = dev->mc_list; in bmac_set_multicast() local
1083 addrs = dmi->dmi_addr; in bmac_set_multicast()
1084 dmi = dmi->next; in bmac_set_multicast()
Dmacmace.c461 struct dev_mc_list *dmi = dev->mc_list; in mace_set_multicast() local
472 crc = ether_crc_le(6, dmi->dmi_addr); in mace_set_multicast()
475 dmi = dmi->next; in mace_set_multicast()
Dlp486e.c1297 struct dev_mc_list *dmi; in set_multicast_list() local
1310 for (dmi = dev->mc_list; dmi != NULL; dmi = dmi->next) { in set_multicast_list()
1311 memcpy(cp, dmi,6); in set_multicast_list()
Darlan.c1665 struct dev_mc_list *dmi = dev->mc_list; in arlan_rx_interrupt() local
1676 while (dmi) in arlan_rx_interrupt()
1677 { if (dmi->dmi_addrlen == 6) in arlan_rx_interrupt()
1681 dmi->dmi_addr[0], dmi->dmi_addr[1], dmi->dmi_addr[2], in arlan_rx_interrupt()
1682 dmi->dmi_addr[3], dmi->dmi_addr[4], dmi->dmi_addr[5]); in arlan_rx_interrupt()
1684 if (dmi->dmi_addr[i] != hw_dst_addr[i]) in arlan_rx_interrupt()
1691 dmi = dmi->next; in arlan_rx_interrupt()
Dwavelan.c3393 struct dev_mc_list *dmi; in wv_82586_config() local
3505 for (dmi = dev->mc_list; dmi; dmi = dmi->next) in wv_82586_config()
3506 outsw(PIOP1(ioaddr), (u16 *) dmi->dmi_addr, in wv_82586_config()
3513 for (dmi = dev->mc_list; dmi; dmi = dmi->next) in wv_82586_config()
3516 dmi->dmi_addr[0], dmi->dmi_addr[1], in wv_82586_config()
3517 dmi->dmi_addr[2], dmi->dmi_addr[3], in wv_82586_config()
3518 dmi->dmi_addr[4], dmi->dmi_addr[5]); in wv_82586_config()
Da2065.c650 struct dev_mc_list *dmi=dev->mc_list; in lance_load_multicast() local
667 addrs = dmi->dmi_addr; in lance_load_multicast()
668 dmi = dmi->next; in lance_load_multicast()
D82596.c1517 struct dev_mc_list *dmi; in set_multicast_list() local
1527 for (dmi = dev->mc_list; cnt && dmi != NULL; dmi = dmi->next, cnt--, cp += 6) { in set_multicast_list()
1528 memcpy(cp, dmi->dmi_addr, 6); in set_multicast_list()
/linux-2.4.37.9/net/bluetooth/bnep/
Dnetdev.c106 struct dev_mc_list *dmi = dev->mc_list; in bnep_net_set_mc_list() local
117 memcpy(__skb_put(skb, ETH_ALEN), dmi->dmi_addr, ETH_ALEN); in bnep_net_set_mc_list()
118 memcpy(__skb_put(skb, ETH_ALEN), dmi->dmi_addr, ETH_ALEN); in bnep_net_set_mc_list()
119 dmi = dmi->next; in bnep_net_set_mc_list()
/linux-2.4.37.9/arch/ppc/cpm2_io/
Denet.c535 struct dev_mc_list *dmi; in set_multicast_list() local
571 dmi = dev->mc_list; in set_multicast_list()
573 for (i=0; i<dev->mc_count; i++, dmi = dmi->next) { in set_multicast_list()
577 if (!(dmi->dmi_addr[0] & 1)) in set_multicast_list()
584 mcptr = (u_char *)dmi->dmi_addr + 5; in set_multicast_list()
/linux-2.4.37.9/arch/ppc/8xx_io/
Denet.c564 struct dev_mc_list *dmi; in set_multicast_list() local
600 dmi = dev->mc_list; in set_multicast_list()
602 for (i=0; i<dev->mc_count; i++, dmi = dmi->next) { in set_multicast_list()
606 if (!(dmi->dmi_addr[0] & 1)) in set_multicast_list()
613 mcptr = (u_char *)dmi->dmi_addr + 5; in set_multicast_list()
/linux-2.4.37.9/drivers/net/skfp/
Dskfddi.c1158 struct dev_mc_list *dmi; /* ptr to multicast addr entry */ in skfp_ctl_set_multicast_list_wo_lock() local
1183 dmi = dev->mc_list; in skfp_ctl_set_multicast_list_wo_lock()
1187 dmi->dmi_addr, 1); in skfp_ctl_set_multicast_list_wo_lock()
1190 dmi->dmi_addr[0], in skfp_ctl_set_multicast_list_wo_lock()
1191 dmi->dmi_addr[1], in skfp_ctl_set_multicast_list_wo_lock()
1192 dmi->dmi_addr[2]); in skfp_ctl_set_multicast_list_wo_lock()
1194 dmi->dmi_addr[3], in skfp_ctl_set_multicast_list_wo_lock()
1195 dmi->dmi_addr[4], in skfp_ctl_set_multicast_list_wo_lock()
1196 dmi->dmi_addr[5]); in skfp_ctl_set_multicast_list_wo_lock()
1197 dmi = dmi->next; in skfp_ctl_set_multicast_list_wo_lock()
/linux-2.4.37.9/drivers/net/pcmcia/
Dwavelan_cs.c3520 struct dev_mc_list * dmi; local
3526 for(dmi=dev->mc_list; dmi; dmi=dmi->next)
3528 dmi->dmi_addr[0], dmi->dmi_addr[1], dmi->dmi_addr[2],
3529 dmi->dmi_addr[3], dmi->dmi_addr[4], dmi->dmi_addr[5] );
3537 for(dmi=dev->mc_list; dmi; dmi=dmi->next)
3538 outsb(PIOP(base), dmi->dmi_addr, dmi->dmi_addrlen);
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_ioctl.c694 struct fsdmidata dmi; in xfs_ioctl() local
696 if (copy_from_user(&dmi, (struct fsdmidata *)arg, sizeof(dmi))) in xfs_ioctl()
699 error = xfs_set_dmattrs(bdp, dmi.fsd_dmevmask, dmi.fsd_dmstate, in xfs_ioctl()
/linux-2.4.37.9/drivers/net/tokenring/
D3c359.c1356 struct dev_mc_list *dmi ; in xl_set_rx_mode() local
1374 for (i=0,dmi=dev->mc_list;i < dev->mc_count; i++,dmi = dmi->next) { in xl_set_rx_mode()
1375 dev_mc_address[0] |= dmi->dmi_addr[2] ; in xl_set_rx_mode()
1376 dev_mc_address[1] |= dmi->dmi_addr[3] ; in xl_set_rx_mode()
1377 dev_mc_address[2] |= dmi->dmi_addr[4] ; in xl_set_rx_mode()
1378 dev_mc_address[3] |= dmi->dmi_addr[5] ; in xl_set_rx_mode()
Dlanstreamer.c1271 struct dev_mc_list *dmi; in streamer_set_rx_mode() local
1308 for (i=0,dmi=dev->mc_list;i < dev->mc_count; i++,dmi = dmi->next) in streamer_set_rx_mode()
1310 dev_mc_address[0] |= dmi->dmi_addr[2] ; in streamer_set_rx_mode()
1311 dev_mc_address[1] |= dmi->dmi_addr[3] ; in streamer_set_rx_mode()
1312 dev_mc_address[2] |= dmi->dmi_addr[4] ; in streamer_set_rx_mode()
1313 dev_mc_address[3] |= dmi->dmi_addr[5] ; in streamer_set_rx_mode()
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_enet.c762 struct dev_mc_list *dmi; in __emac_set_multicast_list() local
765 for (dmi = dev->mc_list; dmi; dmi = dmi->next) { in __emac_set_multicast_list()
769 mc_crc = ether_crc(6, (char *) dmi->dmi_addr); in __emac_set_multicast_list()

123