Lines Matching refs:net_device
50 struct net_device *orig_dev;
54 void (*complete)(struct net_device *dev, int err, void *priv);
87 struct net_device *orig_dev;
91 void (*complete)(struct net_device *dev, int err, void *priv);
120 struct net_device *p_port;
121 struct net_device *s_port;
178 struct net_device *i_port;
220 struct net_device *dev;
246 static inline struct net_device *
261 int switchdev_port_attr_set(struct net_device *dev,
263 int switchdev_port_obj_add(struct net_device *dev,
266 int switchdev_port_obj_del(struct net_device *dev,
271 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
277 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev,
281 void switchdev_port_fwd_mark_set(struct net_device *dev,
282 struct net_device *group_dev,
285 int switchdev_handle_port_obj_add(struct net_device *dev,
287 bool (*check_cb)(const struct net_device *dev),
288 int (*add_cb)(struct net_device *dev,
292 int switchdev_handle_port_obj_del(struct net_device *dev,
294 bool (*check_cb)(const struct net_device *dev),
295 int (*del_cb)(struct net_device *dev,
298 int switchdev_handle_port_attr_set(struct net_device *dev,
300 bool (*check_cb)(const struct net_device *dev),
301 int (*set_cb)(struct net_device *dev,
310 static inline int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
316 static inline int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
323 static inline int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
340 struct net_device *dev, in call_switchdev_notifiers()
361 struct net_device *dev, in call_switchdev_blocking_notifiers()
369 switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
371 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
372 int (*add_cb)(struct net_device *dev, in switchdev_handle_port_obj_add()
381 switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
383 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
384 int (*del_cb)(struct net_device *dev, in switchdev_handle_port_obj_del()
391 switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
393 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
394 int (*set_cb)(struct net_device *dev, in switchdev_handle_port_attr_set()