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_event_to_device(struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
434 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
435 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
437 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
440 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
511 int switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, in switchdev_handle_fdb_event_to_device()
513 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_fdb_event_to_device()
514 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
516 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
519 int (*lag_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 int (*add_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_add()
577 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
579 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
580 int (*add_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_add()
594 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
596 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
597 int (*del_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_obj_del()
632 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
634 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
635 int (*del_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_obj_del()
648 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
650 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
651 int (*set_cb)(struct net_device *dev, const void *ctx, in __switchdev_handle_port_attr_set()
690 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
692 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
693 int (*set_cb)(struct net_device *dev, const void *ctx, in switchdev_handle_port_attr_set()
708 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()