Lines Matching refs:check_cb
449 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
462 if (check_cb(dev)) { in __switchdev_handle_port_obj_add()
481 check_cb, add_cb); in __switchdev_handle_port_obj_add()
491 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
499 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
509 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
517 if (check_cb(dev)) { in __switchdev_handle_port_obj_del()
535 check_cb, del_cb); in __switchdev_handle_port_obj_del()
545 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
551 err = __switchdev_handle_port_obj_del(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_del()
561 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
570 if (check_cb(dev)) { in __switchdev_handle_port_attr_set()
588 check_cb, set_cb); in __switchdev_handle_port_attr_set()
598 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
605 err = __switchdev_handle_port_attr_set(dev, port_attr_info, check_cb, in switchdev_handle_port_attr_set()