Lines Matching defs:dev
30 struct net_device *dev; member
81 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
102 struct net_device *dev, in switchdev_port_attr_notify()
128 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
136 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
150 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
167 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
194 struct net_device *dev, in switchdev_port_obj_notify()
217 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
233 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
250 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
262 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
269 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
283 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
299 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
344 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
370 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
385 const struct net_device *dev; member
396 const struct net_device *dev; in switchdev_lower_dev_walk() local
411 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
412 bool (*check_cb)(const struct net_device *dev), in switchdev_lower_dev_find()
413 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
431 static int __switchdev_handle_fdb_add_to_device(struct net_device *dev, in __switchdev_handle_fdb_add_to_device()
434 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_add_to_device()
435 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_add_to_device()
437 int (*add_cb)(struct net_device *dev, in __switchdev_handle_fdb_add_to_device()
440 int (*lag_add_cb)(struct net_device *dev, in __switchdev_handle_fdb_add_to_device()
511 int switchdev_handle_fdb_add_to_device(struct net_device *dev, in switchdev_handle_fdb_add_to_device()
513 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_add_to_device()
514 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_add_to_device()
516 int (*add_cb)(struct net_device *dev, in switchdev_handle_fdb_add_to_device()
519 int (*lag_add_cb)(struct net_device *dev, in switchdev_handle_fdb_add_to_device()
536 static int __switchdev_handle_fdb_del_to_device(struct net_device *dev, in __switchdev_handle_fdb_del_to_device()
539 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_del_to_device()
540 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_del_to_device()
542 int (*del_cb)(struct net_device *dev, in __switchdev_handle_fdb_del_to_device()
545 int (*lag_del_cb)(struct net_device *dev, in __switchdev_handle_fdb_del_to_device()
616 int switchdev_handle_fdb_del_to_device(struct net_device *dev, in switchdev_handle_fdb_del_to_device()
618 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_del_to_device()
619 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_del_to_device()
621 int (*del_cb)(struct net_device *dev, in switchdev_handle_fdb_del_to_device()
624 int (*lag_del_cb)(struct net_device *dev, in switchdev_handle_fdb_del_to_device()
641 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
643 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
644 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()
700 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
702 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
703 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
738 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
740 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
741 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
754 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
756 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
757 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
796 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
798 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
799 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
814 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()