| /net/switchdev/ |
| A D | switchdev.c | 59 struct net_device *dev; member 132 struct net_device *dev, in switchdev_port_attr_notify() 197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set() 224 struct net_device *dev, in switchdev_port_obj_notify() 372 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add() 561 const struct net_device *dev; member 572 const struct net_device *dev; in switchdev_lower_dev_walk() local 608 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find() 631 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device() 994 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload() [all …]
|
| /net/core/ |
| A D | dev_api.c | 18 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name() 80 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group() 87 int dev_set_mac_address_user(struct net_device *dev, in dev_set_mac_address_user() 217 void dev_close(struct net_device *dev) in dev_close() 225 int dev_eth_ioctl(struct net_device *dev, in dev_eth_ioctl() 243 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu() 263 void dev_disable_lro(struct net_device *dev) in dev_disable_lro() 282 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity() 308 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti() 363 void netdev_state_change(struct net_device *dev) in netdev_state_change() [all …]
|
| A D | link_watch.c | 36 static unsigned int default_operstate(const struct net_device *dev) in default_operstate() 74 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() 100 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev() 109 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event() 124 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event() 166 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev() 228 struct net_device *dev; in __linkwatch_run_queue() local 258 static bool linkwatch_clean_dev(struct net_device *dev) in linkwatch_clean_dev() 277 void __linkwatch_sync_dev(struct net_device *dev) in __linkwatch_sync_dev() 285 void linkwatch_sync_dev(struct net_device *dev) in linkwatch_sync_dev() [all …]
|
| A D | dev.c | 820 struct net_device *dev; in netdev_napi_by_id_lock() local 893 struct net_device *dev; in dev_get_by_name() local 919 struct net_device *dev; in netdev_get_by_name() local 941 struct net_device *dev; in __dev_get_by_index() local 965 struct net_device *dev; in dev_get_by_index_rcu() local 979 struct net_device *dev; in dev_get_by_index() local 1004 struct net_device *dev; in netdev_get_by_index() local 1084 struct net_device *dev; in netdev_get_by_index_lock() local 1096 struct net_device *dev; in netdev_get_by_index_lock_ops_compat() local 1175 struct net_device *dev; in netdev_get_name() local [all …]
|
| A D | net-sysfs.c | 1427 struct net_device *dev = queue->dev; in get_netdev_queue_index() local 1439 struct net_device *dev = queue->dev; in traffic_class_show() local 1485 struct net_device *dev = queue->dev; in tx_maxrate_store() local 1764 struct net_device *dev = queue->dev; in xps_cpus_show() local 1802 struct net_device *dev = queue->dev; in xps_cpus_store() local 1844 struct net_device *dev = queue->dev; in xps_rxqs_show() local 1871 struct net_device *dev = queue->dev; in xps_rxqs_store() local 2300 struct device *dev; in of_find_net_device_by_node() local 2316 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local 2333 struct device *dev = &ndev->dev; in netdev_register_kobject() local [all …]
|
| A D | dev_ioctl.c | 42 struct net_device *dev; in dev_ifconf() local 87 static int dev_getifmap(struct net_device *dev, struct ifreq *ifr) in dev_getifmap() 114 static int netif_setifmap(struct net_device *dev, struct ifreq *ifr) in netif_setifmap() 143 struct net_device *dev = dev_get_by_name_rcu(net, ifr->ifr_name); in dev_ifsioc_locked() local 257 int dev_get_hwtstamp_phylib(struct net_device *dev, in dev_get_hwtstamp_phylib() 327 int dev_set_hwtstamp_phylib(struct net_device *dev, in dev_set_hwtstamp_phylib() 459 int generic_hwtstamp_get_lower(struct net_device *dev, in generic_hwtstamp_get_lower() 475 int generic_hwtstamp_set_lower(struct net_device *dev, in generic_hwtstamp_set_lower() 492 static int dev_siocbond(struct net_device *dev, in dev_siocbond() 555 struct net_device *dev = __dev_get_by_name(net, ifr->ifr_name); in dev_ifsioc() local [all …]
|
| A D | dev_addr_lists.c | 316 struct net_device *dev, in __hw_addr_sync_dev() 371 struct net_device *dev, in __hw_addr_ref_sync_dev() 430 struct net_device *dev, in __hw_addr_ref_unsync_dev() 464 struct net_device *dev, in __hw_addr_unsync_dev() 512 void dev_addr_check(struct net_device *dev) in dev_addr_check() 531 void dev_addr_flush(struct net_device *dev) in dev_addr_flush() 549 int dev_addr_init(struct net_device *dev) in dev_addr_init() 818 void dev_uc_flush(struct net_device *dev) in dev_uc_flush() 832 void dev_uc_init(struct net_device *dev) in dev_uc_init() 1033 void dev_mc_flush(struct net_device *dev) in dev_mc_flush() [all …]
|
| /net/nfc/ |
| A D | core.c | 89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up() 137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down() 172 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local 241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll() 327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down() 696 int nfc_tm_deactivated(struct nfc_dev *dev) in nfc_tm_deactivated() 768 int nfc_targets_found(struct nfc_dev *dev, in nfc_targets_found() 964 struct nfc_dev *dev = to_nfc_dev(d); in nfc_release() local 1026 struct nfc_dev *dev = to_nfc_dev(d); in match_idx() local 1055 struct nfc_dev *dev; in nfc_allocate_device() local [all …]
|
| A D | netlink.c | 115 struct nfc_dev *dev; in __get_device_from_cb() local 725 struct nfc_dev *dev; in nfc_genl_get_device() local 762 struct nfc_dev *dev; in nfc_genl_dev_up() local 783 struct nfc_dev *dev; in nfc_genl_dev_down() local 804 struct nfc_dev *dev; in nfc_genl_start_poll() local 845 struct nfc_dev *dev; in nfc_genl_stop_poll() local 886 struct nfc_dev *dev; in nfc_genl_activate_target() local 914 struct nfc_dev *dev; in nfc_genl_deactivate_target() local 938 struct nfc_dev *dev; in nfc_genl_dep_link_up() local 973 struct nfc_dev *dev; in nfc_genl_dep_link_down() local [all …]
|
| /net/bluetooth/rfcomm/ |
| A D | tty.c | 150 struct rfcomm_dev *dev; in __rfcomm_dev_lookup() local 161 struct rfcomm_dev *dev; in rfcomm_dev_get() local 220 struct rfcomm_dev *dev, *entry; in __rfcomm_dev_add() local 320 struct rfcomm_dev *dev; in rfcomm_dev_add() local 440 struct rfcomm_dev *dev; in __rfcomm_release_dev() local 499 struct rfcomm_dev *dev; in rfcomm_get_dev_list() local 547 struct rfcomm_dev *dev; in rfcomm_get_dev_info() local 597 struct rfcomm_dev *dev = dlc->owner; in rfcomm_dev_data_ready() local 619 struct rfcomm_dev *dev = dlc->owner; in rfcomm_dev_state_change() local 636 struct rfcomm_dev *dev = dlc->owner; in rfcomm_dev_modem_status() local [all …]
|
| /net/mac802154/ |
| A D | mib.c | 40 int mac802154_get_params(struct net_device *dev, in mac802154_get_params() 55 int mac802154_set_params(struct net_device *dev, in mac802154_set_params() 71 int mac802154_add_key(struct net_device *dev, in mac802154_add_key() 87 int mac802154_del_key(struct net_device *dev, in mac802154_del_key() 102 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev() 131 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey() 147 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey() 163 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel() 178 int mac802154_del_seclevel(struct net_device *dev, in mac802154_del_seclevel() 193 void mac802154_lock_table(struct net_device *dev) in mac802154_lock_table() [all …]
|
| /net/bridge/ |
| A D | br_device.c | 119 static int br_dev_init(struct net_device *dev) in br_dev_init() 153 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit() 164 static int br_dev_open(struct net_device *dev) in br_dev_open() 179 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list() 189 static int br_dev_stop(struct net_device *dev) in br_dev_stop() 204 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu() 221 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address() 253 static int br_get_link_ksettings(struct net_device *dev, in br_get_link_ksettings() 297 static void br_netpoll_cleanup(struct net_device *dev) in br_netpoll_cleanup() 333 static int br_netpoll_setup(struct net_device *dev) in br_netpoll_setup() [all …]
|
| /net/dsa/ |
| A D | user.c | 35 struct net_device *dev; member 56 struct net_device *dev; member 63 struct net_device *dev; member 87 struct net_device *dev = standalone_work->dev; in dsa_user_standalone_event_work() local 276 void dsa_user_sync_ha(struct net_device *dev) in dsa_user_sync_ha() 297 void dsa_user_unsync_ha(struct net_device *dev) in dsa_user_unsync_ha() 399 static int dsa_user_open(struct net_device *dev) in dsa_user_open() 507 struct net_device *dev; member 1128 dsa_user_get_rmon_stats(struct net_device *dev, in dsa_user_get_rmon_stats() 1653 struct net_device *dev = cb_priv; in dsa_user_setup_tc_block_cb() local [all …]
|
| /net/8021q/ |
| A D | vlan_dev.c | 101 struct net_device *dev) in vlan_dev_hard_start_xmit() 249 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address() 260 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() 295 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop() 337 static int vlan_hwtstamp_get(struct net_device *dev, in vlan_hwtstamp_get() 345 static int vlan_hwtstamp_set(struct net_device *dev, in vlan_hwtstamp_set() 418 static int vlan_dev_fcoe_enable(struct net_device *dev) in vlan_dev_fcoe_enable() 522 static int vlan_dev_init(struct net_device *dev) in vlan_dev_init() 614 static void vlan_dev_uninit(struct net_device *dev) in vlan_dev_uninit() 1046 static void vlan_dev_free(struct net_device *dev) in vlan_dev_free() [all …]
|
| /net/wireless/ |
| A D | rdev-ops.h | 164 struct net_device *dev, in rdev_start_ap() 207 struct net_device *dev, in rdev_del_station() 355 struct net_device *dev, in rdev_join_mesh() 368 struct net_device *dev) in rdev_leave_mesh() 378 struct net_device *dev, in rdev_join_ocb() 389 struct net_device *dev) in rdev_leave_ocb() 399 struct net_device *dev, in rdev_change_bss() 448 struct net_device *dev, in rdev_set_monitor_channel() 515 struct net_device *dev, in rdev_disassoc() 538 struct net_device *dev, in rdev_update_connect_params() [all …]
|
| A D | wext-compat.c | 26 int cfg80211_wext_giwname(struct net_device *dev, in cfg80211_wext_giwname() 105 int cfg80211_wext_giwrange(struct net_device *dev, in cfg80211_wext_giwrange() 248 int cfg80211_wext_siwrts(struct net_device *dev, in cfg80211_wext_siwrts() 272 int cfg80211_wext_giwrts(struct net_device *dev, in cfg80211_wext_giwrts() 286 int cfg80211_wext_siwfrag(struct net_device *dev, in cfg80211_wext_siwfrag() 313 int cfg80211_wext_giwfrag(struct net_device *dev, in cfg80211_wext_giwfrag() 327 static int cfg80211_wext_siwretry(struct net_device *dev, in cfg80211_wext_siwretry() 367 int cfg80211_wext_giwretry(struct net_device *dev, in cfg80211_wext_giwretry() 398 struct net_device *dev, bool pairwise, in cfg80211_set_encryption() 1358 static int cfg80211_wext_siwap(struct net_device *dev, in cfg80211_wext_siwap() [all …]
|
| /net/ethtool/ |
| A D | ioctl.c | 60 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link() 69 int ethtool_op_get_ts_info(struct net_device *dev, in ethtool_op_get_ts_info() 193 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings() 250 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature() 294 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags() 438 int __ethtool_get_link_ksettings(struct net_device *dev, in __ethtool_get_link_ksettings() 1898 static int ethtool_nway_reset(struct net_device *dev) in ethtool_nway_reset() 2056 ethtool_set_coalesce_supported(struct net_device *dev, in ethtool_set_coalesce_supported() 2651 static int ethtool_set_dump(struct net_device *dev, in ethtool_set_dump() 2926 ethtool_get_per_queue_coalesce(struct net_device *dev, in ethtool_get_per_queue_coalesce() [all …]
|
| /net/mctp/ |
| A D | device.c | 30 struct mctp_dev *__mctp_dev_get(const struct net_device *dev) in __mctp_dev_get() 117 struct net_device *dev; in mctp_dump_addrinfo() local 187 struct net_device *dev; in mctp_rtm_newaddr() local 250 struct net_device *dev; in mctp_rtm_deladdr() local 357 const struct net_device *dev, u32 ext_filter_mask) in mctp_fill_link_af() 414 static bool mctp_known(struct net_device *dev) in mctp_known() 422 static void mctp_unregister(struct net_device *dev) in mctp_unregister() 438 static int mctp_register(struct net_device *dev) in mctp_register() 477 static int mctp_register_netdevice(struct net_device *dev, in mctp_register_netdevice() 493 int mctp_register_netdev(struct net_device *dev, in mctp_register_netdev() [all …]
|
| /net/ipv4/ |
| A D | udp_tunnel_nic.c | 43 struct net_device *dev; member 168 __udp_tunnel_nic_get_port(struct net_device *dev, unsigned int table, in __udp_tunnel_nic_get_port() 212 udp_tunnel_nic_device_sync_one(struct net_device *dev, in udp_tunnel_nic_device_sync_one() 241 udp_tunnel_nic_device_sync_by_port(struct net_device *dev, in udp_tunnel_nic_device_sync_by_port() 253 udp_tunnel_nic_device_sync_by_table(struct net_device *dev, in udp_tunnel_nic_device_sync_by_table() 543 static void __udp_tunnel_nic_reset_ntf(struct net_device *dev) in __udp_tunnel_nic_reset_ntf() 640 static void __udp_tunnel_nic_assert_locked(struct net_device *dev) in __udp_tunnel_nic_assert_locked() 649 static void __udp_tunnel_nic_lock(struct net_device *dev) in __udp_tunnel_nic_lock() 658 static void __udp_tunnel_nic_unlock(struct net_device *dev) in __udp_tunnel_nic_unlock() 788 static int udp_tunnel_nic_register(struct net_device *dev) in udp_tunnel_nic_register() [all …]
|
| A D | ip_gre.c | 650 struct net_device *dev) in ipgre_xmit() 702 struct net_device *dev) in erspan_xmit() 757 struct net_device *dev) in gre_tap_xmit() 814 static int ipgre_tunnel_ctl(struct net_device *dev, in ipgre_tunnel_ctl() 926 static int ipgre_open(struct net_device *dev) in ipgre_open() 955 static int ipgre_close(struct net_device *dev) in ipgre_close() 1318 static int gre_tap_init(struct net_device *dev) in gre_tap_init() 1398 static int ipgre_newlink(struct net_device *dev, in ipgre_newlink() 1419 static int erspan_newlink(struct net_device *dev, in erspan_newlink() 1620 static void erspan_setup(struct net_device *dev) in erspan_setup() [all …]
|
| /net/ethernet/ |
| A D | eth.c | 79 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header() 155 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) in eth_type_trans() 220 const struct net_device *dev = neigh->dev; in eth_header_cache() local 250 const struct net_device *dev, in eth_header_cache_update() 275 int eth_prepare_mac_addr_change(struct net_device *dev, void *p) in eth_prepare_mac_addr_change() 292 void eth_commit_mac_addr_change(struct net_device *dev, void *p) in eth_commit_mac_addr_change() 310 int eth_mac_addr(struct net_device *dev, void *p) in eth_mac_addr() 322 int eth_validate_addr(struct net_device *dev) in eth_validate_addr() 345 void ether_setup(struct net_device *dev) in ether_setup() 535 int nvmem_get_mac_address(struct device *dev, void *addrbuf) in nvmem_get_mac_address() [all …]
|
| /net/phonet/ |
| A D | pn_dev.c | 88 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy() 119 struct net_device *dev = NULL; in phonet_device_get() local 136 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add() 158 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del() 184 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get() 241 static int phonet_device_autoconf(struct net_device *dev) in phonet_device_autoconf() 264 static void phonet_route_autodel(struct net_device *dev) in phonet_route_autodel() 374 int phonet_route_add(struct net_device *dev, u8 daddr) in phonet_route_add() 393 int phonet_route_del(struct net_device *dev, u8 daddr) in phonet_route_del() 419 struct net_device *dev; in phonet_route_get_rcu() local [all …]
|
| A D | pep-gprs.c | 32 struct net_device *dev; member 55 struct net_device *dev = gp->dev; in gprs_writeable() local 70 struct net_device *dev = gp->dev; in gprs_state_change() local 79 struct net_device *dev = gp->dev; in gprs_recv() local 163 static int gprs_open(struct net_device *dev) in gprs_open() 171 static int gprs_close(struct net_device *dev) in gprs_close() 177 static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev) in gprs_xmit() 217 static void gprs_setup(struct net_device *dev) in gprs_setup() 245 struct net_device *dev; in gprs_attach() local 298 struct net_device *dev = gp->dev; in gprs_detach() local
|
| /net/netrom/ |
| A D | nr_dev.c | 40 int nr_rx_ip(struct sk_buff *skb, struct net_device *dev) in nr_rx_ip() 65 static int nr_header(struct sk_buff *skb, struct net_device *dev, in nr_header() 98 static int __must_check nr_set_mac_address(struct net_device *dev, void *addr) in nr_set_mac_address() 119 static int nr_open(struct net_device *dev) in nr_open() 132 static int nr_close(struct net_device *dev) in nr_close() 139 static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) in nr_xmit() 167 void nr_setup(struct net_device *dev) in nr_setup()
|
| /net/batman-adv/ |
| A D | mesh-interface.c | 163 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode() 713 static void batadv_set_lockdep_class_one(struct net_device *dev, in batadv_set_lockdep_class_one() 724 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class() 736 static int batadv_meshif_init_late(struct net_device *dev) in batadv_meshif_init_late() 834 static int batadv_meshif_slave_add(struct net_device *dev, in batadv_meshif_slave_add() 859 static int batadv_meshif_slave_del(struct net_device *dev, in batadv_meshif_slave_del() 892 static void batadv_get_drvinfo(struct net_device *dev, in batadv_get_drvinfo() 970 static void batadv_get_ethtool_stats(struct net_device *dev, in batadv_get_ethtool_stats() 1000 static void batadv_meshif_free(struct net_device *dev) in batadv_meshif_free() 1015 static void batadv_meshif_init_early(struct net_device *dev) in batadv_meshif_init_early() [all …]
|