Lines Matching +defs:dev +defs:all
235 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc()
250 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc()
302 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create()
329 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy()
349 static void netdev_name_node_alt_flush(struct net_device *dev) in netdev_name_node_alt_flush()
358 static void list_netdevice(struct net_device *dev) in list_netdevice()
377 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
468 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
483 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
720 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
814 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
832 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
905 struct net_device *dev; in dev_get_by_name() local
930 struct net_device *dev; in __dev_get_by_index() local
954 struct net_device *dev; in dev_get_by_index_rcu() local
979 struct net_device *dev; in dev_get_by_index() local
1023 struct net_device *dev; in netdev_get_name() local
1061 struct net_device *dev; in dev_getbyhwaddr_rcu() local
1074 struct net_device *dev; in __dev_getfirstbyhwtype() local
1087 struct net_device *dev, *ret = NULL; in dev_getfirstbyhwtype() local
1115 struct net_device *dev, *ret; in __dev_get_by_flags() local
1225 struct net_device *dev, in dev_alloc_name_ns()
1252 int dev_alloc_name(struct net_device *dev, const char *name) in dev_alloc_name()
1258 static int dev_get_valid_name(struct net *net, struct net_device *dev, in dev_get_valid_name()
1284 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name()
1387 int dev_set_alias(struct net_device *dev, const char *alias, size_t len) in dev_set_alias()
1424 int dev_get_alias(const struct net_device *dev, char *name, size_t len) in dev_get_alias()
1444 void netdev_features_change(struct net_device *dev) in netdev_features_change()
1458 void netdev_state_change(struct net_device *dev) in netdev_state_change()
1482 void netdev_notify_peers(struct net_device *dev) in netdev_notify_peers()
1491 static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack) in __dev_open()
1552 int dev_open(struct net_device *dev, struct netlink_ext_ack *extack) in dev_open()
1572 struct net_device *dev; in __dev_close_many() local
1614 static void __dev_close(struct net_device *dev) in __dev_close()
1625 struct net_device *dev, *tmp; in dev_close_many() local
1652 void dev_close(struct net_device *dev) in dev_close()
1673 void dev_disable_lro(struct net_device *dev) in dev_disable_lro()
1697 static void dev_disable_gro_hw(struct net_device *dev) in dev_disable_gro_hw()
1729 struct net_device *dev) in call_netdevice_notifier()
1739 struct net_device *dev) in call_netdevice_register_notifiers()
1756 struct net_device *dev) in call_netdevice_unregister_notifiers()
1769 struct net_device *dev; in call_netdevice_register_net_notifiers() local
1788 struct net_device *dev; in call_netdevice_unregister_net_notifiers() local
1969 int register_netdevice_notifier_dev_net(struct net_device *dev, in register_netdevice_notifier_dev_net()
1986 int unregister_netdevice_notifier_dev_net(struct net_device *dev, in unregister_netdevice_notifier_dev_net()
2000 static void move_netdevice_notifiers_dev_net(struct net_device *dev, in move_netdevice_notifiers_dev_net()
2039 struct net_device *dev, in call_netdevice_notifiers_extack()
2059 int call_netdevice_notifiers(unsigned long val, struct net_device *dev) in call_netdevice_notifiers()
2075 struct net_device *dev, u32 arg) in call_netdevice_notifiers_mtu()
2190 bool is_skb_forwardable(const struct net_device *dev, const struct sk_buff *skb) in is_skb_forwardable()
2211 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in __dev_forward_skb()
2242 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb) in dev_forward_skb()
2294 bool dev_nit_active(struct net_device *dev) in dev_nit_active()
2305 void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) in dev_queue_xmit_nit()
2384 static void netif_setup_tc(struct net_device *dev, unsigned int txq) in netif_setup_tc()
2409 int netdev_txq_to_tc(struct net_device *dev, unsigned int txq) in netdev_txq_to_tc()
2466 static bool remove_xps_queue_cpu(struct net_device *dev, in remove_xps_queue_cpu()
2488 static void reset_xps_maps(struct net_device *dev, in reset_xps_maps()
2502 static void clean_xps_maps(struct net_device *dev, const unsigned long *mask, in clean_xps_maps()
2525 static void netif_reset_xps_queues(struct net_device *dev, u16 offset, in netif_reset_xps_queues()
2562 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index) in netif_reset_xps_queues_gt()
2608 int __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask, in __netif_set_xps_queue()
2806 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, in netif_set_xps_queue()
2820 static void netdev_unbind_all_sb_channels(struct net_device *dev) in netdev_unbind_all_sb_channels()
2831 void netdev_reset_tc(struct net_device *dev) in netdev_reset_tc()
2845 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset) in netdev_set_tc_queue()
2859 int netdev_set_num_tc(struct net_device *dev, u8 num_tc) in netdev_set_num_tc()
2874 void netdev_unbind_sb_channel(struct net_device *dev, in netdev_unbind_sb_channel()
2892 int netdev_bind_sb_channel_queue(struct net_device *dev, in netdev_bind_sb_channel_queue()
2918 int netdev_set_sb_channel(struct net_device *dev, u16 channel) in netdev_set_sb_channel()
2942 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq) in netif_set_real_num_tx_queues()
2992 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) in netif_set_real_num_rx_queues()
3120 void netif_device_detach(struct net_device *dev) in netif_device_detach()
3135 void netif_device_attach(struct net_device *dev) in netif_device_attach()
3149 static u16 skb_tx_hash(const struct net_device *dev, in skb_tx_hash()
3179 struct net_device *dev = skb->dev; in skb_warn_bad_offload() local
3378 struct net_device *dev = skb->dev; in __skb_gso_segment() local
3405 void netdev_rx_csum_fault(struct net_device *dev, struct sk_buff *skb) in netdev_rx_csum_fault()
3417 static int illegal_highdma(struct net_device *dev, struct sk_buff *skb) in illegal_highdma()
3475 struct net_device *dev, in passthru_features_check()
3483 struct net_device *dev, in dflt_features_check()
3490 struct net_device *dev, in gso_features_check()
3523 struct net_device *dev = skb->dev; in netif_skb_features() local
3552 static int xmit_one(struct sk_buff *skb, struct net_device *dev, in xmit_one()
3570 struct sk_buff *dev_hard_start_xmit(struct sk_buff *first, struct net_device *dev, in dev_hard_start_xmit()
3618 static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device *dev, bool *again) in validate_xmit_skb()
3673 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again) in validate_xmit_skb_list()
3743 struct net_device *dev, in __dev_xmit_skb()
3861 sch_handle_egress(struct sk_buff *skb, int *ret, struct net_device *dev) in sch_handle_egress()
3902 static int __get_xps_queue_idx(struct net_device *dev, struct sk_buff *skb, in __get_xps_queue_idx()
3927 static int get_xps_queue(struct net_device *dev, struct net_device *sb_dev, in get_xps_queue()
3969 u16 dev_pick_tx_zero(struct net_device *dev, struct sk_buff *skb, in dev_pick_tx_zero()
3976 u16 dev_pick_tx_cpu_id(struct net_device *dev, struct sk_buff *skb, in dev_pick_tx_cpu_id()
3983 u16 netdev_pick_tx(struct net_device *dev, struct sk_buff *skb, in netdev_pick_tx()
4010 struct netdev_queue *netdev_core_pick_tx(struct net_device *dev, in netdev_core_pick_tx()
4066 struct net_device *dev = skb->dev; in __dev_queue_xmit() local
4185 struct net_device *dev = skb->dev; in __dev_direct_xmit() local
4262 set_rps_cpu(struct net_device *dev, struct sk_buff *skb, in set_rps_cpu()
4311 static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb, in get_rps_cpu()
4419 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, in rps_may_expire_flow()
4570 struct net_device *dev = skb->dev; in netif_get_rxqueue() local
4712 struct net_device *dev = skb->dev; in generic_xdp_tx() local
5001 bool netdev_is_rx_handler_busy(struct net_device *dev) in netdev_is_rx_handler_busy()
5022 int netdev_rx_handler_register(struct net_device *dev, in netdev_rx_handler_register()
5048 void netdev_rx_handler_unregister(struct net_device *dev) in netdev_rx_handler_unregister()
5460 static int generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp) in generic_xdp_install()
6666 void netif_napi_add(struct net_device *dev, struct napi_struct *napi, in netif_napi_add()
6856 struct net_device *dev; member
6889 struct net_device *dev = (struct net_device *)priv->data; in ____netdev_has_upper_dev() local
6903 bool netdev_has_upper_dev(struct net_device *dev, in netdev_has_upper_dev()
6927 bool netdev_has_upper_dev_all_rcu(struct net_device *dev, in netdev_has_upper_dev_all_rcu()
6946 bool netdev_has_any_upper_dev(struct net_device *dev) in netdev_has_any_upper_dev()
6961 struct net_device *netdev_master_upper_dev_get(struct net_device *dev) in netdev_master_upper_dev_get()
6978 static struct net_device *__netdev_master_upper_dev_get(struct net_device *dev) in __netdev_master_upper_dev_get()
7001 static bool netdev_has_any_lower_dev(struct net_device *dev) in netdev_has_any_lower_dev()
7026 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, in netdev_upper_get_next_dev_rcu()
7044 static struct net_device *__netdev_next_upper_dev(struct net_device *dev, in __netdev_next_upper_dev()
7061 static struct net_device *netdev_next_upper_dev_rcu(struct net_device *dev, in netdev_next_upper_dev_rcu()
7078 static int __netdev_walk_all_upper_dev(struct net_device *dev, in __netdev_walk_all_upper_dev()
7079 int (*fn)(struct net_device *dev, in __netdev_walk_all_upper_dev()
7127 int netdev_walk_all_upper_dev_rcu(struct net_device *dev, in netdev_walk_all_upper_dev_rcu()
7128 int (*fn)(struct net_device *dev, in netdev_walk_all_upper_dev_rcu()
7174 static bool __netdev_has_upper_dev(struct net_device *dev, in __netdev_has_upper_dev()
7199 void *netdev_lower_get_next_private(struct net_device *dev, in netdev_lower_get_next_private()
7225 void *netdev_lower_get_next_private_rcu(struct net_device *dev, in netdev_lower_get_next_private_rcu()
7254 void *netdev_lower_get_next(struct net_device *dev, struct list_head **iter) in netdev_lower_get_next()
7269 static struct net_device *netdev_next_lower_dev(struct net_device *dev, in netdev_next_lower_dev()
7284 static struct net_device *__netdev_next_lower_dev(struct net_device *dev, in __netdev_next_lower_dev()
7301 int netdev_walk_all_lower_dev(struct net_device *dev, in netdev_walk_all_lower_dev()
7302 int (*fn)(struct net_device *dev, in netdev_walk_all_lower_dev()
7348 static int __netdev_walk_all_lower_dev(struct net_device *dev, in __netdev_walk_all_lower_dev()
7349 int (*fn)(struct net_device *dev, in __netdev_walk_all_lower_dev()
7397 struct net_device *netdev_next_lower_dev_rcu(struct net_device *dev, in netdev_next_lower_dev_rcu()
7412 static u8 __netdev_upper_depth(struct net_device *dev) in __netdev_upper_depth()
7432 static u8 __netdev_lower_depth(struct net_device *dev) in __netdev_lower_depth()
7452 static int __netdev_update_upper_level(struct net_device *dev, in __netdev_update_upper_level()
7459 static int __netdev_update_lower_level(struct net_device *dev, in __netdev_update_lower_level()
7476 int netdev_walk_all_lower_dev_rcu(struct net_device *dev, in netdev_walk_all_lower_dev_rcu()
7477 int (*fn)(struct net_device *dev, in netdev_walk_all_lower_dev_rcu()
7532 void *netdev_lower_get_first_private_rcu(struct net_device *dev) in netdev_lower_get_first_private_rcu()
7551 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev) in netdev_master_upper_dev_get_rcu()
7563 static int netdev_adjacent_sysfs_add(struct net_device *dev, in netdev_adjacent_sysfs_add()
7574 static void netdev_adjacent_sysfs_del(struct net_device *dev, in netdev_adjacent_sysfs_del()
7585 static inline bool netdev_adjacent_is_neigh_list(struct net_device *dev, in netdev_adjacent_is_neigh_list()
7594 static int __netdev_adjacent_dev_insert(struct net_device *dev, in __netdev_adjacent_dev_insert()
7656 static void __netdev_adjacent_dev_remove(struct net_device *dev, in __netdev_adjacent_dev_remove()
7696 static int __netdev_adjacent_dev_link_lists(struct net_device *dev, in __netdev_adjacent_dev_link_lists()
7719 static void __netdev_adjacent_dev_unlink_lists(struct net_device *dev, in __netdev_adjacent_dev_unlink_lists()
7729 static int __netdev_adjacent_dev_link_neighbour(struct net_device *dev, in __netdev_adjacent_dev_link_neighbour()
7739 static void __netdev_adjacent_dev_unlink_neighbour(struct net_device *dev, in __netdev_adjacent_dev_unlink_neighbour()
7747 static int __netdev_upper_dev_link(struct net_device *dev, in __netdev_upper_dev_link()
7830 int netdev_upper_dev_link(struct net_device *dev, in netdev_upper_dev_link()
7858 int netdev_master_upper_dev_link(struct net_device *dev, in netdev_master_upper_dev_link()
7873 static void __netdev_upper_dev_unlink(struct net_device *dev, in __netdev_upper_dev_unlink()
7913 void netdev_upper_dev_unlink(struct net_device *dev, in netdev_upper_dev_unlink()
7954 struct net_device *dev, in netdev_adjacent_change_prepare()
7982 struct net_device *dev) in netdev_adjacent_change_commit()
8002 struct net_device *dev) in netdev_adjacent_change_abort()
8027 void netdev_bonding_info_change(struct net_device *dev, in netdev_bonding_info_change()
8052 struct net_device *netdev_get_xmit_slave(struct net_device *dev, in netdev_get_xmit_slave()
8064 static void netdev_adjacent_add_links(struct net_device *dev) in netdev_adjacent_add_links()
8089 static void netdev_adjacent_del_links(struct net_device *dev) in netdev_adjacent_del_links()
8114 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links()
8139 void *netdev_lower_dev_get_private(struct net_device *dev, in netdev_lower_dev_get_private()
8177 static void dev_change_rx_flags(struct net_device *dev, int flags) in dev_change_rx_flags()
8185 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify) in __dev_set_promiscuity()
8244 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity()
8258 static int __dev_set_allmulti(struct net_device *dev, int inc, bool notify) in __dev_set_allmulti()
8303 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti()
8315 void __dev_set_rx_mode(struct net_device *dev) in __dev_set_rx_mode()
8343 void dev_set_rx_mode(struct net_device *dev) in dev_set_rx_mode()
8356 unsigned int dev_get_flags(const struct net_device *dev) in dev_get_flags()
8381 int __dev_change_flags(struct net_device *dev, unsigned int flags, in __dev_change_flags()
8447 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags()
8484 int dev_change_flags(struct net_device *dev, unsigned int flags, in dev_change_flags()
8500 int __dev_set_mtu(struct net_device *dev, int new_mtu) in __dev_set_mtu()
8513 int dev_validate_mtu(struct net_device *dev, int new_mtu, in dev_validate_mtu()
8537 int dev_set_mtu_ext(struct net_device *dev, int new_mtu, in dev_set_mtu_ext()
8576 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu()
8594 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len) in dev_change_tx_queue_len()
8626 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group()
8638 int dev_pre_changeaddr_notify(struct net_device *dev, const char *addr, in dev_pre_changeaddr_notify()
8661 int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa, in dev_set_mac_address()
8693 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier()
8712 int dev_get_phys_port_id(struct net_device *dev, in dev_get_phys_port_id()
8731 int dev_get_phys_port_name(struct net_device *dev, in dev_get_phys_port_name()
8754 int dev_get_port_parent_id(struct net_device *dev, in dev_get_port_parent_id()
8818 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down()
8838 int dev_change_proto_down_generic(struct net_device *dev, bool proto_down) in dev_change_proto_down_generic()
8856 void dev_change_proto_down_reason(struct net_device *dev, unsigned long mask, in dev_change_proto_down_reason()
8876 struct net_device *dev; /* protected by rtnl_lock, no refcnt held */ member
8880 static enum bpf_xdp_mode dev_xdp_mode(struct net_device *dev, u32 flags) in dev_xdp_mode()
8891 static bpf_op_t dev_xdp_bpf_op(struct net_device *dev, enum bpf_xdp_mode mode) in dev_xdp_bpf_op()
8904 static struct bpf_xdp_link *dev_xdp_link(struct net_device *dev, in dev_xdp_link()
8910 static struct bpf_prog *dev_xdp_prog(struct net_device *dev, in dev_xdp_prog()
8920 static u8 dev_xdp_prog_count(struct net_device *dev) in dev_xdp_prog_count()
8931 u32 dev_xdp_prog_id(struct net_device *dev, enum bpf_xdp_mode mode) in dev_xdp_prog_id()
8938 static void dev_xdp_set_link(struct net_device *dev, enum bpf_xdp_mode mode, in dev_xdp_set_link()
8945 static void dev_xdp_set_prog(struct net_device *dev, enum bpf_xdp_mode mode, in dev_xdp_set_prog()
8952 static int dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode, in dev_xdp_install()
8986 static void dev_xdp_uninstall(struct net_device *dev) in dev_xdp_uninstall()
9017 static int dev_xdp_attach(struct net_device *dev, struct netlink_ext_ack *extack, in dev_xdp_attach()
9126 static int dev_xdp_attach_link(struct net_device *dev, in dev_xdp_attach_link()
9133 static int dev_xdp_detach_link(struct net_device *dev, in dev_xdp_detach_link()
9267 struct net_device *dev; in bpf_xdp_link_attach() local
9319 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack, in dev_change_xdp_fd()
9379 static void net_set_todo(struct net_device *dev) in net_set_todo()
9387 struct net_device *dev, *tmp; in rollback_registered_many() local
9476 static void rollback_registered(struct net_device *dev) in rollback_registered()
9529 static netdev_features_t netdev_fix_features(struct net_device *dev, in netdev_fix_features()
9608 int __netdev_update_features(struct net_device *dev) in __netdev_update_features()
9708 void netdev_update_features(struct net_device *dev) in netdev_update_features()
9725 void netdev_change_features(struct net_device *dev) in netdev_change_features()
9742 struct net_device *dev) in netif_stacked_transfer_operstate()
9761 static int netif_alloc_rx_queues(struct net_device *dev) in netif_alloc_rx_queues()
9795 static void netif_free_rx_queues(struct net_device *dev) in netif_free_rx_queues()
9809 static void netdev_init_one_queue(struct net_device *dev, in netdev_init_one_queue()
9823 static void netif_free_tx_queues(struct net_device *dev) in netif_free_tx_queues()
9828 static int netif_alloc_netdev_queues(struct net_device *dev) in netif_alloc_netdev_queues()
9849 void netif_tx_stop_all_queues(struct net_device *dev) in netif_tx_stop_all_queues()
9878 int register_netdevice(struct net_device *dev) in register_netdevice()
10060 int init_dummy_netdev(struct net_device *dev) in init_dummy_netdev()
10107 int register_netdev(struct net_device *dev) in register_netdev()
10119 int netdev_refcnt_read(const struct net_device *dev) in netdev_refcnt_read()
10143 static void netdev_wait_allrefs(struct net_device *dev) in netdev_wait_allrefs()
10231 struct net_device *dev = list_first_entry(&unlink_list, in netdev_run_todo() local
10250 struct net_device *dev in netdev_run_todo() local
10329 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, in dev_get_stats()
10383 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev) in dev_ingress_queue_create()
10403 void netdev_set_default_ethtool_ops(struct net_device *dev, in netdev_set_default_ethtool_ops()
10411 void netdev_freemem(struct net_device *dev) in netdev_freemem()
10436 struct net_device *dev; in alloc_netdev_mqs() local
10550 void free_netdev(struct net_device *dev) in free_netdev()
10614 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head) in unregister_netdevice_queue()
10637 struct net_device *dev; in unregister_netdevice_many() local
10659 void unregister_netdev(struct net_device *dev) in unregister_netdev()
10681 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
10876 netdev_features_t netdev_increment_features(netdev_features_t all, in netdev_increment_features()
10940 const char *netdev_drivername(const struct net_device *dev) in netdev_drivername()
10956 static void __netdev_printk(const char *level, const struct net_device *dev, in __netdev_printk()
10975 void netdev_printk(const char *level, const struct net_device *dev, in netdev_printk()
11032 struct net_device *dev, *aux; in default_device_exit() local
11099 struct net_device *dev; in default_device_exit_batch() local