Lines Matching defs:net_device

41 static inline int dev_isalive(const struct net_device *dev)
76 struct net_device *ndev)
130 ssize_t (*format)(const struct net_device *, char *))
132 struct net_device *ndev = to_net_dev(dev);
145 static ssize_t format_##field(const struct net_device *dev, char *buf) \
166 int (*set)(struct net_device *, unsigned long))
168 struct net_device *netdev = to_net_dev(dev);
197 int (*set)(struct net_device *, unsigned long))
199 struct net_device *netdev = to_net_dev(dev);
234 struct net_device *ndev = to_net_dev(dev);
240 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf)
249 struct net_device *ndev = to_net_dev(dev);
263 struct net_device *ndev = to_net_dev(dev);
281 struct net_device *ndev = to_net_dev(dev);
292 static int change_carrier(struct net_device *dev, unsigned long new_carrier)
302 struct net_device *netdev = to_net_dev(dev);
316 struct net_device *netdev = to_net_dev(dev);
341 struct net_device *netdev = to_net_dev(dev);
369 struct net_device *netdev = to_net_dev(dev);
411 struct net_device *netdev = to_net_dev(dev);
423 struct net_device *netdev = to_net_dev(dev);
445 const struct net_device *netdev = to_net_dev(dev);
463 struct net_device *netdev = to_net_dev(dev);
475 struct net_device *netdev = to_net_dev(dev);
485 struct net_device *netdev = to_net_dev(dev);
493 static int change_mtu(struct net_device *dev, unsigned long new_mtu)
505 static int change_flags(struct net_device *dev, unsigned long new_flags)
528 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val)
545 static int change_napi_defer_hard_irqs(struct net_device *dev, unsigned long val)
569 struct net_device *netdev = to_net_dev(dev);
599 const struct net_device *netdev = to_net_dev(dev);
610 static int change_group(struct net_device *dev, unsigned long new_group)
624 static int change_proto_down(struct net_device *dev, unsigned long proto_down)
640 struct net_device *netdev = to_net_dev(dev);
661 struct net_device *netdev = to_net_dev(dev);
682 struct net_device *netdev = to_net_dev(dev);
711 struct net_device *netdev = to_net_dev(dev);
737 struct net_device *netdev = to_net_dev(dev);
750 static int modify_napi_threaded(struct net_device *dev, unsigned long val)
812 struct net_device *dev = to_net_dev(d);
906 static bool wireless_group_needed(struct net_device *ndev)
1211 static int rx_queue_default_mask(struct net_device *dev,
1232 static int rx_queue_add_kobject(struct net_device *dev, int index)
1291 static int rx_queue_change_owner(struct net_device *dev, int index, kuid_t kuid,
1311 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num)
1347 static int net_rx_queue_change_owner(struct net_device *dev, int num,
1429 struct net_device *dev = queue->dev;
1441 struct net_device *dev = queue->dev;
1487 struct net_device *dev = queue->dev;
1713 static ssize_t xps_queue_show(struct net_device *dev, unsigned int index,
1766 struct net_device *dev = queue->dev;
1804 struct net_device *dev = queue->dev;
1846 struct net_device *dev = queue->dev;
1873 struct net_device *dev = queue->dev;
1961 static bool netdev_uses_bql(const struct net_device *dev)
1969 static int netdev_queue_add_kobject(struct net_device *dev, int index)
2023 static int tx_queue_change_owner(struct net_device *ndev, int index,
2042 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num)
2082 static int net_tx_queue_change_owner(struct net_device *dev, int num,
2101 static int register_queue_kobjects(struct net_device *dev)
2135 static int queue_change_owner(struct net_device *ndev, kuid_t kuid, kgid_t kgid)
2160 static void remove_queue_kobjects(struct net_device *dev)
2220 const struct net_device *dev = to_net_dev(d);
2244 struct net_device *dev = to_net_dev(d);
2257 const struct net_device *dev = to_net_dev(d);
2264 const struct net_device *dev = to_net_dev(d);
2295 * Looks up the net_device structure corresponding with the device node.
2296 * If successful, returns a pointer to the net_device with the embedded
2298 * refcount must be dropped when done with the net_device.
2300 struct net_device *of_find_net_device_by_node(struct device_node *np)
2316 void netdev_unregister_kobject(struct net_device *ndev)
2333 int netdev_register_kobject(struct net_device *ndev)
2376 int netdev_change_owner(struct net_device *ndev, const struct net *net_old,