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()
129 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
162 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
176 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
196 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
222 struct net_device *dev, in switchdev_port_obj_notify()
247 static int switchdev_port_obj_add_now(struct net_device *dev, in switchdev_port_obj_add_now()
282 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
296 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer()
317 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
328 static int switchdev_port_obj_del_now(struct net_device *dev, in switchdev_port_obj_del_now()
335 static void switchdev_port_obj_del_deferred(struct net_device *dev, in switchdev_port_obj_del_deferred()
349 static int switchdev_port_obj_del_defer(struct net_device *dev, in switchdev_port_obj_del_defer()
365 int switchdev_port_obj_del(struct net_device *dev, in switchdev_port_obj_del()
410 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_notifiers()
436 int call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, in call_switchdev_blocking_notifiers()
447 static int __switchdev_handle_port_obj_add(struct net_device *dev, in __switchdev_handle_port_obj_add()
449 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
450 int (*add_cb)(struct net_device *dev, in __switchdev_handle_port_obj_add()
489 int switchdev_handle_port_obj_add(struct net_device *dev, in switchdev_handle_port_obj_add()
491 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
492 int (*add_cb)(struct net_device *dev, in switchdev_handle_port_obj_add()
507 static int __switchdev_handle_port_obj_del(struct net_device *dev, in __switchdev_handle_port_obj_del()
509 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
510 int (*del_cb)(struct net_device *dev, in __switchdev_handle_port_obj_del()
543 int switchdev_handle_port_obj_del(struct net_device *dev, in switchdev_handle_port_obj_del()
545 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
546 int (*del_cb)(struct net_device *dev, in switchdev_handle_port_obj_del()
559 static int __switchdev_handle_port_attr_set(struct net_device *dev, in __switchdev_handle_port_attr_set()
561 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
562 int (*set_cb)(struct net_device *dev, in __switchdev_handle_port_attr_set()
596 int switchdev_handle_port_attr_set(struct net_device *dev, in switchdev_handle_port_attr_set()
598 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
599 int (*set_cb)(struct net_device *dev, in switchdev_handle_port_attr_set()