Lines Matching defs:dev
59 struct net_device *dev; member
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
132 struct net_device *dev, in switchdev_port_attr_notify()
158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
224 struct net_device *dev, in switchdev_port_obj_notify()
247 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
263 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
280 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
292 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
299 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
313 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
329 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
351 bool switchdev_port_obj_act_is_deferred(struct net_device *dev, in switchdev_port_obj_act_is_deferred()
418 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
444 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
459 const struct net_device *dev; member
470 const struct net_device *dev; in switchdev_lower_dev_walk() local
485 switchdev_lower_dev_find_rcu(struct net_device *dev, in switchdev_lower_dev_find_rcu()
486 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find_rcu()
487 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find_rcu()
506 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
507 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find()
508 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
526 static int __switchdev_handle_fdb_event_to_device(struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
529 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
530 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
532 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
587 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
589 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
590 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
592 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
608 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
610 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
611 bool (*foreign_dev_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()
683 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
685 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
686 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
704 int switchdev_handle_port_obj_add_foreign(struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
706 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add_foreign()
707 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
709 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add_foreign()
723 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
725 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
726 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_del()
728 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
794 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
796 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
797 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
814 int switchdev_handle_port_obj_del_foreign(struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
816 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del_foreign()
817 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
819 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del_foreign()
832 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
834 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
835 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
874 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
876 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
877 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
892 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()
940 struct net_device *dev, const void *ctx, in switchdev_bridge_port_replay()