Home
last modified time | relevance | path

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

12345

/drivers/rapidio/
Drio-scan.c56 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/
Dthunderbolt.c231 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 …]
Dvrf.c175 static struct vrf_map *netns_vrf_map(struct net *net) in netns_vrf_map()
356 static int vrf_ifindex_lookup_by_table_id(struct net *net, u32 table_id) in vrf_ifindex_lookup_by_table_id()
440 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out()
460 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
654 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
688 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
728 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish()
736 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct()
[all …]
Dbareudp.c43 struct net *net; /* netns for packet i/o */ member
209 static struct socket *bareudp_create_sock(struct net *net, __be16 port) in bareudp_create_sock()
605 static int bareudp_configure(struct net *net, struct net_device *dev, in bareudp_configure()
657 static int bareudp_newlink(struct net *net, struct net_device *dev, in bareudp_newlink()
727 struct net_device *bareudp_dev_create(struct net *net, const char *name, in bareudp_dev_create()
763 static __net_init int bareudp_init_net(struct net *net) in bareudp_init_net()
771 static void bareudp_destroy_tunnels(struct net *net, struct list_head *head) in bareudp_destroy_tunnels()
782 struct net *net; in bareudp_exit_batch_net() local
Dgeneve.c65 struct net *net; /* netns for packet i/o */ member
438 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock()
561 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create()
648 struct net *net = geneve->net; in geneve_sock_add() local
1195 struct net *net = dev_net(dev); in geneve_offload_rx_ports() local
1345 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure()
1622 static int geneve_newlink(struct net *net, struct net_device *dev, in geneve_newlink()
1827 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb()
1896 static __net_init int geneve_init_net(struct net *net) in geneve_init_net()
1905 static void geneve_destroy_tunnels(struct net *net, struct list_head *head) in geneve_destroy_tunnels()
[all …]
/drivers/usb/gadget/function/
Du_ether.c60 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
826 struct net_device *net; in gether_setup_name_default() local
868 int gether_register_netdev(struct net_device *net) in gether_register_netdev()
900 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
910 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.c76 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/
Dhi311x.c146 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 …]
Dmcp251x.c230 struct net_device *net; member
271 static void mcp251x_clean(struct net_device *net) in mcp251x_clean()
784 struct net_device *net) in mcp251x_hard_start_xmit()
804 static int mcp251x_do_set_mode(struct net_device *net, enum can_mode mode) in mcp251x_do_set_mode()
859 static int mcp251x_do_set_bittiming(struct net_device *net) in mcp251x_do_set_bittiming()
882 static int mcp251x_setup(struct net_device *net, struct spi_device *spi) in mcp251x_setup()
950 static int mcp251x_stop(struct net_device *net) in mcp251x_stop()
981 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb()
1001 struct net_device *net = priv->net; in mcp251x_tx_work_handler() local
1027 struct net_device *net = priv->net; in mcp251x_restart_work_handler() local
[all …]
/drivers/net/usb/
Dsr9800.c295 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 …]
Dusbnet.c375 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu()
796 int usbnet_stop (struct net_device *net) in usbnet_stop()
856 int usbnet_open (struct net_device *net) in usbnet_open()
945 int usbnet_get_link_ksettings(struct net_device *net, in usbnet_get_link_ksettings()
959 int usbnet_set_link_ksettings(struct net_device *net, in usbnet_set_link_ksettings()
981 void usbnet_get_stats64(struct net_device *net, struct rtnl_link_stats64 *stats) in usbnet_get_stats64()
990 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link()
1007 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset()
1018 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo()
1029 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel()
[all …]
Dipheth.c90 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()
Dasix_common.c405 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()
Daqc111.c196 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 …]
Dpegasus.c483 struct net_device *net; in read_bulk_callback() local
630 struct net_device *net; in write_bulk_callback() local
666 struct net_device *net; in intr_callback() local
719 static void pegasus_tx_timeout(struct net_device *net, unsigned int txqueue) in pegasus_tx_timeout()
728 struct net_device *net) in pegasus_start_xmit()
801 static void set_carrier(struct net_device *net) in set_carrier()
852 static int pegasus_open(struct net_device *net) in pegasus_open()
905 static int pegasus_close(struct net_device *net) in pegasus_close()
1031 static int pegasus_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in pegasus_ioctl()
1056 static void pegasus_set_multicast(struct net_device *net) in pegasus_set_multicast()
[all …]
Dmcs7830.c327 static int mcs7830_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in mcs7830_ioctl()
354 static void mcs7830_data_set_multicast(struct net_device *net) in mcs7830_data_set_multicast()
417 static void mcs7830_set_multicast(struct net_device *net) in mcs7830_set_multicast()
427 static int mcs7830_get_regs_len(struct net_device *net) in mcs7830_get_regs_len()
440 static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) in mcs7830_get_drvinfo()
445 static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data) in mcs7830_get_regs()
482 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()
261 static void dm9601_get_drvinfo(struct net_device *net, in dm9601_get_drvinfo()
268 static u32 dm9601_get_link(struct net_device *net) in dm9601_get_link()
275 static int dm9601_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in dm9601_ioctl()
294 static void dm9601_set_multicast(struct net_device *net) in dm9601_set_multicast()
328 static int dm9601_set_mac_address(struct net_device *net, void *p) in dm9601_set_mac_address()
Dax88179_178a.c532 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol()
553 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol()
573 static int ax88179_get_eeprom_len(struct net_device *net) in ax88179_get_eeprom_len()
579 ax88179_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_get_eeprom()
616 ax88179_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_set_eeprom()
690 static int ax88179_get_link_ksettings(struct net_device *net, in ax88179_get_link_ksettings()
700 static int ax88179_set_link_ksettings(struct net_device *net, in ax88179_set_link_ksettings()
848 static int ax88179_get_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_get_eee()
859 static int ax88179_set_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_set_eee()
887 static int ax88179_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88179_ioctl()
[all …]
Dkaweth.c212 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/vhost/
Dnet.c319 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()
507 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue()
518 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll()
569 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc()
597 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend()
618 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs()
[all …]
/drivers/net/hyperv/
Dnetvsc_drv.c67 static void netvsc_change_rx_flags(struct net_device *net, int change) in netvsc_change_rx_flags()
87 static void netvsc_set_rx_mode(struct net_device *net) in netvsc_set_rx_mode()
115 static int netvsc_open(struct net_device *net) in netvsc_open()
201 static int netvsc_close(struct net_device *net) in netvsc_close()
501 static int netvsc_vf_xmit(struct net_device *net, struct net_device *vf_netdev, in netvsc_vf_xmit()
527 static int netvsc_xmit(struct sk_buff *skb, struct net_device *net, bool xdp_tx) in netvsc_xmit()
747 void netvsc_linkstatus_callback(struct net_device *net, in netvsc_linkstatus_callback()
817 static struct sk_buff *netvsc_alloc_recv_skb(struct net_device *net, in netvsc_alloc_recv_skb()
899 int netvsc_recv_callback(struct net_device *net, in netvsc_recv_callback()
958 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo()
[all …]
/drivers/infiniband/core/
Dnetlink.c262 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/
Dpppoe.c120 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
1128 static __net_init int pppoe_init_net(struct net *net) in pppoe_init_net()
1145 static __net_exit void pppoe_exit_net(struct net *net) in pppoe_exit_net()
/drivers/net/ipvlan/
Dipvlan_l3s.c132 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/firewire/
Dnet.c217 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 …]

12345