• Home
  • Raw
  • Download

Lines Matching refs:vp

1566 static struct vnet_mcast_entry *__vnet_mc_find(struct vnet *vp, u8 *addr)  in __vnet_mc_find()  argument
1570 for (m = vp->mcast_list; m; m = m->next) { in __vnet_mc_find()
1577 static void __update_mc_list(struct vnet *vp, struct net_device *dev) in __update_mc_list() argument
1584 m = __vnet_mc_find(vp, ha->addr); in __update_mc_list()
1597 m->next = vp->mcast_list; in __update_mc_list()
1598 vp->mcast_list = m; in __update_mc_list()
1603 static void __send_mc_list(struct vnet *vp, struct vnet_port *port) in __send_mc_list() argument
1618 for (m = vp->mcast_list; m; m = m->next) { in __send_mc_list()
1640 pp = &vp->mcast_list; in __send_mc_list()
1666 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp) in sunvnet_set_rx_mode_common() argument
1671 list_for_each_entry_rcu(port, &vp->port_list, list) { in sunvnet_set_rx_mode_common()
1673 __update_mc_list(vp, dev); in sunvnet_set_rx_mode_common()
1674 __send_mc_list(vp, port); in sunvnet_set_rx_mode_common()
1785 void sunvnet_poll_controller_common(struct net_device *dev, struct vnet *vp) in sunvnet_poll_controller_common() argument
1790 spin_lock_irqsave(&vp->lock, flags); in sunvnet_poll_controller_common()
1791 if (!list_empty(&vp->port_list)) { in sunvnet_poll_controller_common()
1792 port = list_entry(vp->port_list.next, struct vnet_port, list); in sunvnet_poll_controller_common()
1795 spin_unlock_irqrestore(&vp->lock, flags); in sunvnet_poll_controller_common()
1802 struct vnet *vp = port->vp; in sunvnet_port_add_txq_common() local
1811 if (vp->q_used[i] == 0) { in sunvnet_port_add_txq_common()
1815 if (vp->q_used[i] < vp->q_used[smallest]) in sunvnet_port_add_txq_common()
1819 vp->nports++; in sunvnet_port_add_txq_common()
1820 vp->q_used[smallest]++; in sunvnet_port_add_txq_common()
1827 port->vp->nports--; in sunvnet_port_rm_txq_common()
1828 port->vp->q_used[port->q_index]--; in sunvnet_port_rm_txq_common()