/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() 524 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer() 728 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer() 810 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net() [all …]
|
/drivers/net/ |
D | thunderbolt.c | 231 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() 248 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() 268 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() 282 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request() 299 static void start_login(struct tbnet *net) in start_login() 310 static void stop_login(struct tbnet *net) in stop_login() 357 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down() 394 struct tbnet *net = data; in tbnet_handle_packet() local 466 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers() 512 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer() [all …]
|
D | vrf.c | 151 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out() 169 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local 230 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out() 249 struct net *net = dev_net(vrf_dev); in vrf_process_v4_outbound() local 335 static int vrf_finish_direct(struct net *net, struct sock *sk, in vrf_finish_direct() 360 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6() 394 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6() 434 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct() 449 struct net *net = dev_net(vrf_dev); in vrf_ip6_out_direct() local 487 struct net *net = dev_net(dev); in vrf_rt6_release() local [all …]
|
D | geneve.c | 57 struct net *net; /* netns for packet i/o */ member 440 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock() 563 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create() 650 struct net *net = geneve->net; in geneve_sock_add() local 1107 struct net *net = dev_net(dev); in geneve_offload_rx_ports() local 1257 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure() 1540 static int geneve_newlink(struct net *net, struct net_device *dev, in geneve_newlink() 1757 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb() 1820 static __net_init int geneve_init_net(struct net *net) in geneve_init_net() 1829 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 | 58 struct net_device *net; member 141 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo() 473 struct net_device *net) in eth_start_xmit() 622 static int eth_open(struct net_device *net) in eth_open() 640 static int eth_stop(struct net_device *net) in eth_stop() 752 struct net_device *net; in gether_setup_name() local 818 struct net_device *net; in gether_setup_name_default() local 857 int gether_register_netdev(struct net_device *net) in gether_register_netdev() 895 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget() 905 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr() [all …]
|
/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 76 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() 93 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() 104 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() 111 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() 122 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() 130 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) in rtw_android_priv_cmd()
|
/drivers/net/can/spi/ |
D | hi311x.c | 146 struct net_device *net; member 174 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() 578 struct net_device *net = priv->net; in hi3110_tx_work_handler() local 601 struct net_device *net = priv->net; in hi3110_restart_work_handler() local [all …]
|
D | mcp251x.c | 203 struct net_device *net; member 240 static void mcp251x_clean(struct net_device *net) in mcp251x_clean() 461 struct net_device *net) in mcp251x_hard_start_xmit() 481 static int mcp251x_do_set_mode(struct net_device *net, enum can_mode mode) in mcp251x_do_set_mode() 536 static int mcp251x_do_set_bittiming(struct net_device *net) in mcp251x_do_set_bittiming() 559 static int mcp251x_setup(struct net_device *net, struct spi_device *spi) in mcp251x_setup() 634 static int mcp251x_stop(struct net_device *net) in mcp251x_stop() 668 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb() 688 struct net_device *net = priv->net; in mcp251x_tx_work_handler() local 714 struct net_device *net = priv->net; in mcp251x_restart_work_handler() local [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 | 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 int ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx() 403 static void ipheth_tx_timeout(struct net_device *net) in ipheth_tx_timeout() 412 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
|
D | usbnet.c | 378 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu() 799 int usbnet_stop (struct net_device *net) in usbnet_stop() 861 int usbnet_open (struct net_device *net) in usbnet_open() 950 int usbnet_get_link_ksettings(struct net_device *net, in usbnet_get_link_ksettings() 964 int usbnet_set_link_ksettings(struct net_device *net, in usbnet_set_link_ksettings() 986 void usbnet_get_stats64(struct net_device *net, struct rtnl_link_stats64 *stats) in usbnet_get_stats64() 1017 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link() 1034 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset() 1045 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo() 1057 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel() [all …]
|
D | asix_common.c | 405 void asix_set_multicast(struct net_device *net) in asix_set_multicast() 573 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() 592 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() 612 int asix_get_eeprom_len(struct net_device *net) in asix_get_eeprom_len() 617 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_get_eeprom() 652 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_set_eeprom() 733 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) in asix_get_drvinfo() 741 int asix_set_mac_address(struct net_device *net, void *p) in asix_set_mac_address()
|
D | pegasus.c | 460 struct net_device *net; in read_bulk_callback() local 607 struct net_device *net; in write_bulk_callback() local 643 struct net_device *net; in intr_callback() local 696 static void pegasus_tx_timeout(struct net_device *net) in pegasus_tx_timeout() 705 struct net_device *net) in pegasus_start_xmit() 772 static void set_carrier(struct net_device *net) in set_carrier() 823 static int pegasus_open(struct net_device *net) in pegasus_open() 876 static int pegasus_close(struct net_device *net) in pegasus_close() 1002 static int pegasus_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in pegasus_ioctl() 1028 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 | mcs7830.c | 319 static int mcs7830_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in mcs7830_ioctl() 346 static void mcs7830_data_set_multicast(struct net_device *net) in mcs7830_data_set_multicast() 409 static void mcs7830_set_multicast(struct net_device *net) in mcs7830_set_multicast() 419 static int mcs7830_get_regs_len(struct net_device *net) in mcs7830_get_regs_len() 432 static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) in mcs7830_get_drvinfo() 437 static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data) in mcs7830_get_regs() 474 struct net_device *net = dev->net; in mcs7830_bind() local
|
D | dm9601.c | 200 static int dm9601_get_eeprom(struct net_device *net, in dm9601_get_eeprom() 256 static void dm9601_get_drvinfo(struct net_device *net, in dm9601_get_drvinfo() 263 static u32 dm9601_get_link(struct net_device *net) in dm9601_get_link() 270 static int dm9601_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in dm9601_ioctl() 289 static void dm9601_set_multicast(struct net_device *net) in dm9601_set_multicast() 323 static int dm9601_set_mac_address(struct net_device *net, void *p) in dm9601_set_mac_address()
|
D | ax88179_178a.c | 531 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() 552 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() 572 static int ax88179_get_eeprom_len(struct net_device *net) in ax88179_get_eeprom_len() 578 ax88179_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_get_eeprom() 614 static int ax88179_get_link_ksettings(struct net_device *net, in ax88179_get_link_ksettings() 624 static int ax88179_set_link_ksettings(struct net_device *net, in ax88179_set_link_ksettings() 772 static int ax88179_get_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_get_eee() 783 static int ax88179_set_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_set_eee() 811 static int ax88179_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88179_ioctl() 832 static void ax88179_set_multicast(struct net_device *net) in ax88179_set_multicast() [all …]
|
D | kaweth.c | 216 struct net_device *net; member 576 struct net_device *net = kaweth->net; in kaweth_usb_receive() local 662 static int kaweth_open(struct net_device *net) in kaweth_open() 725 static int kaweth_close(struct net_device *net) in kaweth_close() 776 struct net_device *net) in kaweth_start_xmit() 836 static void kaweth_set_rx_mode(struct net_device *net) in kaweth_set_rx_mode() 897 static void kaweth_tx_timeout(struct net_device *net) in kaweth_tx_timeout()
|
/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() 459 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch() 497 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue() 508 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll() 559 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc() 585 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend() 606 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs() [all …]
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 62 static void netvsc_change_rx_flags(struct net_device *net, int change) in netvsc_change_rx_flags() 82 static void netvsc_set_rx_mode(struct net_device *net) in netvsc_set_rx_mode() 110 static int netvsc_open(struct net_device *net) in netvsc_open() 196 static int netvsc_close(struct net_device *net) in netvsc_close() 496 static int netvsc_vf_xmit(struct net_device *net, struct net_device *vf_netdev, in netvsc_vf_xmit() 522 static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) in netvsc_start_xmit() 715 void netvsc_linkstatus_callback(struct net_device *net, in netvsc_linkstatus_callback() 762 static struct sk_buff *netvsc_alloc_recv_skb(struct net_device *net, in netvsc_alloc_recv_skb() 820 int netvsc_recv_callback(struct net_device *net, in netvsc_recv_callback() 863 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo() [all …]
|
/drivers/net/netdevsim/ |
D | fib.c | 42 u64 nsim_fib_get_val(struct net *net, enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() 67 int nsim_fib_set_max(struct net *net, enum nsim_resource_id res_id, u64 val, in nsim_fib_set_max() 203 struct net *net; in nsim_fib_dump_inconsistent() local 223 static int __net_init nsim_fib_netns_init(struct net *net) in nsim_fib_netns_init()
|
/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() 239 static inline struct pppox_sock *get_item_by_addr(struct net *net, in get_item_by_addr() 535 static int pppoe_create(struct net *net, struct socket *sock, int kern) in pppoe_create() 565 struct net *net = NULL; in pppoe_release() local 616 struct net *net = NULL; in pppoe_connect() local 1129 static __net_init int pppoe_init_net(struct net *net) in pppoe_init_net() 1146 static __net_exit void pppoe_exit_net(struct net *net) in pppoe_exit_net()
|
/drivers/net/ipvlan/ |
D | ipvlan_l3s.c | 127 static int ipvlan_register_nf_hook(struct net *net) in ipvlan_register_nf_hook() 144 static void ipvlan_unregister_nf_hook(struct net *net) in ipvlan_unregister_nf_hook() 171 static void ipvlan_ns_exit(struct net *net) in ipvlan_ns_exit()
|
/drivers/firewire/ |
D | net.c | 217 static int fwnet_header_create(struct sk_buff *skb, struct net_device *net, in fwnet_header_create() 244 struct net_device *net; in fwnet_header_cache() local 264 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update() 361 static struct fwnet_partial_datagram *fwnet_pd_new(struct net_device *net, in fwnet_pd_new() 487 static int fwnet_finish_incoming_packet(struct net_device *net, in fwnet_finish_incoming_packet() 574 struct net_device *net = dev->netdev; in fwnet_incoming_packet() local 1207 static int fwnet_open(struct net_device *net) in fwnet_open() 1226 static int fwnet_stop(struct net_device *net) in fwnet_stop() 1236 static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net) in fwnet_tx() 1384 static void fwnet_init_dev(struct net_device *net) in fwnet_init_dev() [all …]
|