/kernel/linux/common_modules/newip/src/linux-5.10/drivers/net/bt/ |
H A D | btdev.c | 17 #define ndev_name(vnet) bt_virnet_get_ndev_name(vnet) /* btn1/2/3/4/... */ 18 #define cdev_name(vnet) bt_virnet_get_cdev_name(vnet) /* dev/btdev1/2/3/4/... */ 36 struct bt_virnet *vnet = NULL; in bt_seq_show() local 47 list_for_each_entry(vnet, &g_bt_drv->devices_table->head, virnet_entry) { in bt_seq_show() 49 cdev_name(vnet), ndev_name(vnet), in bt_seq_show() 50 bt_virnet_get_state_rep(vnet), vnet in bt_seq_show() 75 __bt_virnet_open(struct file *filp, struct bt_virnet *vnet) __bt_virnet_open() argument 130 struct bt_virnet *vnet = NULL; bt_io_file_open() local 146 struct bt_virnet *vnet = NULL; bt_io_file_release() local 175 struct bt_virnet *vnet = NULL; bt_io_file_read() local 235 struct bt_virnet *vnet = NULL; bt_io_file_write() local 313 bt_cmd_enable_virnet(struct bt_virnet *vnet, unsigned long arg) bt_cmd_enable_virnet() argument 335 bt_cmd_disable_virnet(struct bt_virnet *vnet, unsigned long arg) bt_cmd_disable_virnet() argument 357 bt_cmd_change_mtu(struct bt_virnet *vnet, unsigned long arg) bt_cmd_change_mtu() argument 377 bt_cmd_peek_packet(struct bt_virnet *vnet, unsigned long arg) bt_cmd_peek_packet() argument 411 struct bt_virnet *vnet = NULL; bt_io_file_ioctl() local 441 struct bt_virnet *vnet = NULL; bt_io_file_poll() local 516 struct bt_virnet *vnet = NULL; bt_cmd_create_virnet() local 572 struct bt_virnet *vnet = NULL; bt_cmd_delete_virnet() local 659 struct bt_virnet *vnet = NULL; bt_virnet_xmit() local 708 struct bt_virnet *vnet = NULL; bt_table_add_device() local 746 struct bt_virnet *vnet = NULL; bt_table_find() local 764 struct bt_virnet *vnet = NULL; __bt_table_delete_all() local 1201 struct bt_virnet *vnet = kmalloc(sizeof(*vnet), GFP_KERNEL); bt_virnet_create() local 1245 bt_virnet_destroy(struct bt_virnet *vnet) bt_virnet_destroy() argument [all...] |
H A D | btdev.h | 272 static void bt_virnet_destroy(struct bt_virnet *vnet);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | sunvnet.c | 69 struct vnet *vp = netdev_priv(dev); in vnet_get_msglevel() 76 struct vnet *vp = netdev_priv(dev); in vnet_set_msglevel() 102 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_sset_count() 115 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_strings() 160 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_ethtool_stats() 205 static struct vnet_port *__tx_port_find(struct vnet *vp, struct sk_buff *skb) in __tx_port_find() 231 struct vnet *v in vnet_tx_port_find() [all...] |
H A D | sunvnet_common.h | 37 struct vnet; 52 /* Structure to describe a vnet-port or vsw-port in the MD. 70 struct vnet *vp; 115 struct vnet { struct 136 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp); 144 void sunvnet_poll_controller_common(struct net_device *dev, struct vnet *vp); 153 bool sunvnet_port_is_up_common(struct vnet_port *vnet);
|
H A D | ldmvsw.c | 167 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet() 171 struct vnet *vp; in vsw_get_vnet() 172 struct vnet *iter; in vsw_get_vnet() 195 /* find or create associated vnet */ in vsw_get_vnet() 284 struct vnet *vp; in vsw_port_probe() 312 /* Get (or create) the vnet associated with this port */ in vsw_port_probe() 316 pr_err("Failed to get vnet for vsw-port\n"); in vsw_port_probe() 345 * rather than the net_device in the vnet (which is used in vsw_port_probe() 442 struct vnet *vp; in vsw_cleanup() 444 /* just need to free up the vnet lis in vsw_cleanup() [all...] |
H A D | sunvnet_common.c | 771 bool sunvnet_port_is_up_common(struct vnet_port *vnet) in sunvnet_port_is_up_common() argument 773 struct vio_driver_state *vio = &vnet->vio; in sunvnet_port_is_up_common() 1548 static struct vnet_mcast_entry *__vnet_mc_find(struct vnet *vp, u8 *addr) in __vnet_mc_find() 1559 static void __update_mc_list(struct vnet *vp, struct net_device *dev) in __update_mc_list() 1585 static void __send_mc_list(struct vnet *vp, struct vnet_port *port) in __send_mc_list() 1648 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp) in sunvnet_set_rx_mode_common() 1767 void sunvnet_poll_controller_common(struct net_device *dev, struct vnet *vp) in sunvnet_poll_controller_common() 1784 struct vnet *vp = port->vp; in sunvnet_port_add_txq_common()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | sunvnet.c | 69 struct vnet *vp = netdev_priv(dev); in vnet_get_msglevel() 76 struct vnet *vp = netdev_priv(dev); in vnet_set_msglevel() 102 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_sset_count() 115 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_strings() 160 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_ethtool_stats() 205 static struct vnet_port *__tx_port_find(struct vnet *vp, struct sk_buff *skb) in __tx_port_find() 231 struct vnet *v in vnet_tx_port_find() [all...] |
H A D | sunvnet_common.h | 37 struct vnet; 52 /* Structure to describe a vnet-port or vsw-port in the MD. 70 struct vnet *vp; 115 struct vnet { struct 136 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp); 144 void sunvnet_poll_controller_common(struct net_device *dev, struct vnet *vp); 153 bool sunvnet_port_is_up_common(struct vnet_port *vnet);
|
H A D | ldmvsw.c | 166 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet() 170 struct vnet *vp; in vsw_get_vnet() 171 struct vnet *iter; in vsw_get_vnet() 194 /* find or create associated vnet */ in vsw_get_vnet() 280 struct vnet *vp; in vsw_port_probe() 308 /* Get (or create) the vnet associated with this port */ in vsw_port_probe() 312 pr_err("Failed to get vnet for vsw-port\n"); in vsw_port_probe() 341 * rather than the net_device in the vnet (which is used in vsw_port_probe() 435 struct vnet *vp; in vsw_cleanup() 437 /* just need to free up the vnet lis in vsw_cleanup() [all...] |
H A D | sunvnet_common.c | 772 bool sunvnet_port_is_up_common(struct vnet_port *vnet) in sunvnet_port_is_up_common() argument 774 struct vio_driver_state *vio = &vnet->vio; in sunvnet_port_is_up_common() 1549 static struct vnet_mcast_entry *__vnet_mc_find(struct vnet *vp, u8 *addr) in __vnet_mc_find() 1560 static void __update_mc_list(struct vnet *vp, struct net_device *dev) in __update_mc_list() 1586 static void __send_mc_list(struct vnet *vp, struct vnet_port *port) in __send_mc_list() 1649 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp) in sunvnet_set_rx_mode_common() 1768 void sunvnet_poll_controller_common(struct net_device *dev, struct vnet *vp) in sunvnet_poll_controller_common() 1785 struct vnet *vp = port->vp; in sunvnet_port_add_txq_common()
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
H A D | ipvlan_l3s.c | 134 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_register_nf_hook() local 137 if (!vnet->ipvl_nf_hook_refcnt) { in ipvlan_register_nf_hook() 141 vnet->ipvl_nf_hook_refcnt = 1; in ipvlan_register_nf_hook() 143 vnet->ipvl_nf_hook_refcnt++; in ipvlan_register_nf_hook() 151 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_unregister_nf_hook() local 153 if (WARN_ON(!vnet->ipvl_nf_hook_refcnt)) in ipvlan_unregister_nf_hook() 156 vnet->ipvl_nf_hook_refcnt--; in ipvlan_unregister_nf_hook() 157 if (!vnet->ipvl_nf_hook_refcnt) in ipvlan_unregister_nf_hook() 178 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_ns_exit() local 180 if (WARN_ON_ONCE(vnet in ipvlan_ns_exit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ipvlan/ |
H A D | ipvlan_l3s.c | 134 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_register_nf_hook() local 137 if (!vnet->ipvl_nf_hook_refcnt) { in ipvlan_register_nf_hook() 141 vnet->ipvl_nf_hook_refcnt = 1; in ipvlan_register_nf_hook() 143 vnet->ipvl_nf_hook_refcnt++; in ipvlan_register_nf_hook() 151 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_unregister_nf_hook() local 153 if (WARN_ON(!vnet->ipvl_nf_hook_refcnt)) in ipvlan_unregister_nf_hook() 156 vnet->ipvl_nf_hook_refcnt--; in ipvlan_unregister_nf_hook() 157 if (!vnet->ipvl_nf_hook_refcnt) in ipvlan_unregister_nf_hook() 178 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_ns_exit() local 180 if (WARN_ON_ONCE(vnet in ipvlan_ns_exit() [all...] |