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()
454 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
470 const struct net_device *dev; member
481 const struct net_device *dev; in switchdev_lower_dev_walk() local
496 switchdev_lower_dev_find_rcu(struct net_device *dev, in switchdev_lower_dev_find_rcu()
497 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find_rcu()
498 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find_rcu()
517 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
518 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find()
519 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
537 static int __switchdev_handle_fdb_event_to_device(struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
540 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
541 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
543 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
598 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
600 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
601 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
603 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
619 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
621 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
622 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_add()
624 int (*add_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_add()
694 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
696 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
697 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
715 int switchdev_handle_port_obj_add_foreign(struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
717 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add_foreign()
718 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
720 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add_foreign()
734 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
736 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
737 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_del()
739 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
805 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
807 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
808 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
825 int switchdev_handle_port_obj_del_foreign(struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
827 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del_foreign()
828 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
830 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del_foreign()
843 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
845 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
846 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
885 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
887 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
888 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
903 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()
951 struct net_device *dev, const void *ctx, in switchdev_bridge_port_replay()