/drivers/net/bonding/ |
H A D | bond_main.c | 242 * @slave_dev: slave that is supposed to xmit this skbuff 245 struct net_device *slave_dev) 247 skb->dev = slave_dev; 254 bond_netpoll_send_skb(bond_get_slave_by_dev(bond, slave_dev), skb); 373 struct net_device *slave_dev = slave->dev; local 381 res = __ethtool_get_settings(slave_dev, &ecmd); 435 struct net_device *slave_dev, int reporting) 437 const struct net_device_ops *slave_ops = slave_dev->netdev_ops; 442 if (!reporting && !netif_running(slave_dev)) 446 return netif_carrier_ok(slave_dev) 244 bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) argument 434 bond_check_dev_link(struct bonding *bond, struct net_device *slave_dev, int reporting) argument 557 bond_hw_addr_flush(struct net_device *bond_dev, struct net_device *slave_dev) argument 615 bond_set_dev_addr(struct net_device *bond_dev, struct net_device *slave_dev) argument 1050 bond_setup_by_slave(struct net_device *bond_dev, struct net_device *slave_dev) argument 1128 bond_master_upper_dev_link(struct net_device *bond_dev, struct net_device *slave_dev, struct slave *slave) argument 1142 bond_upper_dev_unlink(struct net_device *bond_dev, struct net_device *slave_dev) argument 1180 bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev) argument 1635 __bond_release_one(struct net_device *bond_dev, struct net_device *slave_dev, bool all) argument 1789 bond_release(struct net_device *bond_dev, struct net_device *slave_dev) argument 1797 bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev) argument 2114 bond_arp_send(struct net_device *slave_dev, int arp_op, __be32 dest_ip, __be32 src_ip, struct bond_vlan_tag *tags) argument 2812 bond_slave_netdev_event(unsigned long event, struct net_device *slave_dev) argument 3175 struct net_device *slave_dev = NULL; local [all...] |
H A D | bond_netlink.c | 23 const struct net_device *slave_dev) 36 const struct net_device *slave_dev) 38 struct slave *slave = bond_slave_get_rtnl(slave_dev); 51 slave_dev->addr_len, slave->perm_hwaddr)) 115 struct net_device *slave_dev, 131 slave_dev->name, queue_id); 162 struct net_device *slave_dev; local 166 slave_dev = __dev_get_by_index(dev_net(bond_dev), 168 if (!slave_dev) 170 active_slave = slave_dev 22 bond_get_slave_size(const struct net_device *bond_dev, const struct net_device *slave_dev) argument 34 bond_fill_slave_info(struct sk_buff *skb, const struct net_device *bond_dev, const struct net_device *slave_dev) argument 114 bond_slave_changelink(struct net_device *bond_dev, struct net_device *slave_dev, struct nlattr *tb[], struct nlattr *data[]) argument [all...] |
H A D | bond_options.c | 710 struct net_device *slave_dev; local 715 slave_dev = NULL; 717 slave_dev = __dev_get_by_name(dev_net(bond->dev), ifname); 718 if (!slave_dev) 722 if (slave_dev) { 723 if (!netif_is_bond_slave(slave_dev)) { 725 slave_dev->name); 729 if (bond->dev != netdev_master_upper_dev_get(slave_dev)) { 731 slave_dev->name); 738 if (!slave_dev) { [all...] |
H A D | bond_sysfs.c | 478 struct net_device *slave_dev; local 482 slave_dev = bond_option_active_slave_get_rcu(bond); 483 if (slave_dev) 484 count = sprintf(buf, "%s\n", slave_dev->name);
|
H A D | bonding.h | 257 struct net_device *slave_dev) 259 return netdev_lower_dev_get_private(bond->dev, slave_dev); 518 void bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); 525 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev); 526 int bond_release(struct net_device *bond_dev, struct net_device *slave_dev); 256 bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_dev) argument
|
/drivers/net/can/sja1000/ |
H A D | kvaser_pci.c | 55 struct net_device *slave_dev[MAX_NO_OF_CHANNELS-1]; member in struct:kvaser_pci 192 if (board->slave_dev[i]) { 194 board->slave_dev[i]->name); 195 unregister_sja1000dev(board->slave_dev[i]); 196 free_sja1000dev(board->slave_dev[i]); 248 master_board->slave_dev[channel - 1] = dev;
|
/drivers/net/ |
H A D | eql.c | 342 struct net_device *slave_dev = slave->dev; local 344 skb->dev = slave_dev; 411 struct net_device *slave_dev; local 417 slave_dev = __dev_get_by_name(&init_net, srq.slave_name); 418 if (!slave_dev) 423 if (!eql_is_master(slave_dev) && !eql_is_slave(slave_dev)) { 432 s->dev = slave_dev; 454 struct net_device *slave_dev; local 461 slave_dev 483 struct net_device *slave_dev; local 516 struct net_device *slave_dev; local [all...] |
/drivers/net/wan/ |
H A D | sbni.c | 1302 struct net_device *slave_dev; local 1357 slave_dev = dev_get_by_name(&init_net, slave_name ); 1358 if( !slave_dev || !(slave_dev->flags & IFF_UP) ) { 1364 return enslave( dev, slave_dev ); 1385 enslave( struct net_device *dev, struct net_device *slave_dev ) 1388 struct net_local *snl = netdev_priv(slave_dev); 1401 nl->link = slave_dev; 1407 memset( &slave_dev->stats, 0, sizeof(struct net_device_stats) ); 1408 netif_stop_queue( slave_dev ); [all...] |