/drivers/rapidio/ |
D | rio-scan.c | 56 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc() 82 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve() 101 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free() 115 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first() 135 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next() 191 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks() 322 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device() 526 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer() 730 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer() 812 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net() [all …]
|
/drivers/net/ |
D | thunderbolt.c | 238 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() 255 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() 275 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() 289 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request() 306 static void start_login(struct tbnet *net) in start_login() 317 static void stop_login(struct tbnet *net) in stop_login() 364 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down() 409 struct tbnet *net = data; in tbnet_handle_packet() local 481 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers() 527 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer() [all …]
|
D | vrf.c | 177 static struct vrf_map *netns_vrf_map(struct net *net) in netns_vrf_map() 358 static int vrf_ifindex_lookup_by_table_id(struct net *net, u32 table_id) in vrf_ifindex_lookup_by_table_id() 442 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out() 462 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local 522 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out() 543 struct net *net = dev_net(vrf_dev); in vrf_process_v4_outbound() local 653 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6() 687 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6() 727 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish() 735 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct() [all …]
|
D | bareudp.c | 50 struct net *net; /* netns for packet i/o */ member 217 static struct socket *bareudp_create_sock(struct net *net, __be16 port) in bareudp_create_sock() 612 static int bareudp_configure(struct net *net, struct net_device *dev, in bareudp_configure() 669 static int bareudp_newlink(struct net *net, struct net_device *dev, in bareudp_newlink() 737 static __net_init int bareudp_init_net(struct net *net) in bareudp_init_net() 745 static void bareudp_destroy_tunnels(struct net *net, struct list_head *head) in bareudp_destroy_tunnels() 756 struct net *net; in bareudp_exit_batch_net() local
|
D | geneve.c | 68 struct net *net; /* netns for packet i/o */ member 458 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock() 579 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create() 666 struct net *net = geneve->net; in geneve_sock_add() local 1220 struct net *net = dev_net(dev); in geneve_offload_rx_ports() local 1373 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure() 1666 static int geneve_newlink(struct net *net, struct net_device *dev, in geneve_newlink() 1876 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb() 1939 static __net_init int geneve_init_net(struct net *net) in geneve_init_net() 1948 static void geneve_destroy_tunnels(struct net *net, struct list_head *head) in geneve_destroy_tunnels() [all …]
|
/drivers/usb/gadget/function/ |
D | u_ether.c | 60 struct net_device *net; member 144 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo() 476 struct net_device *net) in eth_start_xmit() 626 static int eth_open(struct net_device *net) in eth_open() 644 static int eth_stop(struct net_device *net) in eth_stop() 756 struct net_device *net; in gether_setup_name() local 828 struct net_device *net; in gether_setup_name_default() local 871 int gether_register_netdev(struct net_device *net) in gether_register_netdev() 903 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget() 913 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr() [all …]
|
/drivers/net/usb/ |
D | sr9800.c | 295 static void sr_set_multicast(struct net_device *net) in sr_set_multicast() 335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read() 354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write() 399 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol() 418 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol() 438 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len() 446 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom() 472 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo() 481 static u32 sr_get_link(struct net_device *net) in sr_get_link() 488 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl() [all …]
|
D | usbnet.c | 391 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu() 812 int usbnet_stop (struct net_device *net) in usbnet_stop() 872 int usbnet_open (struct net_device *net) in usbnet_open() 964 int usbnet_get_link_ksettings_mii(struct net_device *net, in usbnet_get_link_ksettings_mii() 978 int usbnet_get_link_ksettings_internal(struct net_device *net, in usbnet_get_link_ksettings_internal() 999 int usbnet_set_link_ksettings_mii(struct net_device *net, in usbnet_set_link_ksettings_mii() 1021 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link() 1038 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset() 1049 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo() 1060 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel() [all …]
|
D | ipheth.c | 90 struct net_device *net; member 285 struct net_device *net = dev->net; in ipheth_get_macaddr() local 332 static int ipheth_open(struct net_device *net) in ipheth_open() 352 static int ipheth_close(struct net_device *net) in ipheth_close() 361 static netdev_tx_t ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx() 403 static void ipheth_tx_timeout(struct net_device *net, unsigned int txqueue) in ipheth_tx_timeout() 412 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
|
D | pegasus.c | 458 struct net_device *net; in read_bulk_callback() local 604 struct net_device *net; in write_bulk_callback() local 640 struct net_device *net; in intr_callback() local 693 static void pegasus_tx_timeout(struct net_device *net, unsigned int txqueue) in pegasus_tx_timeout() 702 struct net_device *net) in pegasus_start_xmit() 775 static void set_carrier(struct net_device *net) in set_carrier() 826 static int pegasus_open(struct net_device *net) in pegasus_open() 879 static int pegasus_close(struct net_device *net) in pegasus_close() 1004 static int pegasus_siocdevprivate(struct net_device *net, struct ifreq *rq, in pegasus_siocdevprivate() 1030 static void pegasus_set_multicast(struct net_device *net) in pegasus_set_multicast() [all …]
|
D | aqc111.c | 196 static void aqc111_get_drvinfo(struct net_device *net, in aqc111_get_drvinfo() 213 static void aqc111_get_wol(struct net_device *net, in aqc111_get_wol() 226 static int aqc111_set_wol(struct net_device *net, in aqc111_set_wol() 265 static int aqc111_get_link_ksettings(struct net_device *net, in aqc111_get_link_ksettings() 367 static int aqc111_set_link_ksettings(struct net_device *net, in aqc111_set_link_ksettings() 421 static int aqc111_change_mtu(struct net_device *net, int new_mtu) in aqc111_change_mtu() 463 static int aqc111_set_mac_addr(struct net_device *net, void *p) in aqc111_set_mac_addr() 477 static int aqc111_vlan_rx_kill_vid(struct net_device *net, in aqc111_vlan_rx_kill_vid() 503 static int aqc111_vlan_rx_add_vid(struct net_device *net, __be16 proto, u16 vid) in aqc111_vlan_rx_add_vid() 528 static void aqc111_set_rx_mode(struct net_device *net) in aqc111_set_rx_mode() [all …]
|
D | asix_common.c | 458 void asix_set_multicast(struct net_device *net) in asix_set_multicast() 591 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() 610 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() 630 int asix_get_eeprom_len(struct net_device *net) in asix_get_eeprom_len() 635 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_get_eeprom() 670 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_set_eeprom() 751 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) in asix_get_drvinfo() 759 int asix_set_mac_address(struct net_device *net, void *p) in asix_set_mac_address()
|
D | mcs7830.c | 328 static int mcs7830_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in mcs7830_ioctl() 355 static void mcs7830_data_set_multicast(struct net_device *net) in mcs7830_data_set_multicast() 418 static void mcs7830_set_multicast(struct net_device *net) in mcs7830_set_multicast() 428 static int mcs7830_get_regs_len(struct net_device *net) in mcs7830_get_regs_len() 441 static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) in mcs7830_get_drvinfo() 446 static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data) in mcs7830_get_regs() 483 struct net_device *net = dev->net; in mcs7830_bind() local
|
D | dm9601.c | 201 static int dm9601_get_eeprom(struct net_device *net, in dm9601_get_eeprom() 262 static void dm9601_get_drvinfo(struct net_device *net, in dm9601_get_drvinfo() 269 static u32 dm9601_get_link(struct net_device *net) in dm9601_get_link() 276 static int dm9601_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in dm9601_ioctl() 295 static void dm9601_set_multicast(struct net_device *net) in dm9601_set_multicast() 329 static int dm9601_set_mac_address(struct net_device *net, void *p) in dm9601_set_mac_address()
|
D | ax88179_178a.c | 513 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() 523 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() 536 static int ax88179_get_eeprom_len(struct net_device *net) in ax88179_get_eeprom_len() 542 ax88179_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_get_eeprom() 578 ax88179_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_set_eeprom() 652 static int ax88179_get_link_ksettings(struct net_device *net, in ax88179_get_link_ksettings() 662 static int ax88179_set_link_ksettings(struct net_device *net, in ax88179_set_link_ksettings() 810 static int ax88179_get_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_get_eee() 821 static int ax88179_set_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_set_eee() 849 static int ax88179_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88179_ioctl() [all …]
|
D | kaweth.c | 212 struct net_device *net; member 498 struct net_device *net = kaweth->net; in kaweth_usb_receive() local 584 static int kaweth_open(struct net_device *net) in kaweth_open() 647 static int kaweth_close(struct net_device *net) in kaweth_close() 698 struct net_device *net) in kaweth_start_xmit() 758 static void kaweth_set_rx_mode(struct net_device *net) in kaweth_set_rx_mode() 814 static void kaweth_tx_timeout(struct net_device *net, unsigned int txqueue) in kaweth_tx_timeout()
|
/drivers/net/can/spi/ |
D | hi311x.c | 146 struct net_device *net; member 175 static void hi3110_clean(struct net_device *net) in hi3110_clean() 366 struct net_device *net) in hi3110_hard_start_xmit() 386 static int hi3110_do_set_mode(struct net_device *net, enum can_mode mode) in hi3110_do_set_mode() 407 static int hi3110_get_berr_counter(const struct net_device *net, in hi3110_get_berr_counter() 451 static int hi3110_do_set_bittiming(struct net_device *net) in hi3110_do_set_bittiming() 476 static int hi3110_setup(struct net_device *net) in hi3110_setup() 539 static int hi3110_stop(struct net_device *net) in hi3110_stop() 576 struct net_device *net = priv->net; in hi3110_tx_work_handler() local 599 struct net_device *net = priv->net; in hi3110_restart_work_handler() local [all …]
|
D | mcp251x.c | 230 struct net_device *net; member 272 static void mcp251x_clean(struct net_device *net) in mcp251x_clean() 782 struct net_device *net) in mcp251x_hard_start_xmit() 802 static int mcp251x_do_set_mode(struct net_device *net, enum can_mode mode) in mcp251x_do_set_mode() 857 static int mcp251x_do_set_bittiming(struct net_device *net) in mcp251x_do_set_bittiming() 880 static int mcp251x_setup(struct net_device *net, struct spi_device *spi) in mcp251x_setup() 948 static int mcp251x_stop(struct net_device *net) in mcp251x_stop() 977 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb() 997 struct net_device *net = priv->net; in mcp251x_tx_work_handler() local 1023 struct net_device *net = priv->net; in mcp251x_restart_work_handler() local [all …]
|
/drivers/vhost/ |
D | net.c | 319 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet() 328 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err() 333 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy() 358 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used() 461 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch() 509 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue() 520 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll() 571 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc() 599 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend() 620 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs() [all …]
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 65 static void netvsc_change_rx_flags(struct net_device *net, int change) in netvsc_change_rx_flags() 85 static void netvsc_set_rx_mode(struct net_device *net) in netvsc_set_rx_mode() 113 static int netvsc_open(struct net_device *net) in netvsc_open() 199 static int netvsc_close(struct net_device *net) in netvsc_close() 449 static int netvsc_vf_xmit(struct net_device *net, struct net_device *vf_netdev, in netvsc_vf_xmit() 475 static int netvsc_xmit(struct sk_buff *skb, struct net_device *net, bool xdp_tx) in netvsc_xmit() 696 void netvsc_linkstatus_callback(struct net_device *net, in netvsc_linkstatus_callback() 785 static struct sk_buff *netvsc_alloc_recv_skb(struct net_device *net, in netvsc_alloc_recv_skb() 874 int netvsc_recv_callback(struct net_device *net, in netvsc_recv_callback() 939 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo() [all …]
|
/drivers/infiniband/core/ |
D | netlink.c | 262 int rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid) in rdma_nl_unicast() 272 int rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid) in rdma_nl_unicast_wait() 282 int rdma_nl_multicast(struct net *net, struct sk_buff *skb, in rdma_nl_multicast() 311 struct net *net = read_pnet(&rnet->net); in rdma_nl_net_init() local
|
/drivers/net/ppp/ |
D | pppoe.c | 120 static inline struct pppoe_net *pppoe_pernet(struct net *net) in pppoe_pernet() 237 static inline struct pppox_sock *get_item_by_addr(struct net *net, in get_item_by_addr() 536 static int pppoe_create(struct net *net, struct socket *sock, int kern) in pppoe_create() 566 struct net *net = NULL; in pppoe_release() local 617 struct net *net = NULL; in pppoe_connect() local 1151 static __net_init int pppoe_init_net(struct net *net) in pppoe_init_net() 1168 static __net_exit void pppoe_exit_net(struct net *net) in pppoe_exit_net()
|
/drivers/firewire/ |
D | net.c | 208 static int fwnet_header_create(struct sk_buff *skb, struct net_device *net, in fwnet_header_create() 235 struct net_device *net; in fwnet_header_cache() local 255 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update() 352 static struct fwnet_partial_datagram *fwnet_pd_new(struct net_device *net, in fwnet_pd_new() 478 static int fwnet_finish_incoming_packet(struct net_device *net, in fwnet_finish_incoming_packet() 563 struct net_device *net = dev->netdev; in fwnet_incoming_packet() local 1196 static int fwnet_open(struct net_device *net) in fwnet_open() 1215 static int fwnet_stop(struct net_device *net) in fwnet_stop() 1225 static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net) in fwnet_tx() 1373 static void fwnet_init_dev(struct net_device *net) in fwnet_init_dev() [all …]
|
/drivers/net/ipvlan/ |
D | ipvlan_l3s.c | 132 static int ipvlan_register_nf_hook(struct net *net) in ipvlan_register_nf_hook() 149 static void ipvlan_unregister_nf_hook(struct net *net) in ipvlan_unregister_nf_hook() 176 static void ipvlan_ns_exit(struct net *net) in ipvlan_ns_exit()
|
/drivers/net/netdevsim/ |
D | fib.c | 318 nsim_fib4_rt_offload_failed_flag_set(struct net *net, in nsim_fib4_rt_offload_failed_flag_set() 336 static void nsim_fib4_rt_hw_flags_set(struct net *net, in nsim_fib4_rt_hw_flags_set() 359 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_add() local 386 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_replace() local 466 struct net *net = devlink_net(data->devlink); in nsim_fib4_event() local 648 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_offload_failed_flag_set() local 667 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_hw_flags_set() local 1183 static void nsim_nexthop_hw_flags_set(struct net *net, in nsim_nexthop_hw_flags_set() 1202 struct net *net = devlink_net(data->devlink); in nsim_nexthop_add() local 1230 struct net *net = devlink_net(data->devlink); in nsim_nexthop_replace() local [all …]
|