Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/net/switchdev/
Dswitchdev.c59 struct net_device *dev; member
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
132 struct net_device *dev, in switchdev_port_attr_notify()
158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
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()
247 static void switchdev_obj_id_to_helpful_msg(struct net_device *dev, in switchdev_obj_id_to_helpful_msg()
340 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
[all …]
/net/nfc/
Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download()
73 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done()
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
198 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
280 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
[all …]
Dnetlink.c110 struct nfc_dev *dev; in __get_device_from_cb() local
129 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() local
162 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() local
170 int nfc_genl_targets_found(struct nfc_dev *dev) in nfc_genl_targets_found()
199 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost()
229 int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) in nfc_genl_tm_activated()
260 int nfc_genl_tm_deactivated(struct nfc_dev *dev) in nfc_genl_tm_deactivated()
289 static int nfc_genl_setup_device_added(struct nfc_dev *dev, struct sk_buff *msg) in nfc_genl_setup_device_added()
300 int nfc_genl_device_added(struct nfc_dev *dev) in nfc_genl_device_added()
329 int nfc_genl_device_removed(struct nfc_dev *dev) in nfc_genl_device_removed()
[all …]
/net/core/
Ddev.c264 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc()
279 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc()
337 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create()
371 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy()
389 static void netdev_name_node_alt_flush(struct net_device *dev) in netdev_name_node_alt_flush()
400 static void list_netdevice(struct net_device *dev) in list_netdevice()
424 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
529 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
544 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
678 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
[all …]
Dnet-sysfs.c40 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
46 static ssize_t netdev_show(const struct device *dev, in netdev_show()
82 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
119 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
128 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
133 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
148 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
166 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
180 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
187 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
[all …]
Dlink_watch.c36 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
256 void linkwatch_sync_dev(struct net_device *dev) in linkwatch_sync_dev()
291 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
Ddev_ioctl.c40 struct net_device *dev; in dev_ifconf() local
85 static int dev_getifmap(struct net_device *dev, struct ifreq *ifr) in dev_getifmap()
112 static int dev_setifmap(struct net_device *dev, struct ifreq *ifr) in dev_setifmap()
141 struct net_device *dev = dev_get_by_name_rcu(net, ifr->ifr_name); in dev_ifsioc_locked() local
242 static int dev_eth_ioctl(struct net_device *dev, in dev_eth_ioctl()
269 static int dev_get_hwtstamp_phylib(struct net_device *dev, in dev_get_hwtstamp_phylib()
278 static int dev_get_hwtstamp(struct net_device *dev, struct ifreq *ifr) in dev_get_hwtstamp()
322 int dev_set_hwtstamp_phylib(struct net_device *dev, in dev_set_hwtstamp_phylib()
364 static int dev_set_hwtstamp(struct net_device *dev, struct ifreq *ifr) in dev_set_hwtstamp()
412 static int generic_hwtstamp_ioctl_lower(struct net_device *dev, int cmd, in generic_hwtstamp_ioctl_lower()
[all …]
Ddev_addr_lists.c315 struct net_device *dev, in __hw_addr_sync_dev()
370 struct net_device *dev, in __hw_addr_ref_sync_dev()
429 struct net_device *dev, in __hw_addr_ref_unsync_dev()
463 struct net_device *dev, in __hw_addr_unsync_dev()
511 void dev_addr_check(struct net_device *dev) in dev_addr_check()
530 void dev_addr_flush(struct net_device *dev) in dev_addr_flush()
548 int dev_addr_init(struct net_device *dev) in dev_addr_init()
572 void dev_addr_mod(struct net_device *dev, unsigned int offset, in dev_addr_mod()
598 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add()
626 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del()
[all …]
/net/bluetooth/rfcomm/
Dtty.c82 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_destruct() local
112 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_activate() local
124 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_carrier_raised() local
132 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_shutdown() local
150 struct rfcomm_dev *dev; in __rfcomm_dev_lookup() local
161 struct rfcomm_dev *dev; in rfcomm_dev_get() local
175 static void rfcomm_reparent_device(struct rfcomm_dev *dev) in rfcomm_reparent_device()
203 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in address_show() local
210 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in channel_show() local
220 struct rfcomm_dev *dev, *entry; in __rfcomm_dev_add() local
[all …]
/net/mac802154/
Dmib.c21 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel()
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()
117 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_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()
[all …]
/net/bridge/
Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
117 static int br_dev_init(struct net_device *dev) in br_dev_init()
151 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
162 static int br_dev_open(struct net_device *dev) in br_dev_open()
177 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
181 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
187 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
202 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
219 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address()
243 static void br_getinfo(struct net_device *dev, struct ethtool_drvinfo *info) in br_getinfo()
[all …]
/net/dsa/
Duser.c35 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
143 static int dsa_user_schedule_standalone_work(struct net_device *dev, in dsa_user_schedule_standalone_work()
174 static int dsa_user_vlan_for_each(struct net_device *dev, in dsa_user_vlan_for_each()
196 static int dsa_user_sync_uc(struct net_device *dev, in dsa_user_sync_uc()
216 static int dsa_user_unsync_uc(struct net_device *dev, in dsa_user_unsync_uc()
236 static int dsa_user_sync_mc(struct net_device *dev, in dsa_user_sync_mc()
256 static int dsa_user_unsync_mc(struct net_device *dev, in dsa_user_unsync_mc()
[all …]
Dconduit.c19 static int dsa_conduit_get_regs_len(struct net_device *dev) in dsa_conduit_get_regs_len()
48 static void dsa_conduit_get_regs(struct net_device *dev, in dsa_conduit_get_regs()
83 static void dsa_conduit_get_ethtool_stats(struct net_device *dev, in dsa_conduit_get_ethtool_stats()
102 static void dsa_conduit_get_ethtool_phy_stats(struct net_device *dev, in dsa_conduit_get_ethtool_phy_stats()
128 static int dsa_conduit_get_sset_count(struct net_device *dev, int sset) in dsa_conduit_get_sset_count()
150 static void dsa_conduit_get_strings(struct net_device *dev, uint32_t stringset, in dsa_conduit_get_strings()
201 int __dsa_conduit_hwtstamp_validate(struct net_device *dev, in __dsa_conduit_hwtstamp_validate()
223 static int dsa_conduit_ethtool_setup(struct net_device *dev) in dsa_conduit_ethtool_setup()
252 static void dsa_conduit_ethtool_teardown(struct net_device *dev) in dsa_conduit_ethtool_teardown()
268 static void dsa_conduit_set_promiscuity(struct net_device *dev, int inc) in dsa_conduit_set_promiscuity()
[all …]
/net/ethtool/
Dioctl.c46 static struct devlink *netdev_to_devlink_get(struct net_device *dev) in netdev_to_devlink_get()
59 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link()
68 int ethtool_op_get_ts_info(struct net_device *dev, in ethtool_op_get_ts_info()
82 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features()
121 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features()
161 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count()
192 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings()
249 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature()
263 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature()
293 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags()
[all …]
/net/8021q/
Dvlan_dev.c45 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
100 struct net_device *dev) in vlan_dev_hard_start_xmit()
142 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
157 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
170 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
243 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result, size_t size) in vlan_dev_get_realdev_name()
248 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
259 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open()
294 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop()
[all …]
Dvlan_core.c76 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
102 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
113 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
119 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
149 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
169 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable()
205 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info()
216 static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_kill_rx_filter_info()
227 int vlan_for_each(struct net_device *dev, in vlan_for_each()
228 int (*action)(struct net_device *dev, int vid, void *arg), in vlan_for_each()
[all …]
/net/wireless/
Drdev-ops.h69 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
164 struct net_device *dev, in rdev_start_ap()
175 struct net_device *dev, in rdev_change_beacon()
186 struct net_device *dev, unsigned int link_id) in rdev_stop_ap()
196 struct net_device *dev, u8 *mac, in rdev_add_station()
207 struct net_device *dev, in rdev_del_station()
218 struct net_device *dev, u8 *mac, in rdev_change_station()
229 struct net_device *dev, const u8 *mac, in rdev_get_station()
240 struct net_device *dev, int idx, u8 *mac, in rdev_dump_station()
251 struct net_device *dev, u8 *dst, u8 *next_hop) in rdev_add_mpath()
[all …]
/net/phonet/
Dpn_dev.c48 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
62 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
75 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
87 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
113 struct net_device *dev = NULL; in phonet_device_get() local
130 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
149 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
173 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
230 static int phonet_device_autoconf(struct net_device *dev) in phonet_device_autoconf()
252 static void phonet_route_autodel(struct net_device *dev) in phonet_route_autodel()
[all …]
Dpep-gprs.c32 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/mctp/
Ddevice.c30 struct mctp_dev *__mctp_dev_get(const struct net_device *dev) in __mctp_dev_get()
46 struct mctp_dev *mctp_dev_get_rtnl(const struct net_device *dev) in mctp_dev_get_rtnl()
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
314 void mctp_dev_release_key(struct mctp_dev *dev, struct mctp_sk_key *key) in mctp_dev_release_key()
325 void mctp_dev_set_key(struct mctp_dev *dev, struct mctp_sk_key *key) in mctp_dev_set_key()
332 static struct mctp_dev *mctp_add_dev(struct net_device *dev) in mctp_add_dev()
357 const struct net_device *dev, u32 ext_filter_mask) in mctp_fill_link_af()
369 static size_t mctp_get_link_af_size(const struct net_device *dev, in mctp_get_link_af_size()
[all …]
/net/ethernet/
Deth.c79 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header()
125 u32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len) in eth_get_headlen()
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()
[all …]
/net/batman-adv/
Dsoft-interface.c80 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
86 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
112 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
125 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
154 static int batadv_interface_change_mtu(struct net_device *dev, int new_mtu) in batadv_interface_change_mtu()
176 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode()
628 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
675 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
712 static void batadv_set_lockdep_class_one(struct net_device *dev, in batadv_set_lockdep_class_one()
723 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class()
[all …]
/net/sched/
Dsch_generic.c316 struct net_device *dev, struct netdev_queue *txq, in sch_direct_xmit()
393 struct net_device *dev; in qdisc_restart() local
429 unsigned long dev_trans_start(struct net_device *dev) in dev_trans_start()
445 static void netif_freeze_queues(struct net_device *dev) in netif_freeze_queues()
466 void netif_tx_lock(struct net_device *dev) in netif_tx_lock()
473 static void netif_unfreeze_queues(struct net_device *dev) in netif_unfreeze_queues()
489 void netif_tx_unlock(struct net_device *dev) in netif_tx_unlock()
498 struct net_device *dev = from_timer(dev, t, watchdog_timer); in dev_watchdog() local
554 void __netdev_watchdog_up(struct net_device *dev) in __netdev_watchdog_up()
567 static void dev_watchdog_up(struct net_device *dev) in dev_watchdog_up()
[all …]
/net/ipv4/
Dip_gre.c473 static void __gre_xmit(struct sk_buff *skb, struct net_device *dev, in __gre_xmit()
496 static void gre_fb_xmit(struct sk_buff *skb, struct net_device *dev, in gre_fb_xmit()
540 static void erspan_fb_xmit(struct sk_buff *skb, struct net_device *dev) in erspan_fb_xmit()
625 static int gre_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in gre_fill_metadata_dst()
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()
785 static void ipgre_link_update(struct net_device *dev, bool set_mtu) in ipgre_link_update()
814 static int ipgre_tunnel_ctl(struct net_device *dev, in ipgre_tunnel_ctl()
887 static int ipgre_header(struct sk_buff *skb, struct net_device *dev, in ipgre_header()
[all …]
/net/netrom/
Dnr_dev.c40 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()

12345678910>>...19