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_obj_id_to_helpful_msg(struct net_device *dev, in switchdev_obj_id_to_helpful_msg()
340 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
355 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
372 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
384 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
391 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
404 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
420 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
442 bool switchdev_port_obj_act_is_deferred(struct net_device *dev, in switchdev_port_obj_act_is_deferred()
509 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
535 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
550 const struct net_device *dev; member
561 const struct net_device *dev; in switchdev_lower_dev_walk() local
576 switchdev_lower_dev_find_rcu(struct net_device *dev, in switchdev_lower_dev_find_rcu()
577 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find_rcu()
578 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find_rcu()
597 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
598 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find()
599 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
617 static int __switchdev_handle_fdb_event_to_device(struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
620 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
621 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
623 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
678 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
680 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
681 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
683 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
699 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
701 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
702 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_add()
704 int (*add_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_add()
774 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
776 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
777 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
795 int switchdev_handle_port_obj_add_foreign(struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
797 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add_foreign()
798 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
800 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add_foreign()
814 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
816 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
817 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_del()
819 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
885 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
887 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
888 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
905 int switchdev_handle_port_obj_del_foreign(struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
907 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del_foreign()
908 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
910 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del_foreign()
923 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
925 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
926 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
965 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
967 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
968 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
983 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()
1031 struct net_device *dev, const void *ctx, in switchdev_bridge_port_replay()