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()
482 check_cb, add_cb); in __switchdev_handle_port_obj_add()
492 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
500 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
510 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
518 if (check_cb(dev)) { in __switchdev_handle_port_obj_del()
537 check_cb, del_cb); in __switchdev_handle_port_obj_del()
547 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
553 err = __switchdev_handle_port_obj_del(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_del()
563 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_attr_set()
572 if (check_cb(dev)) { in __switchdev_handle_port_attr_set()
591 check_cb, set_cb); in __switchdev_handle_port_attr_set()
601 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
608 err = __switchdev_handle_port_attr_set(dev, port_attr_info, check_cb, in switchdev_handle_port_attr_set()