Lines Matching +defs:dev +defs:all
232 static void list_netdevice(struct net_device *dev) in list_netdevice()
251 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
342 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
356 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
593 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
687 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
705 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
736 struct net_device *dev; in __dev_get_by_name() local
761 struct net_device *dev; in dev_get_by_name_rcu() local
786 struct net_device *dev; in dev_get_by_name() local
811 struct net_device *dev; in __dev_get_by_index() local
835 struct net_device *dev; in dev_get_by_index_rcu() local
860 struct net_device *dev; in dev_get_by_index() local
908 struct net_device *dev; in netdev_get_name() local
947 struct net_device *dev; in dev_getbyhwaddr_rcu() local
960 struct net_device *dev; in __dev_getfirstbyhwtype() local
973 struct net_device *dev, *ret = NULL; in dev_getfirstbyhwtype() local
1001 struct net_device *dev, *ret; in __dev_get_by_flags() local
1111 struct net_device *dev, in dev_alloc_name_ns()
1138 int dev_alloc_name(struct net_device *dev, const char *name) in dev_alloc_name()
1144 int dev_get_valid_name(struct net *net, struct net_device *dev, in dev_get_valid_name()
1171 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name()
1260 int dev_set_alias(struct net_device *dev, const char *alias, size_t len) in dev_set_alias()
1297 int dev_get_alias(const struct net_device *dev, char *name, size_t len) in dev_get_alias()
1317 void netdev_features_change(struct net_device *dev) in netdev_features_change()
1331 void netdev_state_change(struct net_device *dev) in netdev_state_change()
1355 void netdev_notify_peers(struct net_device *dev) in netdev_notify_peers()
1364 static int __dev_open(struct net_device *dev) in __dev_open()
1419 int dev_open(struct net_device *dev) in dev_open()
1439 struct net_device *dev; in __dev_close_many() local
1481 static void __dev_close(struct net_device *dev) in __dev_close()
1492 struct net_device *dev, *tmp; in dev_close_many() local
1519 void dev_close(struct net_device *dev) in dev_close()
1540 void dev_disable_lro(struct net_device *dev) in dev_disable_lro()
1564 static void dev_disable_gro_hw(struct net_device *dev) in dev_disable_gro_hw()
1595 struct net_device *dev) in call_netdevice_notifier()
1622 struct net_device *dev; in register_netdevice_notifier() local
1692 struct net_device *dev; in unregister_netdevice_notifier() local
1745 int call_netdevice_notifiers(unsigned long val, struct net_device *dev) in call_netdevice_notifiers()
1765 struct net_device *dev, u32 arg) in call_netdevice_notifiers_mtu()
1880 bool is_skb_forwardable(const struct net_device *dev, const struct sk_buff *skb) in is_skb_forwardable()
1901 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in __dev_forward_skb()
1932 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in dev_forward_skb()
1984 void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) in dev_queue_xmit_nit()
2060 static void netif_setup_tc(struct net_device *dev, unsigned int txq) in netif_setup_tc()
2085 int netdev_txq_to_tc(struct net_device *dev, unsigned int txq) in netdev_txq_to_tc()
2142 static bool remove_xps_queue_cpu(struct net_device *dev, in remove_xps_queue_cpu()
2164 static void clean_xps_maps(struct net_device *dev, const unsigned long *mask, in clean_xps_maps()
2190 static void netif_reset_xps_queues(struct net_device *dev, u16 offset, in netif_reset_xps_queues()
2231 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index) in netif_reset_xps_queues_gt()
2277 int __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask, in __netif_set_xps_queue()
2477 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, in netif_set_xps_queue()
2491 static void netdev_unbind_all_sb_channels(struct net_device *dev) in netdev_unbind_all_sb_channels()
2502 void netdev_reset_tc(struct net_device *dev) in netdev_reset_tc()
2516 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset) in netdev_set_tc_queue()
2530 int netdev_set_num_tc(struct net_device *dev, u8 num_tc) in netdev_set_num_tc()
2545 void netdev_unbind_sb_channel(struct net_device *dev, in netdev_unbind_sb_channel()
2563 int netdev_bind_sb_channel_queue(struct net_device *dev, in netdev_bind_sb_channel_queue()
2589 int netdev_set_sb_channel(struct net_device *dev, u16 channel) in netdev_set_sb_channel()
2613 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq) in netif_set_real_num_tx_queues()
2663 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues()
2791 void netif_device_detach(struct net_device *dev) in netif_device_detach()
2806 void netif_device_attach(struct net_device *dev) in netif_device_attach()
2820 static u16 skb_tx_hash(const struct net_device *dev, in skb_tx_hash()
2848 struct net_device *dev = skb->dev; in skb_warn_bad_offload() local
3053 struct net_device *dev = skb->dev; in __skb_gso_segment() local
3080 void netdev_rx_csum_fault(struct net_device *dev) in netdev_rx_csum_fault()
3091 static int illegal_highdma(struct net_device *dev, struct sk_buff *skb) in illegal_highdma()
3150 struct net_device *dev, in passthru_features_check()
3158 struct net_device *dev, in dflt_features_check()
3165 struct net_device *dev, in gso_features_check()
3198 struct net_device *dev = skb->dev; in netif_skb_features() local
3227 static int xmit_one(struct sk_buff *skb, struct net_device *dev, in xmit_one()
3244 struct sk_buff *dev_hard_start_xmit(struct sk_buff *first, struct net_device *dev, in dev_hard_start_xmit()
3292 static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device *dev, bool *again) in validate_xmit_skb()
3347 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again) in validate_xmit_skb_list()
3417 struct net_device *dev, in __dev_xmit_skb()
3543 sch_handle_egress(struct sk_buff *skb, int *ret, struct net_device *dev) in sch_handle_egress()
3584 static int __get_xps_queue_idx(struct net_device *dev, struct sk_buff *skb, in __get_xps_queue_idx()
3609 static int get_xps_queue(struct net_device *dev, struct net_device *sb_dev, in get_xps_queue()
3651 u16 dev_pick_tx_zero(struct net_device *dev, struct sk_buff *skb, in dev_pick_tx_zero()
3659 u16 dev_pick_tx_cpu_id(struct net_device *dev, struct sk_buff *skb, in dev_pick_tx_cpu_id()
3667 static u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb, in __netdev_pick_tx()
3693 struct netdev_queue *netdev_pick_tx(struct net_device *dev, in netdev_pick_tx()
3750 struct net_device *dev = skb->dev; in __dev_queue_xmit() local
3869 struct net_device *dev = skb->dev; in dev_direct_xmit() local
3944 set_rps_cpu(struct net_device *dev, struct sk_buff *skb, in set_rps_cpu()
3993 static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb, in get_rps_cpu()
4101 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, in rps_may_expire_flow()
4252 struct net_device *dev = skb->dev; in netif_get_rxqueue() local
4373 struct net_device *dev = skb->dev; in generic_xdp_tx() local
4656 bool netdev_is_rx_handler_busy(struct net_device *dev) in netdev_is_rx_handler_busy()
4677 int netdev_rx_handler_register(struct net_device *dev, in netdev_rx_handler_register()
4703 void netdev_rx_handler_unregister(struct net_device *dev) in netdev_rx_handler_unregister()
5058 static int generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp) in generic_xdp_install()
6164 void netif_napi_add(struct net_device *dev, struct napi_struct *napi, in netif_napi_add()
6342 struct net_device *dev; member
6371 struct net_device *dev = data; in __netdev_has_upper_dev() local
6385 bool netdev_has_upper_dev(struct net_device *dev, in netdev_has_upper_dev()
6405 bool netdev_has_upper_dev_all_rcu(struct net_device *dev, in netdev_has_upper_dev_all_rcu()
6420 bool netdev_has_any_upper_dev(struct net_device *dev) in netdev_has_any_upper_dev()
6435 struct net_device *netdev_master_upper_dev_get(struct net_device *dev) in netdev_master_upper_dev_get()
6459 static bool netdev_has_any_lower_dev(struct net_device *dev) in netdev_has_any_lower_dev()
6484 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, in netdev_upper_get_next_dev_rcu()
6502 static struct net_device *netdev_next_upper_dev_rcu(struct net_device *dev, in netdev_next_upper_dev_rcu()
6519 int netdev_walk_all_upper_dev_rcu(struct net_device *dev, in netdev_walk_all_upper_dev_rcu()
6520 int (*fn)(struct net_device *dev, in netdev_walk_all_upper_dev_rcu()
6558 void *netdev_lower_get_next_private(struct net_device *dev, in netdev_lower_get_next_private()
6584 void *netdev_lower_get_next_private_rcu(struct net_device *dev, in netdev_lower_get_next_private_rcu()
6613 void *netdev_lower_get_next(struct net_device *dev, struct list_head **iter) in netdev_lower_get_next()
6628 static struct net_device *netdev_next_lower_dev(struct net_device *dev, in netdev_next_lower_dev()
6643 int netdev_walk_all_lower_dev(struct net_device *dev, in netdev_walk_all_lower_dev()
6644 int (*fn)(struct net_device *dev, in netdev_walk_all_lower_dev()
6671 static struct net_device *netdev_next_lower_dev_rcu(struct net_device *dev, in netdev_next_lower_dev_rcu()
6685 int netdev_walk_all_lower_dev_rcu(struct net_device *dev, in netdev_walk_all_lower_dev_rcu()
6686 int (*fn)(struct net_device *dev, in netdev_walk_all_lower_dev_rcu()
6722 void *netdev_lower_get_first_private_rcu(struct net_device *dev) in netdev_lower_get_first_private_rcu()
6741 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev) in netdev_master_upper_dev_get_rcu()
6753 static int netdev_adjacent_sysfs_add(struct net_device *dev, in netdev_adjacent_sysfs_add()
6764 static void netdev_adjacent_sysfs_del(struct net_device *dev, in netdev_adjacent_sysfs_del()
6775 static inline bool netdev_adjacent_is_neigh_list(struct net_device *dev, in netdev_adjacent_is_neigh_list()
6784 static int __netdev_adjacent_dev_insert(struct net_device *dev, in __netdev_adjacent_dev_insert()
6845 static void __netdev_adjacent_dev_remove(struct net_device *dev, in __netdev_adjacent_dev_remove()
6885 static int __netdev_adjacent_dev_link_lists(struct net_device *dev, in __netdev_adjacent_dev_link_lists()
6908 static void __netdev_adjacent_dev_unlink_lists(struct net_device *dev, in __netdev_adjacent_dev_unlink_lists()
6918 static int __netdev_adjacent_dev_link_neighbour(struct net_device *dev, in __netdev_adjacent_dev_link_neighbour()
6928 static void __netdev_adjacent_dev_unlink_neighbour(struct net_device *dev, in __netdev_adjacent_dev_unlink_neighbour()
6936 static int __netdev_upper_dev_link(struct net_device *dev, in __netdev_upper_dev_link()
7008 int netdev_upper_dev_link(struct net_device *dev, in netdev_upper_dev_link()
7031 int netdev_master_upper_dev_link(struct net_device *dev, in netdev_master_upper_dev_link()
7049 void netdev_upper_dev_unlink(struct net_device *dev, in netdev_upper_dev_unlink()
7082 void netdev_bonding_info_change(struct net_device *dev, in netdev_bonding_info_change()
7096 static void netdev_adjacent_add_links(struct net_device *dev) in netdev_adjacent_add_links()
7121 static void netdev_adjacent_del_links(struct net_device *dev) in netdev_adjacent_del_links()
7146 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links()
7171 void *netdev_lower_dev_get_private(struct net_device *dev, in netdev_lower_dev_get_private()
7187 int dev_get_nest_level(struct net_device *dev) in dev_get_nest_level()
7228 static void dev_change_rx_flags(struct net_device *dev, int flags) in dev_change_rx_flags()
7236 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify) in __dev_set_promiscuity()
7295 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity()
7309 static int __dev_set_allmulti(struct net_device *dev, int inc, bool notify) in __dev_set_allmulti()
7354 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti()
7366 void __dev_set_rx_mode(struct net_device *dev) in __dev_set_rx_mode()
7394 void dev_set_rx_mode(struct net_device *dev) in dev_set_rx_mode()
7407 unsigned int dev_get_flags(const struct net_device *dev) in dev_get_flags()
7432 int __dev_change_flags(struct net_device *dev, unsigned int flags) in __dev_change_flags()
7497 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags()
7533 int dev_change_flags(struct net_device *dev, unsigned int flags) in dev_change_flags()
7548 int __dev_set_mtu(struct net_device *dev, int new_mtu) in __dev_set_mtu()
7568 int dev_set_mtu_ext(struct net_device *dev, int new_mtu, in dev_set_mtu_ext()
7614 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu()
7632 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len) in dev_change_tx_queue_len()
7664 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group()
7677 int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa) in dev_set_mac_address()
7705 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier()
7724 int dev_get_phys_port_id(struct net_device *dev, in dev_get_phys_port_id()
7743 int dev_get_phys_port_name(struct net_device *dev, in dev_get_phys_port_name()
7762 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down()
7774 u32 __dev_xdp_query(struct net_device *dev, bpf_op_t bpf_op, in __dev_xdp_query()
7791 static int dev_xdp_install(struct net_device *dev, bpf_op_t bpf_op, in dev_xdp_install()
7809 static void dev_xdp_uninstall(struct net_device *dev) in dev_xdp_uninstall()
7846 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack, in dev_change_xdp_fd()
7919 static void net_set_todo(struct net_device *dev) in net_set_todo()
7927 struct net_device *dev, *tmp; in rollback_registered_many() local
8013 static void rollback_registered(struct net_device *dev) in rollback_registered()
8064 static netdev_features_t netdev_fix_features(struct net_device *dev, in netdev_fix_features()
8143 int __netdev_update_features(struct net_device *dev) in __netdev_update_features()
8243 void netdev_update_features(struct net_device *dev) in netdev_update_features()
8260 void netdev_change_features(struct net_device *dev) in netdev_change_features()
8277 struct net_device *dev) in netif_stacked_transfer_operstate()
8291 static int netif_alloc_rx_queues(struct net_device *dev) in netif_alloc_rx_queues()
8325 static void netif_free_rx_queues(struct net_device *dev) in netif_free_rx_queues()
8339 static void netdev_init_one_queue(struct net_device *dev, in netdev_init_one_queue()
8353 static void netif_free_tx_queues(struct net_device *dev) in netif_free_tx_queues()
8358 static int netif_alloc_netdev_queues(struct net_device *dev) in netif_alloc_netdev_queues()
8379 void netif_tx_stop_all_queues(struct net_device *dev) in netif_tx_stop_all_queues()
8408 int register_netdevice(struct net_device *dev) in register_netdevice()
8568 int init_dummy_netdev(struct net_device *dev) in init_dummy_netdev()
8612 int register_netdev(struct net_device *dev) in register_netdev()
8624 int netdev_refcnt_read(const struct net_device *dev) in netdev_refcnt_read()
8646 static void netdev_wait_allrefs(struct net_device *dev) in netdev_wait_allrefs()
8734 struct net_device *dev in netdev_run_todo() local
8813 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, in dev_get_stats()
8833 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev) in dev_ingress_queue_create()
8853 void netdev_set_default_ethtool_ops(struct net_device *dev, in netdev_set_default_ethtool_ops()
8861 void netdev_freemem(struct net_device *dev) in netdev_freemem()
8886 struct net_device *dev; in alloc_netdev_mqs() local
8993 void free_netdev(struct net_device *dev) in free_netdev()
9055 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head) in unregister_netdevice_queue()
9078 struct net_device *dev; in unregister_netdevice_many() local
9100 void unregister_netdev(struct net_device *dev) in unregister_netdev()
9122 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
9307 netdev_features_t netdev_increment_features(netdev_features_t all, in netdev_increment_features()
9369 const char *netdev_drivername(const struct net_device *dev) in netdev_drivername()
9385 static void __netdev_printk(const char *level, const struct net_device *dev, in __netdev_printk()
9404 void netdev_printk(const char *level, const struct net_device *dev, in netdev_printk()
9461 struct net_device *dev, *aux; in default_device_exit() local
9526 struct net_device *dev; in default_device_exit_batch() local