Lines Matching refs:dev

56 	void (*complete)(struct net_device *dev, int err, void *priv);
92 void (*complete)(struct net_device *dev, int err, void *priv);
205 struct net_device *dev;
236 struct net_device *dev;
274 return info->dev;
292 struct net_device *dev, const void *ctx,
302 struct net_device *dev, const void *ctx,
308 int switchdev_port_attr_set(struct net_device *dev,
311 bool switchdev_port_obj_act_is_deferred(struct net_device *dev,
314 int switchdev_port_obj_add(struct net_device *dev,
317 int switchdev_port_obj_del(struct net_device *dev,
322 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
328 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev,
332 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event,
334 bool (*check_cb)(const struct net_device *dev),
335 bool (*foreign_dev_check_cb)(const struct net_device *dev,
337 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev,
341 int switchdev_handle_port_obj_add(struct net_device *dev,
343 bool (*check_cb)(const struct net_device *dev),
344 int (*add_cb)(struct net_device *dev, const void *ctx,
347 int switchdev_handle_port_obj_add_foreign(struct net_device *dev,
349 bool (*check_cb)(const struct net_device *dev),
350 bool (*foreign_dev_check_cb)(const struct net_device *dev,
352 int (*add_cb)(struct net_device *dev, const void *ctx,
355 int switchdev_handle_port_obj_del(struct net_device *dev,
357 bool (*check_cb)(const struct net_device *dev),
358 int (*del_cb)(struct net_device *dev, const void *ctx,
360 int switchdev_handle_port_obj_del_foreign(struct net_device *dev,
362 bool (*check_cb)(const struct net_device *dev),
363 bool (*foreign_dev_check_cb)(const struct net_device *dev,
365 int (*del_cb)(struct net_device *dev, const void *ctx,
368 int switchdev_handle_port_attr_set(struct net_device *dev,
370 bool (*check_cb)(const struct net_device *dev),
371 int (*set_cb)(struct net_device *dev, const void *ctx,
378 struct net_device *dev, const void *ctx,
399 static inline int switchdev_port_attr_set(struct net_device *dev,
406 static inline int switchdev_port_obj_add(struct net_device *dev,
413 static inline int switchdev_port_obj_del(struct net_device *dev,
430 struct net_device *dev,
451 struct net_device *dev,
459 switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event,
461 bool (*check_cb)(const struct net_device *dev),
462 bool (*foreign_dev_check_cb)(const struct net_device *dev,
464 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev,
472 switchdev_handle_port_obj_add(struct net_device *dev,
474 bool (*check_cb)(const struct net_device *dev),
475 int (*add_cb)(struct net_device *dev, const void *ctx,
482 static inline int switchdev_handle_port_obj_add_foreign(struct net_device *dev,
484 bool (*check_cb)(const struct net_device *dev),
485 bool (*foreign_dev_check_cb)(const struct net_device *dev,
487 int (*add_cb)(struct net_device *dev, const void *ctx,
495 switchdev_handle_port_obj_del(struct net_device *dev,
497 bool (*check_cb)(const struct net_device *dev),
498 int (*del_cb)(struct net_device *dev, const void *ctx,
505 switchdev_handle_port_obj_del_foreign(struct net_device *dev,
507 bool (*check_cb)(const struct net_device *dev),
508 bool (*foreign_dev_check_cb)(const struct net_device *dev,
510 int (*del_cb)(struct net_device *dev, const void *ctx,
517 switchdev_handle_port_attr_set(struct net_device *dev,
519 bool (*check_cb)(const struct net_device *dev),
520 int (*set_cb)(struct net_device *dev, const void *ctx,