Home
last modified time | relevance | path

Searched defs:net (Results 1 – 25 of 116) sorted by relevance

12345

/drivers/rapidio/
Drio-scan.c60 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc()
86 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve()
105 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free()
119 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first()
139 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next()
195 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks()
326 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device()
528 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer()
732 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer()
814 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net()
[all …]
/drivers/usb/gadget/function/
Du_ether.c62 struct net_device *net; member
145 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo()
477 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
822 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/
Drtw_android.c84 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi()
101 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed()
112 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr()
119 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry()
130 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr()
138 static int rtw_android_set_block(struct net_device *net, char *command, in rtw_android_set_block()
144 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) in rtw_android_priv_cmd()
/drivers/net/
Dvrf.c153 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out()
171 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local
232 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out()
251 struct net *net = dev_net(vrf_dev); in vrf_process_v4_outbound() local
337 static int vrf_finish_direct(struct net *net, struct sock *sk, in vrf_finish_direct()
362 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
396 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
436 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct()
451 struct net *net = dev_net(vrf_dev); in vrf_ip6_out_direct() local
489 struct net *net = dev_net(dev); in vrf_rt6_release() local
[all …]
Dgeneve.c59 struct net *net; /* netns for packet i/o */ member
386 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock()
508 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create()
594 struct net *net = geneve->net; in geneve_sock_add() local
1034 struct net *net = dev_net(dev); in geneve_offload_rx_ports() local
1185 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure()
1396 static int geneve_newlink(struct net *net, struct net_device *dev, in geneve_newlink()
1588 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb()
1650 static __net_init int geneve_init_net(struct net *net) in geneve_init_net()
1659 static void __net_exit geneve_exit_net(struct net *net) in geneve_exit_net()
/drivers/net/usb/
Dsr9800.c296 static void sr_set_multicast(struct net_device *net) in sr_set_multicast()
336 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read()
355 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write()
400 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol()
419 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol()
439 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len()
447 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom()
473 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo()
482 static u32 sr_get_link(struct net_device *net) in sr_get_link()
489 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl()
[all …]
Dusbnet.c390 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu()
813 int usbnet_stop (struct net_device *net) in usbnet_stop()
875 int usbnet_open (struct net_device *net) in usbnet_open()
964 int usbnet_get_link_ksettings(struct net_device *net, in usbnet_get_link_ksettings()
978 int usbnet_set_link_ksettings(struct net_device *net, in usbnet_set_link_ksettings()
1000 void usbnet_get_stats64(struct net_device *net, struct rtnl_link_stats64 *stats) in usbnet_get_stats64()
1031 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link()
1048 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset()
1059 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo()
1071 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel()
[all …]
Dipheth.c142 struct net_device *net; member
339 struct net_device *net = dev->net; in ipheth_get_macaddr() local
386 static int ipheth_open(struct net_device *net) in ipheth_open()
406 static int ipheth_close(struct net_device *net) in ipheth_close()
415 static int ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx()
457 static void ipheth_tx_timeout(struct net_device *net) in ipheth_tx_timeout()
466 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
Dasix_common.c418 void asix_set_multicast(struct net_device *net) in asix_set_multicast()
586 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol()
605 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol()
625 int asix_get_eeprom_len(struct net_device *net) in asix_get_eeprom_len()
630 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_get_eeprom()
665 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_set_eeprom()
746 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) in asix_get_drvinfo()
754 int asix_set_mac_address(struct net_device *net, void *p) in asix_set_mac_address()
Dpegasus.c463 struct net_device *net; in read_bulk_callback() local
610 struct net_device *net; in write_bulk_callback() local
646 struct net_device *net; in intr_callback() local
699 static void pegasus_tx_timeout(struct net_device *net) in pegasus_tx_timeout()
708 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()
1005 static int pegasus_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in pegasus_ioctl()
1030 static void pegasus_set_multicast(struct net_device *net) in pegasus_set_multicast()
[all …]
Dmcs7830.c332 static int mcs7830_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in mcs7830_ioctl()
359 static void mcs7830_data_set_multicast(struct net_device *net) in mcs7830_data_set_multicast()
422 static void mcs7830_set_multicast(struct net_device *net) in mcs7830_set_multicast()
432 static int mcs7830_get_regs_len(struct net_device *net) in mcs7830_get_regs_len()
445 static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) in mcs7830_get_drvinfo()
450 static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data) in mcs7830_get_regs()
487 struct net_device *net = dev->net; in mcs7830_bind() local
Ddm9601.c200 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()
Dax88179_178a.c543 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol()
564 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol()
584 static int ax88179_get_eeprom_len(struct net_device *net) in ax88179_get_eeprom_len()
590 ax88179_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_get_eeprom()
626 static int ax88179_get_link_ksettings(struct net_device *net, in ax88179_get_link_ksettings()
636 static int ax88179_set_link_ksettings(struct net_device *net, in ax88179_set_link_ksettings()
784 static int ax88179_get_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_get_eee()
795 static int ax88179_set_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_set_eee()
823 static int ax88179_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88179_ioctl()
844 static void ax88179_set_multicast(struct net_device *net) in ax88179_set_multicast()
[all …]
Dkaweth.c228 struct net_device *net; member
588 struct net_device *net = kaweth->net; in kaweth_usb_receive() local
674 static int kaweth_open(struct net_device *net) in kaweth_open()
737 static int kaweth_close(struct net_device *net) in kaweth_close()
788 struct net_device *net) in kaweth_start_xmit()
848 static void kaweth_set_rx_mode(struct net_device *net) in kaweth_set_rx_mode()
909 static void kaweth_tx_timeout(struct net_device *net) in kaweth_tx_timeout()
/drivers/net/can/spi/
Dhi311x.c154 struct net_device *net; member
184 static void hi3110_clean(struct net_device *net) in hi3110_clean()
384 struct net_device *net) in hi3110_hard_start_xmit()
404 static int hi3110_do_set_mode(struct net_device *net, enum can_mode mode) in hi3110_do_set_mode()
425 static int hi3110_get_berr_counter(const struct net_device *net, in hi3110_get_berr_counter()
469 static int hi3110_do_set_bittiming(struct net_device *net) in hi3110_do_set_bittiming()
494 static int hi3110_setup(struct net_device *net) in hi3110_setup()
557 static int hi3110_stop(struct net_device *net) in hi3110_stop()
596 struct net_device *net = priv->net; in hi3110_tx_work_handler() local
619 struct net_device *net = priv->net; in hi3110_restart_work_handler() local
[all …]
Dmcp251x.c246 struct net_device *net; member
285 static void mcp251x_clean(struct net_device *net) in mcp251x_clean()
516 struct net_device *net) in mcp251x_hard_start_xmit()
536 static int mcp251x_do_set_mode(struct net_device *net, enum can_mode mode) in mcp251x_do_set_mode()
592 static int mcp251x_do_set_bittiming(struct net_device *net) in mcp251x_do_set_bittiming()
615 static int mcp251x_setup(struct net_device *net, struct mcp251x_priv *priv, in mcp251x_setup()
691 static void mcp251x_open_clean(struct net_device *net) in mcp251x_open_clean()
702 static int mcp251x_stop(struct net_device *net) in mcp251x_stop()
736 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb()
756 struct net_device *net = priv->net; in mcp251x_tx_work_handler() local
[all …]
/drivers/net/hyperv/
Dnetvsc_drv.c72 static void netvsc_change_rx_flags(struct net_device *net, int change) in netvsc_change_rx_flags()
92 static void netvsc_set_rx_mode(struct net_device *net) in netvsc_set_rx_mode()
120 static int netvsc_open(struct net_device *net) in netvsc_open()
206 static int netvsc_close(struct net_device *net) in netvsc_close()
495 static int netvsc_vf_xmit(struct net_device *net, struct net_device *vf_netdev, in netvsc_vf_xmit()
521 static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) in netvsc_start_xmit()
721 struct net_device *net; in netvsc_linkstatus_callback() local
772 static struct sk_buff *netvsc_alloc_recv_skb(struct net_device *net, in netvsc_alloc_recv_skb()
826 int netvsc_recv_callback(struct net_device *net, in netvsc_recv_callback()
883 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo()
[all …]
/drivers/vhost/
Dnet.c291 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet()
300 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err()
305 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy()
325 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used()
417 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc()
440 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend()
451 static void handle_tx(struct vhost_net *net) in handle_tx()
617 static int vhost_net_rx_peek_head_len(struct vhost_net *net, struct sock *sk) in vhost_net_rx_peek_head_len()
734 static void handle_rx(struct vhost_net *net) in handle_rx()
875 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_tx_kick() local
[all …]
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c48 struct ksock_net *net = ni->ni_data; in ksocknal_ip2iface() local
103 struct ksock_net *net = ni->ni_data; in ksocknal_create_peer() local
150 struct ksock_net *net = peer->ksnp_ni->ni_data; in ksocknal_destroy_peer() local
693 struct ksock_net *net = ni->ni_data; in ksocknal_local_ipvec() local
756 struct ksock_net *net = peer->ksnp_ni->ni_data; in ksocknal_select_ips() local
871 struct ksock_net *net = ni->ni_data; in ksocknal_create_routes() local
1988 struct ksock_net *net = ni->ni_data; in ksocknal_add_interface() local
2092 struct ksock_net *net = ni->ni_data; in ksocknal_del_interface() local
2144 struct ksock_net *net = ni->ni_data; in ksocknal_ctl() local
2593 struct ksock_net *net = ni->ni_data; in ksocknal_shutdown() local
[all …]
/drivers/staging/lustre/lnet/lnet/
Dconfig.c79 lnet_net_unique(__u32 net, struct list_head *nilist) in lnet_net_unique()
124 lnet_ni_alloc(__u32 net, struct cfs_expr_list *el, struct list_head *nilist) in lnet_ni_alloc()
205 __u32 net; in lnet_parse_networks() local
671 __u32 net; in lnet_parse_route() local
876 char *net = NULL; in lnet_match_network_tokens() local
930 __u32 net; in lnet_netspec2net() local
954 __u32 net; in lnet_splitnets() local
Drouter.c222 lnet_find_net_locked(__u32 net) in lnet_find_net_locked()
299 lnet_add_route(__u32 net, __u32 hops, lnet_nid_t gateway, in lnet_add_route()
440 int net; in lnet_check_routes() local
473 lnet_del_route(__u32 net, lnet_nid_t gw_nid) in lnet_del_route()
587 lnet_get_route(int idx, __u32 *net, __u32 *hops, in lnet_get_route()
827 lnet_router_ni_update_locked(struct lnet_peer *gw, __u32 net) in lnet_router_ni_update_locked()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c180 struct kib_net *net = ni->ni_data; in kiblnd_pack_msg() local
320 struct kib_net *net = ni->ni_data; in kiblnd_create_peer() local
361 struct kib_net *net = peer->ibp_ni->ni_data; in kiblnd_destroy_peer() local
636 struct kib_net *net = peer->ibp_ni->ni_data; in kiblnd_create_conn() local
893 struct kib_net *net = peer->ibp_ni->ni_data; in kiblnd_destroy_conn() local
1238 struct kib_net *net = pool->po_owner->ps_net; in kiblnd_map_tx_pool() local
1501 struct kib_net *net, in kiblnd_init_fmr_poolset()
1821 struct kib_net *net, char *name, int size, in kiblnd_init_poolset()
2117 static void kiblnd_net_fini_pools(struct kib_net *net) in kiblnd_net_fini_pools()
2147 static int kiblnd_net_init_pools(struct kib_net *net, struct lnet_ni *ni, in kiblnd_net_init_pools()
[all …]
Do2iblnd_cb.c57 struct kib_net *net = ni->ni_data; in kiblnd_tx_done() local
115 struct kib_net *net = (struct kib_net *)ni->ni_data; in kiblnd_get_idle_tx() local
158 struct kib_net *net = conn->ibc_peer->ibp_ni->ni_data; in kiblnd_post_rx() local
472 struct kib_net *net = ni->ni_data; in kiblnd_rx_complete() local
561 kiblnd_fmr_map_tx(struct kib_net *net, struct kib_tx *tx, struct kib_rdma_desc *rd, __u32 nob) in kiblnd_fmr_map_tx()
608 struct kib_net *net = ni->ni_data; in kiblnd_map_tx() local
642 struct kib_net *net = ni->ni_data; in kiblnd_setup_rd_iov() local
700 struct kib_net *net = ni->ni_data; in kiblnd_setup_rd_kiov() local
1241 struct kib_net *net = peer->ibp_ni->ni_data; in kiblnd_connect_peer() local
2223 struct kib_net *net = NULL; in kiblnd_passive_connect() local
[all …]
/drivers/net/ppp/
Dpppoe.c125 static inline struct pppoe_net *pppoe_pernet(struct net *net) in pppoe_pernet()
244 static inline struct pppox_sock *get_item_by_addr(struct net *net, in get_item_by_addr()
540 static int pppoe_create(struct net *net, struct socket *sock, int kern) in pppoe_create()
570 struct net *net = NULL; in pppoe_release() local
621 struct net *net = NULL; in pppoe_connect() local
1151 static __net_init int pppoe_init_net(struct net *net) in pppoe_init_net()
1167 static __net_exit void pppoe_exit_net(struct net *net) in pppoe_exit_net()
/drivers/firewire/
Dnet.c216 static int fwnet_header_create(struct sk_buff *skb, struct net_device *net, in fwnet_header_create()
243 struct net_device *net; in fwnet_header_cache() local
263 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update()
360 static struct fwnet_partial_datagram *fwnet_pd_new(struct net_device *net, in fwnet_pd_new()
486 static int fwnet_finish_incoming_packet(struct net_device *net, in fwnet_finish_incoming_packet()
573 struct net_device *net = dev->netdev; in fwnet_incoming_packet() local
1206 static int fwnet_open(struct net_device *net) in fwnet_open()
1225 static int fwnet_stop(struct net_device *net) in fwnet_stop()
1235 static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net) in fwnet_tx()
1383 static void fwnet_init_dev(struct net_device *net) in fwnet_init_dev()
[all …]

12345