Lines Matching defs:net_device

176 					   struct net_device *dev,
265 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev,
280 netdev_name_node_head_alloc(struct net_device *dev)
338 int netdev_name_node_alt_create(struct net_device *dev, const char *name)
372 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name)
390 static void netdev_name_node_alt_flush(struct net_device *dev)
401 static void list_netdevice(struct net_device *dev)
425 static void unlist_netdevice(struct net_device *dev)
532 static inline void netdev_set_addr_lockdep_class(struct net_device *dev)
547 static inline void netdev_set_addr_lockdep_class(struct net_device *dev)
689 int dev_get_iflink(const struct net_device *dev)
707 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb)
734 int dev_fill_forward_path(const struct net_device *dev, const u8 *daddr,
737 const struct net_device *last_dev;
820 struct net_device *dev;
860 struct net_device *__dev_get_by_name(struct net *net, const char *name)
881 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name)
891 struct net_device *dev_get_by_name(struct net *net, const char *name)
893 struct net_device *dev;
916 struct net_device *netdev_get_by_name(struct net *net, const char *name,
919 struct net_device *dev;
939 struct net_device *__dev_get_by_index(struct net *net, int ifindex)
941 struct net_device *dev;
963 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex)
965 struct net_device *dev;
977 struct net_device *dev_get_by_index(struct net *net, int ifindex)
979 struct net_device *dev;
1001 struct net_device *netdev_get_by_index(struct net *net, int ifindex,
1004 struct net_device *dev;
1022 struct net_device *dev_get_by_napi_id(unsigned int napi_id)
1036 /* Release the held reference on the net_device, and if the net_device
1041 * This helper is intended for locking net_device after it has been looked up
1044 struct net_device *__netdev_put_lock(struct net_device *dev, struct net *net)
1057 static struct net_device *
1058 __netdev_put_lock_ops_compat(struct net_device *dev, struct net *net)
1082 struct net_device *netdev_get_by_index_lock(struct net *net, int ifindex)
1084 struct net_device *dev;
1093 struct net_device *
1096 struct net_device *dev;
1105 struct net_device *
1106 netdev_xa_find_lock(struct net *net, struct net_device *dev,
1130 struct net_device *
1131 netdev_xa_find_lock_ops_compat(struct net *net, struct net_device *dev,
1157 void netdev_copy_name(struct net_device *dev, char *name)
1175 struct net_device *dev;
1194 static bool dev_addr_cmp(struct net_device *dev, unsigned short type,
1214 struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type,
1217 struct net_device *dev;
1237 * Return: pointer to the net_device, or NULL if not found
1239 struct net_device *dev_getbyhwaddr(struct net *net, unsigned short type,
1242 struct net_device *dev;
1253 struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type)
1255 struct net_device *dev, *ret = NULL;
1281 struct net_device *netdev_get_by_flags_rcu(struct net *net, netdevice_tracker *tracker,
1284 struct net_device *dev;
1344 struct net_device *d;
1396 static int dev_prep_valid_name(struct net *net, struct net_device *dev,
1427 int dev_alloc_name(struct net_device *dev, const char *name)
1433 static int dev_get_valid_name(struct net *net, struct net_device *dev,
1442 int netif_change_name(struct net_device *dev, const char *newname)
1512 int netif_set_alias(struct net_device *dev, const char *alias, size_t len)
1548 int dev_get_alias(const struct net_device *dev, char *name, size_t len)
1568 void netdev_features_change(struct net_device *dev)
1574 void netif_state_change(struct net_device *dev)
1600 void __netdev_notify_peers(struct net_device *dev)
1618 void netdev_notify_peers(struct net_device *dev)
1647 static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack)
1698 int netif_open(struct net_device *dev, struct netlink_ext_ack *extack)
1717 struct net_device *dev;
1762 static void __dev_close(struct net_device *dev)
1773 struct net_device *dev, *tmp;
1791 void netif_close(struct net_device *dev)
1803 void netif_disable_lro(struct net_device *dev)
1805 struct net_device *lower_dev;
1830 static void dev_disable_gro_hw(struct net_device *dev)
1864 struct net_device *dev)
1874 struct net_device *dev)
1891 struct net_device *dev)
1904 struct net_device *dev;
1925 struct net_device *dev;
2127 static void rtnl_net_dev_lock(struct net_device *dev)
2155 static void rtnl_net_dev_unlock(struct net_device *dev)
2163 int register_netdevice_notifier_dev_net(struct net_device *dev,
2181 int unregister_netdevice_notifier_dev_net(struct net_device *dev,
2196 static void move_netdevice_notifiers_dev_net(struct net_device *dev,
2259 struct net_device *dev,
2273 * @dev: net_device pointer passed unmodified to notifier function
2279 int call_netdevice_notifiers(unsigned long val, struct net_device *dev)
2288 * @dev: net_device pointer passed unmodified to notifier function
2295 struct net_device *dev, u32 arg)
2411 bool is_skb_forwardable(const struct net_device *dev, const struct sk_buff *skb)
2417 static int __dev_forward_skb2(struct net_device *dev, struct sk_buff *skb,
2430 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb)
2454 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)
2460 int dev_forward_skb_nomtu(struct net_device *dev, struct sk_buff *skb)
2467 struct net_device *orig_dev)
2477 struct net_device *orig_dev,
2513 bool dev_nit_active_rcu(const struct net_device *dev)
2528 void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
2607 static void netif_setup_tc(struct net_device *dev, unsigned int txq)
2632 int netdev_txq_to_tc(struct net_device *dev, unsigned int txq)
2688 static bool remove_xps_queue_cpu(struct net_device *dev,
2710 static void reset_xps_maps(struct net_device *dev,
2723 static void clean_xps_maps(struct net_device *dev, enum xps_map_type type,
2746 static void netif_reset_xps_queues(struct net_device *dev, u16 offset,
2764 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index)
2829 int __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask,
3033 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask,
3047 static void netdev_unbind_all_sb_channels(struct net_device *dev)
3058 void netdev_reset_tc(struct net_device *dev)
3072 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset)
3086 int netdev_set_num_tc(struct net_device *dev, u8 num_tc)
3101 void netdev_unbind_sb_channel(struct net_device *dev,
3102 struct net_device *sb_dev)
3119 int netdev_bind_sb_channel_queue(struct net_device *dev,
3120 struct net_device *sb_dev,
3145 int netdev_set_sb_channel(struct net_device *dev, u16 channel)
3169 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq)
3222 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)
3252 int netif_set_real_num_queues(struct net_device *dev,
3296 void netif_set_tso_max_size(struct net_device *dev, unsigned int size)
3315 void netif_set_tso_max_segs(struct net_device *dev, unsigned int segs)
3328 void netif_inherit_tso_max(struct net_device *to, const struct net_device *from)
3453 void netif_device_detach(struct net_device *dev)
3468 void netif_device_attach(struct net_device *dev)
3482 static u16 skb_tx_hash(const struct net_device *dev,
3483 const struct net_device *sb_dev,
3519 struct net_device *dev = skb->dev;
3657 static void do_netdev_rx_csum_fault(struct net_device *dev, struct sk_buff *skb)
3664 void netdev_rx_csum_fault(struct net_device *dev, struct sk_buff *skb)
3672 static int illegal_highdma(struct net_device *dev, struct sk_buff *skb)
3731 struct net_device *dev,
3739 struct net_device *dev,
3746 struct net_device *dev,
3805 struct net_device *dev = skb->dev;
3834 static int xmit_one(struct sk_buff *skb, struct net_device *dev,
3851 struct sk_buff *dev_hard_start_xmit(struct sk_buff *first, struct net_device *dev,
3921 struct net_device *dev)
3924 struct sk_buff *(*sk_validate)(struct sock *sk, struct net_device *dev,
3949 struct net_device *dev)
3977 static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device *dev, bool *again)
4036 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again)
4125 struct net_device *dev,
4281 netdev_tx_queue_mapping(struct net_device *dev, struct sk_buff *skb)
4390 struct net_device *orig_dev, bool *another)
4453 sch_handle_egress(struct sk_buff *skb, int *ret, struct net_device *dev)
4505 struct net_device *orig_dev, bool *another)
4511 sch_handle_egress(struct sk_buff *skb, int *ret, struct net_device *dev)
4518 static int __get_xps_queue_idx(struct net_device *dev, struct sk_buff *skb,
4545 static int get_xps_queue(struct net_device *dev, struct net_device *sb_dev,
4587 u16 dev_pick_tx_zero(struct net_device *dev, struct sk_buff *skb,
4588 struct net_device *sb_dev)
4594 u16 netdev_pick_tx(struct net_device *dev, struct sk_buff *skb,
4595 struct net_device *sb_dev)
4621 struct netdev_queue *netdev_core_pick_tx(struct net_device *dev,
4623 struct net_device *sb_dev)
4670 int __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev)
4672 struct net_device *dev = skb->dev;
4797 struct net_device *dev = skb->dev;
4921 set_rps_cpu(struct net_device *dev, struct sk_buff *skb,
4988 static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb,
5101 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index,
5299 struct net_device *dev = skb->dev;
5505 struct net_device *dev = skb->dev;
5737 int (*br_fdb_test_addr_hook)(struct net_device *dev,
5751 bool netdev_is_rx_handler_busy(struct net_device *dev)
5772 int netdev_rx_handler_register(struct net_device *dev,
5798 void netdev_rx_handler_unregister(struct net_device *dev)
5831 int *ret, struct net_device *orig_dev)
5856 struct net_device *orig_dev;
6073 struct net_device *orig_dev = skb->dev;
6113 struct net_device *orig_dev)
6145 struct net_device *od_curr = NULL;
6150 struct net_device *orig_dev = skb->dev;
6227 static int generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp)
7098 int netif_set_threaded(struct net_device *dev,
7133 * @dev: net_device instance
7142 void netif_threaded_enable(struct net_device *dev)
7159 void netif_queue_set_napi(struct net_device *dev, unsigned int queue_index,
7226 int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs)
7240 static void netif_del_cpu_rmap(struct net_device *dev)
7258 int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs)
7264 static void netif_del_cpu_rmap(struct net_device *dev)
7269 void netif_set_affinity_auto(struct net_device *dev)
7378 netif_napi_dev_list_add(struct net_device *dev, struct napi_struct *napi)
7421 void netif_napi_add_weight_locked(struct net_device *dev,
7504 * Takes netdev_lock() for associated net_device.
7539 * Takes netdev_lock() for associated net_device.
7814 struct net_device *dev;
7833 static struct netdev_adjacent *__netdev_find_adj(struct net_device *adj_dev,
7845 static int ____netdev_has_upper_dev(struct net_device *upper_dev,
7848 struct net_device *dev = (struct net_device *)priv->data;
7862 bool netdev_has_upper_dev(struct net_device *dev,
7863 struct net_device *upper_dev)
7886 bool netdev_has_upper_dev_all_rcu(struct net_device *dev,
7887 struct net_device *upper_dev)
7905 bool netdev_has_any_upper_dev(struct net_device *dev)
7920 struct net_device *netdev_master_upper_dev_get(struct net_device *dev)
7937 static struct net_device *__netdev_master_upper_dev_get(struct net_device *dev)
7960 static bool netdev_has_any_lower_dev(struct net_device *dev)
7985 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev,
8003 static struct net_device *__netdev_next_upper_dev(struct net_device *dev,
8020 static struct net_device *netdev_next_upper_dev_rcu(struct net_device *dev,
8037 static int __netdev_walk_all_upper_dev(struct net_device *dev,
8038 int (*fn)(struct net_device *dev,
8042 struct net_device *udev, *next, *now, *dev_stack[MAX_NEST_DEV + 1];
8086 int netdev_walk_all_upper_dev_rcu(struct net_device *dev,
8087 int (*fn)(struct net_device *dev,
8091 struct net_device *udev, *next, *now, *dev_stack[MAX_NEST_DEV + 1];
8133 static bool __netdev_has_upper_dev(struct net_device *dev,
8134 struct net_device *upper_dev)
8158 void *netdev_lower_get_next_private(struct net_device *dev,
8184 void *netdev_lower_get_next_private_rcu(struct net_device *dev,
8213 void *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)
8228 static struct net_device *netdev_next_lower_dev(struct net_device *dev,
8243 static struct net_device *__netdev_next_lower_dev(struct net_device *dev,
8260 int netdev_walk_all_lower_dev(struct net_device *dev,
8261 int (*fn)(struct net_device *dev,
8265 struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1];
8307 static int __netdev_walk_all_lower_dev(struct net_device *dev,
8308 int (*fn)(struct net_device *dev,
8312 struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1];
8356 struct net_device *netdev_next_lower_dev_rcu(struct net_device *dev,
8371 static u8 __netdev_upper_depth(struct net_device *dev)
8373 struct net_device *udev;
8391 static u8 __netdev_lower_depth(struct net_device *dev)
8393 struct net_device *ldev;
8411 static int __netdev_update_upper_level(struct net_device *dev,
8421 static void net_unlink_todo(struct net_device *dev)
8428 static int __netdev_update_lower_level(struct net_device *dev,
8445 int netdev_walk_all_lower_dev_rcu(struct net_device *dev,
8446 int (*fn)(struct net_device *dev,
8450 struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1];
8501 void *netdev_lower_get_first_private_rcu(struct net_device *dev)
8520 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev)
8532 static int netdev_adjacent_sysfs_add(struct net_device *dev,
8533 struct net_device *adj_dev,
8543 static void netdev_adjacent_sysfs_del(struct net_device *dev,
8554 static inline bool netdev_adjacent_is_neigh_list(struct net_device *dev,
8555 struct net_device *adj_dev,
8563 static int __netdev_adjacent_dev_insert(struct net_device *dev,
8564 struct net_device *adj_dev,
8625 static void __netdev_adjacent_dev_remove(struct net_device *dev,
8626 struct net_device *adj_dev,
8665 static int __netdev_adjacent_dev_link_lists(struct net_device *dev,
8666 struct net_device *upper_dev,
8688 static void __netdev_adjacent_dev_unlink_lists(struct net_device *dev,
8689 struct net_device *upper_dev,
8698 static int __netdev_adjacent_dev_link_neighbour(struct net_device *dev,
8699 struct net_device *upper_dev,
8708 static void __netdev_adjacent_dev_unlink_neighbour(struct net_device *dev,
8709 struct net_device *upper_dev)
8716 static int __netdev_upper_dev_link(struct net_device *dev,
8717 struct net_device *upper_dev, bool master,
8732 struct net_device *master_dev;
8799 int netdev_upper_dev_link(struct net_device *dev,
8800 struct net_device *upper_dev,
8827 int netdev_master_upper_dev_link(struct net_device *dev,
8828 struct net_device *upper_dev,
8842 static void __netdev_upper_dev_unlink(struct net_device *dev,
8843 struct net_device *upper_dev,
8882 void netdev_upper_dev_unlink(struct net_device *dev,
8883 struct net_device *upper_dev)
8894 static void __netdev_adjacent_dev_set(struct net_device *upper_dev,
8895 struct net_device *lower_dev,
8909 static void netdev_adjacent_dev_disable(struct net_device *upper_dev,
8910 struct net_device *lower_dev)
8915 static void netdev_adjacent_dev_enable(struct net_device *upper_dev,
8916 struct net_device *lower_dev)
8921 int netdev_adjacent_change_prepare(struct net_device *old_dev,
8922 struct net_device *new_dev,
8923 struct net_device *dev,
8949 void netdev_adjacent_change_commit(struct net_device *old_dev,
8950 struct net_device *new_dev,
8951 struct net_device *dev)
8969 void netdev_adjacent_change_abort(struct net_device *old_dev,
8970 struct net_device *new_dev,
8971 struct net_device *dev)
8996 void netdev_bonding_info_change(struct net_device *dev,
9010 static int netdev_offload_xstats_enable_l3(struct net_device *dev,
9041 int netdev_offload_xstats_enable(struct net_device *dev,
9060 static void netdev_offload_xstats_disable_l3(struct net_device *dev)
9073 int netdev_offload_xstats_disable(struct net_device *dev,
9092 static void netdev_offload_xstats_disable_all(struct net_device *dev)
9098 netdev_offload_xstats_get_ptr(const struct net_device *dev,
9110 bool netdev_offload_xstats_enabled(const struct net_device *dev,
9142 static int netdev_offload_xstats_get_used(struct net_device *dev,
9163 static int netdev_offload_xstats_get_stats(struct net_device *dev,
9198 int netdev_offload_xstats_get(struct net_device *dev,
9230 void netdev_offload_xstats_push_delta(struct net_device *dev,
9257 struct net_device *netdev_get_xmit_slave(struct net_device *dev,
9269 static struct net_device *netdev_sk_get_lower_dev(struct net_device *dev,
9287 struct net_device *netdev_sk_get_lowest_dev(struct net_device *dev,
9290 struct net_device *lower;
9302 static void netdev_adjacent_add_links(struct net_device *dev)
9327 static void netdev_adjacent_del_links(struct net_device *dev)
9352 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname)
9377 void *netdev_lower_dev_get_private(struct net_device *dev,
9378 struct net_device *lower_dev)
9401 void netdev_lower_state_changed(struct net_device *lower_dev,
9415 static void dev_change_rx_flags(struct net_device *dev, int flags)
9423 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify)
9479 int netif_set_promiscuity(struct net_device *dev, int inc)
9492 int netif_set_allmulti(struct net_device *dev, int inc, bool notify)
9533 void __dev_set_rx_mode(struct net_device *dev)
9561 void dev_set_rx_mode(struct net_device *dev)
9574 unsigned int netif_get_flags(const struct net_device *dev)
9599 int __dev_change_flags(struct net_device *dev, unsigned int flags,
9665 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags,
9694 int netif_change_flags(struct net_device *dev, unsigned int flags,
9709 int __netif_set_mtu(struct net_device *dev, int new_mtu)
9722 int dev_validate_mtu(struct net_device *dev, int new_mtu,
9748 int netif_set_mtu_ext(struct net_device *dev, int new_mtu,
9789 int netif_set_mtu(struct net_device *dev, int new_mtu)
9802 int netif_change_tx_queue_len(struct net_device *dev, unsigned long new_len)
9829 void netif_set_group(struct net_device *dev, int new_group)
9842 int netif_pre_changeaddr_notify(struct net_device *dev, const char *addr,
9857 int netif_set_mac_address(struct net_device *dev, struct sockaddr_storage *ss,
9889 struct net_device *dev;
9914 int netif_change_carrier(struct net_device *dev, bool new_carrier)
9932 int dev_get_phys_port_id(struct net_device *dev,
9950 int dev_get_phys_port_name(struct net_device *dev,
9974 int netif_get_port_parent_id(struct net_device *dev,
9979 struct net_device *lower_dev;
10013 bool netdev_port_same_parent_id(struct net_device *a, struct net_device *b)
10026 int netif_change_proto_down(struct net_device *dev, bool proto_down)
10047 void netdev_change_proto_down_reason_locked(struct net_device *dev,
10069 struct net_device *dev; /* protected by rtnl_lock, no refcnt held */
10073 static enum bpf_xdp_mode dev_xdp_mode(struct net_device *dev, u32 flags)
10084 static bpf_op_t dev_xdp_bpf_op(struct net_device *dev, enum bpf_xdp_mode mode)
10097 static struct bpf_xdp_link *dev_xdp_link(struct net_device *dev,
10103 static struct bpf_prog *dev_xdp_prog(struct net_device *dev,
10113 u8 dev_xdp_prog_count(struct net_device *dev)
10125 u8 dev_xdp_sb_prog_count(struct net_device *dev)
10137 int netif_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf)
10159 u32 dev_xdp_prog_id(struct net_device *dev, enum bpf_xdp_mode mode)
10166 static void dev_xdp_set_link(struct net_device *dev, enum bpf_xdp_mode mode,
10173 static void dev_xdp_set_prog(struct net_device *dev, enum bpf_xdp_mode mode,
10180 static int dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode,
10209 * Given net_device also owns link/prog, we need to bump refcnt here
10227 static void dev_xdp_uninstall(struct net_device *dev)
10258 static int dev_xdp_attach(struct net_device *dev, struct netlink_ext_ack *extack,
10264 struct net_device *upper;
10385 static int dev_xdp_attach_link(struct net_device *dev,
10392 static int dev_xdp_detach_link(struct net_device *dev,
10417 /* if racing with net_device's tear down, xdp_link->dev might be
10537 struct net_device *dev;
10599 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack,
10635 u32 dev_get_min_mp_channel_count(const struct net_device *dev)
10700 static void net_set_todo(struct net_device *dev)
10705 static netdev_features_t netdev_sync_upper_features(struct net_device *lower,
10706 struct net_device *upper, netdev_features_t features)
10725 static void netdev_sync_lower_features(struct net_device *upper,
10726 struct net_device *lower, netdev_features_t features)
10760 static netdev_features_t netdev_fix_features(struct net_device *dev,
10859 int __netdev_update_features(struct net_device *dev)
10861 struct net_device *upper, *lower;
10962 void netdev_update_features(struct net_device *dev)
10979 void netdev_change_features(struct net_device *dev)
10995 void netif_stacked_transfer_operstate(const struct net_device *rootdev,
10996 struct net_device *dev)
11015 static int netif_alloc_rx_queues(struct net_device *dev)
11049 static void netif_free_rx_queues(struct net_device *dev)
11063 static void netdev_init_one_queue(struct net_device *dev,
11077 static void netif_free_tx_queues(struct net_device *dev)
11082 static int netif_alloc_netdev_queues(struct net_device *dev)
11103 void netif_tx_stop_all_queues(struct net_device *dev)
11115 static int netdev_do_alloc_pcpu_stats(struct net_device *dev)
11146 static void netdev_do_free_pcpu_stats(struct net_device *dev)
11163 static void netdev_free_phy_link_topology(struct net_device *dev)
11183 int register_netdevice(struct net_device *dev)
11195 /* When net_device's are persistent, this will be fatal. */
11372 static void init_dummy_netdev(struct net_device *dev)
11402 int register_netdev(struct net_device *dev)
11418 int netdev_refcnt_read(const struct net_device *dev)
11448 static struct net_device *netdev_wait_allrefs_any(struct list_head *list)
11451 struct net_device *dev;
11542 struct net_device *dev, *tmp;
11551 dev = list_first_entry(&unlink_list, struct net_device,
11648 static void dev_get_dstats64(const struct net_device *dev,
11677 struct net_device *dev)
11691 noinline void netdev_core_stats_inc(struct net_device *dev, u32 offset)
11718 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev,
11811 void dev_get_tstats64(struct net_device *dev, struct rtnl_link_stats64 *s)
11818 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev)
11838 void netdev_set_default_ethtool_ops(struct net_device *dev,
11853 void netdev_sw_irq_coalesce_default_on(struct net_device *dev)
11873 * Allocates a struct net_device with private data area for driver use
11877 struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,
11879 void (*setup)(struct net_device *),
11882 struct net_device *dev;
12011 static void netdev_napi_exit(struct net_device *dev)
12036 void free_netdev(struct net_device *dev)
12098 * Return: the allocated net_device on success, NULL otherwise
12100 struct net_device *alloc_netdev_dummy(int sizeof_priv)
12123 static void netdev_rss_contexts_free(struct net_device *dev)
12151 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head)
12166 static void dev_memory_provider_uninstall(struct net_device *dev)
12182 struct net_device *dev, *tmp;
12332 void unregister_netdev(struct net_device *dev)
12340 int __dev_change_net_namespace(struct net_device *dev, struct net *net,
12666 const char *netdev_drivername(const struct net_device *dev)
12682 static void __netdev_printk(const char *level, const struct net_device *dev,
12697 printk("%s(NULL net_device): %pV", level, vaf);
12701 void netdev_printk(const char *level, const struct net_device *dev,
12719 void func(const struct net_device *dev, const char *fmt, ...) \
12760 struct net_device *dev, *aux;
12803 struct net_device *dev;
12832 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, priv_flags_fast);
12833 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, netdev_ops);
12834 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, header_ops);
12835 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, _tx);
12836 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, real_num_tx_queues);
12837 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, gso_max_size);
12838 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, gso_ipv4_max_size);
12839 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, gso_max_segs);
12840 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, gso_partial_features);
12841 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, num_tc);
12842 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, mtu);
12843 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, needed_headroom);
12844 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, tc_to_txq);
12846 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, xps_maps);
12849 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, nf_hooks_egress);
12852 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, tcx_egress);
12854 CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_tx, 160);
12857 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats);
12858 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, state);
12859 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, flags);
12860 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, hard_header_len);
12861 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, features);
12862 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, ip6_ptr);
12863 CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_txrx, 46);
12866 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, ptype_specific);
12867 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, ifindex);
12868 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, real_num_rx_queues);
12869 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, _rx);
12870 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, gro_max_size);
12871 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, gro_ipv4_max_size);
12872 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, rx_handler);
12873 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, rx_handler_data);
12874 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, nd_net);
12876 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, npinfo);
12879 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_rx, tcx_ingress);
12881 CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_rx, 92);