Lines Matching defs:dev

222 static void list_netdevice(struct net_device *dev)  in list_netdevice()
241 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
332 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
346 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
582 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
676 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
694 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
725 struct net_device *dev; in __dev_get_by_name() local
750 struct net_device *dev; in dev_get_by_name_rcu() local
775 struct net_device *dev; in dev_get_by_name() local
800 struct net_device *dev; in __dev_get_by_index() local
824 struct net_device *dev; in dev_get_by_index_rcu() local
849 struct net_device *dev; in dev_get_by_index() local
872 struct net_device *dev; in netdev_get_name() local
911 struct net_device *dev; in dev_getbyhwaddr_rcu() local
924 struct net_device *dev; in __dev_getfirstbyhwtype() local
937 struct net_device *dev, *ret = NULL; in dev_getfirstbyhwtype() local
965 struct net_device *dev, *ret; in __dev_get_by_flags() local
1086 int dev_alloc_name(struct net_device *dev, const char *name) in dev_alloc_name()
1102 struct net_device *dev, in dev_alloc_name_ns()
1115 struct net_device *dev, in dev_get_valid_name()
1141 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name()
1230 int dev_set_alias(struct net_device *dev, const char *alias, size_t len) in dev_set_alias()
1261 void netdev_features_change(struct net_device *dev) in netdev_features_change()
1275 void netdev_state_change(struct net_device *dev) in netdev_state_change()
1298 void netdev_notify_peers(struct net_device *dev) in netdev_notify_peers()
1306 static int __dev_open(struct net_device *dev) in __dev_open()
1361 int dev_open(struct net_device *dev) in dev_open()
1381 struct net_device *dev; in __dev_close_many() local
1425 static int __dev_close(struct net_device *dev) in __dev_close()
1439 struct net_device *dev, *tmp; in dev_close_many() local
1468 int dev_close(struct net_device *dev) in dev_close()
1490 void dev_disable_lro(struct net_device *dev) in dev_disable_lro()
1507 struct net_device *dev) in call_netdevice_notifier()
1533 struct net_device *dev; in register_netdevice_notifier() local
1600 struct net_device *dev; in unregister_netdevice_notifier() local
1636 struct net_device *dev, in call_netdevice_notifiers_info()
1653 int call_netdevice_notifiers(unsigned long val, struct net_device *dev) in call_netdevice_notifiers()
1726 bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb) in is_skb_forwardable()
1747 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in __dev_forward_skb()
1783 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in dev_forward_skb()
1835 static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) in dev_queue_xmit_nit()
1906 static void netif_setup_tc(struct net_device *dev, unsigned int txq) in netif_setup_tc()
1961 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index) in netif_reset_xps_queues_gt()
2030 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, in netif_set_xps_queue()
2160 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq) in netif_set_real_num_tx_queues()
2203 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues()
2286 void netif_wake_subqueue(struct net_device *dev, u16 queue_index) in netif_wake_subqueue()
2349 void netif_device_detach(struct net_device *dev) in netif_device_detach()
2364 void netif_device_attach(struct net_device *dev) in netif_device_attach()
2378 u16 __skb_tx_hash(const struct net_device *dev, struct sk_buff *skb, in __skb_tx_hash()
2405 struct net_device *dev = skb->dev; in skb_warn_bad_offload() local
2576 void netdev_rx_csum_fault(struct net_device *dev) in netdev_rx_csum_fault()
2591 static int illegal_highdma(struct net_device *dev, struct sk_buff *skb) in illegal_highdma()
2661 struct net_device *dev, in passthru_features_check()
2669 struct net_device *dev, in dflt_features_check()
2677 struct net_device *dev = skb->dev; in netif_skb_features() local
2707 static int xmit_one(struct sk_buff *skb, struct net_device *dev, in xmit_one()
2724 struct sk_buff *dev_hard_start_xmit(struct sk_buff *first, struct net_device *dev, in dev_hard_start_xmit()
2761 static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device *dev) in validate_xmit_skb()
2813 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev) in validate_xmit_skb_list()
2871 struct net_device *dev, in __dev_xmit_skb()
2970 static inline int get_xps_queue(struct net_device *dev, struct sk_buff *skb) in get_xps_queue()
3000 static u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb) in __netdev_pick_tx()
3022 struct netdev_queue *netdev_pick_tx(struct net_device *dev, in netdev_pick_tx()
3077 struct net_device *dev = skb->dev; in __dev_queue_xmit() local
3227 set_rps_cpu(struct net_device *dev, struct sk_buff *skb, in set_rps_cpu()
3276 static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb, in get_rps_cpu()
3384 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, in rps_may_expire_flow()
3738 int netdev_rx_handler_register(struct net_device *dev, in netdev_rx_handler_register()
3763 void netdev_rx_handler_unregister(struct net_device *dev) in netdev_rx_handler_unregister()
4044 struct net_device *dev = arg; in flush_backlog() local
4734 void netif_napi_add(struct net_device *dev, struct napi_struct *napi, in netif_napi_add()
4894 struct net_device *dev; member
4930 bool netdev_has_upper_dev(struct net_device *dev, in netdev_has_upper_dev()
4946 static bool netdev_has_any_upper_dev(struct net_device *dev) in netdev_has_any_upper_dev()
4960 struct net_device *netdev_master_upper_dev_get(struct net_device *dev) in netdev_master_upper_dev_get()
4995 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, in netdev_upper_get_next_dev_rcu()
5021 struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev, in netdev_all_upper_get_next_dev_rcu()
5050 void *netdev_lower_get_next_private(struct net_device *dev, in netdev_lower_get_next_private()
5076 void *netdev_lower_get_next_private_rcu(struct net_device *dev, in netdev_lower_get_next_private_rcu()
5105 void *netdev_lower_get_next(struct net_device *dev, struct list_head **iter) in netdev_lower_get_next()
5129 void *netdev_lower_get_first_private_rcu(struct net_device *dev) in netdev_lower_get_first_private_rcu()
5148 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev) in netdev_master_upper_dev_get_rcu()
5160 static int netdev_adjacent_sysfs_add(struct net_device *dev, in netdev_adjacent_sysfs_add()
5170 static void netdev_adjacent_sysfs_del(struct net_device *dev, in netdev_adjacent_sysfs_del()
5180 static inline bool netdev_adjacent_is_neigh_list(struct net_device *dev, in netdev_adjacent_is_neigh_list()
5189 static int __netdev_adjacent_dev_insert(struct net_device *dev, in __netdev_adjacent_dev_insert()
5247 static void __netdev_adjacent_dev_remove(struct net_device *dev, in __netdev_adjacent_dev_remove()
5281 static int __netdev_adjacent_dev_link_lists(struct net_device *dev, in __netdev_adjacent_dev_link_lists()
5304 static int __netdev_adjacent_dev_link(struct net_device *dev, in __netdev_adjacent_dev_link()
5313 static void __netdev_adjacent_dev_unlink_lists(struct net_device *dev, in __netdev_adjacent_dev_unlink_lists()
5322 static void __netdev_adjacent_dev_unlink(struct net_device *dev, in __netdev_adjacent_dev_unlink()
5330 static int __netdev_adjacent_dev_link_neighbour(struct net_device *dev, in __netdev_adjacent_dev_link_neighbour()
5351 static void __netdev_adjacent_dev_unlink_neighbour(struct net_device *dev, in __netdev_adjacent_dev_unlink_neighbour()
5360 static int __netdev_upper_dev_link(struct net_device *dev, in __netdev_upper_dev_link()
5483 int netdev_upper_dev_link(struct net_device *dev, in netdev_upper_dev_link()
5501 int netdev_master_upper_dev_link(struct net_device *dev, in netdev_master_upper_dev_link()
5508 int netdev_master_upper_dev_link_private(struct net_device *dev, in netdev_master_upper_dev_link_private()
5524 void netdev_upper_dev_unlink(struct net_device *dev, in netdev_upper_dev_unlink()
5570 void netdev_bonding_info_change(struct net_device *dev, in netdev_bonding_info_change()
5582 static void netdev_adjacent_add_links(struct net_device *dev) in netdev_adjacent_add_links()
5607 static void netdev_adjacent_del_links(struct net_device *dev) in netdev_adjacent_del_links()
5632 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links()
5657 void *netdev_lower_dev_get_private(struct net_device *dev, in netdev_lower_dev_get_private()
5673 int dev_get_nest_level(struct net_device *dev, in dev_get_nest_level()
5674 bool (*type_check)(struct net_device *dev)) in dev_get_nest_level()
5696 static void dev_change_rx_flags(struct net_device *dev, int flags) in dev_change_rx_flags()
5704 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify) in __dev_set_promiscuity()
5763 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity()
5777 static int __dev_set_allmulti(struct net_device *dev, int inc, bool notify) in __dev_set_allmulti()
5822 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti()
5834 void __dev_set_rx_mode(struct net_device *dev) in __dev_set_rx_mode()
5862 void dev_set_rx_mode(struct net_device *dev) in dev_set_rx_mode()
5875 unsigned int dev_get_flags(const struct net_device *dev) in dev_get_flags()
5900 int __dev_change_flags(struct net_device *dev, unsigned int flags) in __dev_change_flags()
5961 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags()
5994 int dev_change_flags(struct net_device *dev, unsigned int flags) in dev_change_flags()
6009 static int __dev_set_mtu(struct net_device *dev, int new_mtu) in __dev_set_mtu()
6027 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu()
6069 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group()
6082 int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa) in dev_set_mac_address()
6110 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier()
6129 int dev_get_phys_port_id(struct net_device *dev, in dev_get_phys_port_id()
6147 int dev_get_phys_port_name(struct net_device *dev, in dev_get_phys_port_name()
6166 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down()
6201 static void net_set_todo(struct net_device *dev) in net_set_todo()
6209 struct net_device *dev, *tmp; in rollback_registered_many() local
6293 static void rollback_registered(struct net_device *dev) in rollback_registered()
6344 static netdev_features_t netdev_fix_features(struct net_device *dev, in netdev_fix_features()
6411 int __netdev_update_features(struct net_device *dev) in __netdev_update_features()
6474 void netdev_update_features(struct net_device *dev) in netdev_update_features()
6491 void netdev_change_features(struct net_device *dev) in netdev_change_features()
6508 struct net_device *dev) in netif_stacked_transfer_operstate()
6526 static int netif_alloc_rx_queues(struct net_device *dev) in netif_alloc_rx_queues()
6548 static void netdev_init_one_queue(struct net_device *dev, in netdev_init_one_queue()
6562 static void netif_free_tx_queues(struct net_device *dev) in netif_free_tx_queues()
6567 static int netif_alloc_netdev_queues(struct net_device *dev) in netif_alloc_netdev_queues()
6590 void netif_tx_stop_all_queues(struct net_device *dev) in netif_tx_stop_all_queues()
6618 int register_netdevice(struct net_device *dev) in register_netdevice()
6755 int init_dummy_netdev(struct net_device *dev) in init_dummy_netdev()
6799 int register_netdev(struct net_device *dev) in register_netdev()
6810 int netdev_refcnt_read(const struct net_device *dev) in netdev_refcnt_read()
6832 static void netdev_wait_allrefs(struct net_device *dev) in netdev_wait_allrefs()
6921 struct net_device *dev in netdev_run_todo() local
6994 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, in dev_get_stats()
7013 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev) in dev_ingress_queue_create()
7033 void netdev_set_default_ethtool_ops(struct net_device *dev, in netdev_set_default_ethtool_ops()
7041 void netdev_freemem(struct net_device *dev) in netdev_freemem()
7066 struct net_device *dev; in alloc_netdev_mqs() local
7178 void free_netdev(struct net_device *dev) in free_netdev()
7241 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head) in unregister_netdevice_queue()
7264 struct net_device *dev; in unregister_netdevice_many() local
7286 void unregister_netdev(struct net_device *dev) in unregister_netdev()
7308 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
7546 const char *netdev_drivername(const struct net_device *dev) in netdev_drivername()
7562 static void __netdev_printk(const char *level, const struct net_device *dev, in __netdev_printk()
7581 void netdev_printk(const char *level, const struct net_device *dev, in netdev_printk()
7636 struct net_device *dev, *aux; in default_device_exit() local
7701 struct net_device *dev; in default_device_exit_batch() local