Lines Matching defs:dev
30 struct net_device *dev; member
82 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
103 struct net_device *dev, in switchdev_port_attr_notify()
129 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
137 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
151 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
168 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
195 struct net_device *dev, in switchdev_port_obj_notify()
218 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
234 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
251 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
263 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
270 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
284 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
300 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
345 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
371 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
386 const struct net_device *dev; member
397 const struct net_device *dev; in switchdev_lower_dev_walk() local
412 switchdev_lower_dev_find_rcu(struct net_device *dev, in switchdev_lower_dev_find_rcu()
413 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find_rcu()
414 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find_rcu()
433 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
434 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find()
435 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
453 static int __switchdev_handle_fdb_event_to_device(struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
456 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
457 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
459 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
514 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
516 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
517 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
519 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
535 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
537 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
538 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_add()
540 int (*add_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_add()
610 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
612 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
613 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
631 int switchdev_handle_port_obj_add_foreign(struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
633 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add_foreign()
634 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
636 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add_foreign()
650 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
652 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
653 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_del()
655 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
721 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
723 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
724 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
741 int switchdev_handle_port_obj_del_foreign(struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
743 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del_foreign()
744 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
746 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del_foreign()
759 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
761 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
762 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
801 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
803 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
804 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
819 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()