Lines Matching refs:net_device
46 struct net_device *orig_dev;
50 void (*complete)(struct net_device *dev, int err, void *priv);
69 struct net_device *orig_dev;
73 void (*complete)(struct net_device *dev, int err, void *priv);
118 struct net_device *dev;
144 static inline struct net_device *
159 int switchdev_port_attr_set(struct net_device *dev,
161 int switchdev_port_obj_add(struct net_device *dev,
164 int switchdev_port_obj_del(struct net_device *dev,
169 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
175 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev,
179 void switchdev_port_fwd_mark_set(struct net_device *dev,
180 struct net_device *group_dev,
183 int switchdev_handle_port_obj_add(struct net_device *dev,
185 bool (*check_cb)(const struct net_device *dev),
186 int (*add_cb)(struct net_device *dev,
190 int switchdev_handle_port_obj_del(struct net_device *dev,
192 bool (*check_cb)(const struct net_device *dev),
193 int (*del_cb)(struct net_device *dev,
196 int switchdev_handle_port_attr_set(struct net_device *dev,
198 bool (*check_cb)(const struct net_device *dev),
199 int (*set_cb)(struct net_device *dev,
208 static inline int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
214 static inline int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
221 static inline int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
238 struct net_device *dev, in call_switchdev_notifiers()
259 struct net_device *dev, in call_switchdev_blocking_notifiers()
267 switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
269 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
270 int (*add_cb)(struct net_device *dev, in switchdev_handle_port_obj_add()
279 switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
281 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
282 int (*del_cb)(struct net_device *dev, in switchdev_handle_port_obj_del()
289 switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
291 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
292 int (*set_cb)(struct net_device *dev, in switchdev_handle_port_attr_set()