Lines Matching refs:old_parent
4244 struct device *old_parent, in device_move_class_links() argument
4249 if (old_parent) in device_move_class_links()
4267 struct device *old_parent; in device_move() local
4291 old_parent = dev->parent; in device_move()
4293 if (old_parent) in device_move()
4302 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
4305 device_move_class_links(dev, new_parent, old_parent); in device_move()
4306 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
4309 dev->parent = old_parent; in device_move()
4310 if (old_parent) { in device_move()
4312 &old_parent->p->klist_children); in device_move()
4313 set_dev_node(dev, dev_to_node(old_parent)); in device_move()
4338 put_device(old_parent); in device_move()