Lines Matching defs:dev

220 static void list_netdevice(struct net_device *dev)  in list_netdevice()
239 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
330 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
344 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
576 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
670 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
693 struct net_device *dev; in __dev_get_by_name() local
718 struct net_device *dev; in dev_get_by_name_rcu() local
743 struct net_device *dev; in dev_get_by_name() local
768 struct net_device *dev; in __dev_get_by_index() local
792 struct net_device *dev; in dev_get_by_index_rcu() local
817 struct net_device *dev; in dev_get_by_index() local
840 struct net_device *dev; in netdev_get_name() local
879 struct net_device *dev; in dev_getbyhwaddr_rcu() local
892 struct net_device *dev; in __dev_getfirstbyhwtype() local
905 struct net_device *dev, *ret = NULL; in dev_getfirstbyhwtype() local
933 struct net_device *dev, *ret; in __dev_get_by_flags() local
1054 int dev_alloc_name(struct net_device *dev, const char *name) in dev_alloc_name()
1070 struct net_device *dev, in dev_alloc_name_ns()
1083 struct net_device *dev, in dev_get_valid_name()
1109 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name()
1198 int dev_set_alias(struct net_device *dev, const char *alias, size_t len) in dev_set_alias()
1229 void netdev_features_change(struct net_device *dev) in netdev_features_change()
1243 void netdev_state_change(struct net_device *dev) in netdev_state_change()
1266 void netdev_notify_peers(struct net_device *dev) in netdev_notify_peers()
1274 static int __dev_open(struct net_device *dev) in __dev_open()
1329 int dev_open(struct net_device *dev) in dev_open()
1349 struct net_device *dev; in __dev_close_many() local
1393 static int __dev_close(struct net_device *dev) in __dev_close()
1407 struct net_device *dev, *tmp; in dev_close_many() local
1436 int dev_close(struct net_device *dev) in dev_close()
1458 void dev_disable_lro(struct net_device *dev) in dev_disable_lro()
1475 struct net_device *dev) in call_netdevice_notifier()
1501 struct net_device *dev; in register_netdevice_notifier() local
1568 struct net_device *dev; in unregister_netdevice_notifier() local
1604 struct net_device *dev, in call_netdevice_notifiers_info()
1621 int call_netdevice_notifiers(unsigned long val, struct net_device *dev) in call_netdevice_notifiers()
1694 bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb) in is_skb_forwardable()
1715 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in __dev_forward_skb()
1751 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in dev_forward_skb()
1803 static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) in dev_queue_xmit_nit()
1874 static void netif_setup_tc(struct net_device *dev, unsigned int txq) in netif_setup_tc()
1929 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index) in netif_reset_xps_queues_gt()
1998 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, in netif_set_xps_queue()
2128 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq) in netif_set_real_num_tx_queues()
2171 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues()
2254 void netif_wake_subqueue(struct net_device *dev, u16 queue_index) in netif_wake_subqueue()
2317 void netif_device_detach(struct net_device *dev) in netif_device_detach()
2332 void netif_device_attach(struct net_device *dev) in netif_device_attach()
2345 struct net_device *dev = skb->dev; in skb_warn_bad_offload() local
2513 void netdev_rx_csum_fault(struct net_device *dev) in netdev_rx_csum_fault()
2528 static int illegal_highdma(struct net_device *dev, struct sk_buff *skb) in illegal_highdma()
2598 struct net_device *dev, in passthru_features_check()
2606 struct net_device *dev, in dflt_features_check()
2614 struct net_device *dev = skb->dev; in netif_skb_features() local
2644 static int xmit_one(struct sk_buff *skb, struct net_device *dev, in xmit_one()
2661 struct sk_buff *dev_hard_start_xmit(struct sk_buff *first, struct net_device *dev, in dev_hard_start_xmit()
2698 static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device *dev) in validate_xmit_skb()
2750 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev) in validate_xmit_skb_list()
2808 struct net_device *dev, in __dev_xmit_skb()
2933 struct net_device *dev = skb->dev; in __dev_queue_xmit() local
3073 set_rps_cpu(struct net_device *dev, struct sk_buff *skb, in set_rps_cpu()
3122 static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb, in get_rps_cpu()
3230 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, in rps_may_expire_flow()
3531 struct net_device *dev = skb->dev; in ing_filter() local
3595 int netdev_rx_handler_register(struct net_device *dev, in netdev_rx_handler_register()
3620 void netdev_rx_handler_unregister(struct net_device *dev) in netdev_rx_handler_unregister()
3881 struct net_device *dev = arg; in flush_backlog() local
4568 void netif_napi_add(struct net_device *dev, struct napi_struct *napi, in netif_napi_add()
4726 struct net_device *dev; member
4741 static struct netdev_adjacent *__netdev_find_adj(struct net_device *dev, in __netdev_find_adj()
4763 bool netdev_has_upper_dev(struct net_device *dev, in netdev_has_upper_dev()
4779 static bool netdev_has_any_upper_dev(struct net_device *dev) in netdev_has_any_upper_dev()
4793 struct net_device *netdev_master_upper_dev_get(struct net_device *dev) in netdev_master_upper_dev_get()
4828 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, in netdev_upper_get_next_dev_rcu()
4854 struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev, in netdev_all_upper_get_next_dev_rcu()
4883 void *netdev_lower_get_next_private(struct net_device *dev, in netdev_lower_get_next_private()
4909 void *netdev_lower_get_next_private_rcu(struct net_device *dev, in netdev_lower_get_next_private_rcu()
4938 void *netdev_lower_get_next(struct net_device *dev, struct list_head **iter) in netdev_lower_get_next()
4962 void *netdev_lower_get_first_private_rcu(struct net_device *dev) in netdev_lower_get_first_private_rcu()
4981 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev) in netdev_master_upper_dev_get_rcu()
4993 static int netdev_adjacent_sysfs_add(struct net_device *dev, in netdev_adjacent_sysfs_add()
5003 static void netdev_adjacent_sysfs_del(struct net_device *dev, in netdev_adjacent_sysfs_del()
5013 static inline bool netdev_adjacent_is_neigh_list(struct net_device *dev, in netdev_adjacent_is_neigh_list()
5022 static int __netdev_adjacent_dev_insert(struct net_device *dev, in __netdev_adjacent_dev_insert()
5080 static void __netdev_adjacent_dev_remove(struct net_device *dev, in __netdev_adjacent_dev_remove()
5114 static int __netdev_adjacent_dev_link_lists(struct net_device *dev, in __netdev_adjacent_dev_link_lists()
5137 static int __netdev_adjacent_dev_link(struct net_device *dev, in __netdev_adjacent_dev_link()
5146 static void __netdev_adjacent_dev_unlink_lists(struct net_device *dev, in __netdev_adjacent_dev_unlink_lists()
5155 static void __netdev_adjacent_dev_unlink(struct net_device *dev, in __netdev_adjacent_dev_unlink()
5163 static int __netdev_adjacent_dev_link_neighbour(struct net_device *dev, in __netdev_adjacent_dev_link_neighbour()
5184 static void __netdev_adjacent_dev_unlink_neighbour(struct net_device *dev, in __netdev_adjacent_dev_unlink_neighbour()
5193 static int __netdev_upper_dev_link(struct net_device *dev, in __netdev_upper_dev_link()
5304 int netdev_upper_dev_link(struct net_device *dev, in netdev_upper_dev_link()
5322 int netdev_master_upper_dev_link(struct net_device *dev, in netdev_master_upper_dev_link()
5329 int netdev_master_upper_dev_link_private(struct net_device *dev, in netdev_master_upper_dev_link_private()
5345 void netdev_upper_dev_unlink(struct net_device *dev, in netdev_upper_dev_unlink()
5382 void netdev_bonding_info_change(struct net_device *dev, in netdev_bonding_info_change()
5394 static void netdev_adjacent_add_links(struct net_device *dev) in netdev_adjacent_add_links()
5419 static void netdev_adjacent_del_links(struct net_device *dev) in netdev_adjacent_del_links()
5444 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links()
5469 void *netdev_lower_dev_get_private(struct net_device *dev, in netdev_lower_dev_get_private()
5485 int dev_get_nest_level(struct net_device *dev, in dev_get_nest_level()
5486 bool (*type_check)(struct net_device *dev)) in dev_get_nest_level()
5508 static void dev_change_rx_flags(struct net_device *dev, int flags) in dev_change_rx_flags()
5516 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify) in __dev_set_promiscuity()
5575 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity()
5589 static int __dev_set_allmulti(struct net_device *dev, int inc, bool notify) in __dev_set_allmulti()
5634 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti()
5646 void __dev_set_rx_mode(struct net_device *dev) in __dev_set_rx_mode()
5674 void dev_set_rx_mode(struct net_device *dev) in dev_set_rx_mode()
5687 unsigned int dev_get_flags(const struct net_device *dev) in dev_get_flags()
5712 int __dev_change_flags(struct net_device *dev, unsigned int flags) in __dev_change_flags()
5773 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags()
5806 int dev_change_flags(struct net_device *dev, unsigned int flags) in dev_change_flags()
5821 static int __dev_set_mtu(struct net_device *dev, int new_mtu) in __dev_set_mtu()
5839 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu()
5881 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group()
5894 int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa) in dev_set_mac_address()
5922 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier()
5941 int dev_get_phys_port_id(struct net_device *dev, in dev_get_phys_port_id()
5959 int dev_get_phys_port_name(struct net_device *dev, in dev_get_phys_port_name()
5993 static void net_set_todo(struct net_device *dev) in net_set_todo()
6001 struct net_device *dev, *tmp; in rollback_registered_many() local
6085 static void rollback_registered(struct net_device *dev) in rollback_registered()
6094 static netdev_features_t netdev_fix_features(struct net_device *dev, in netdev_fix_features()
6161 int __netdev_update_features(struct net_device *dev) in __netdev_update_features()
6206 void netdev_update_features(struct net_device *dev) in netdev_update_features()
6223 void netdev_change_features(struct net_device *dev) in netdev_change_features()
6240 struct net_device *dev) in netif_stacked_transfer_operstate()
6258 static int netif_alloc_rx_queues(struct net_device *dev) in netif_alloc_rx_queues()
6280 static void netdev_init_one_queue(struct net_device *dev, in netdev_init_one_queue()
6294 static void netif_free_tx_queues(struct net_device *dev) in netif_free_tx_queues()
6299 static int netif_alloc_netdev_queues(struct net_device *dev) in netif_alloc_netdev_queues()
6339 int register_netdevice(struct net_device *dev) in register_netdevice()
6476 int init_dummy_netdev(struct net_device *dev) in init_dummy_netdev()
6520 int register_netdev(struct net_device *dev) in register_netdev()
6531 int netdev_refcnt_read(const struct net_device *dev) in netdev_refcnt_read()
6553 static void netdev_wait_allrefs(struct net_device *dev) in netdev_wait_allrefs()
6642 struct net_device *dev in netdev_run_todo() local
6715 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, in dev_get_stats()
6734 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev) in dev_ingress_queue_create()
6754 void netdev_set_default_ethtool_ops(struct net_device *dev, in netdev_set_default_ethtool_ops()
6762 void netdev_freemem(struct net_device *dev) in netdev_freemem()
6787 struct net_device *dev; in alloc_netdev_mqs() local
6891 void free_netdev(struct net_device *dev) in free_netdev()
6954 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head) in unregister_netdevice_queue()
6977 struct net_device *dev; in unregister_netdevice_many() local
6999 void unregister_netdev(struct net_device *dev) in unregister_netdev()
7021 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
7259 const char *netdev_drivername(const struct net_device *dev) in netdev_drivername()
7275 static void __netdev_printk(const char *level, const struct net_device *dev, in __netdev_printk()
7294 void netdev_printk(const char *level, const struct net_device *dev, in netdev_printk()
7349 struct net_device *dev, *aux; in default_device_exit() local
7414 struct net_device *dev; in default_device_exit_batch() local