Lines Matching refs:old_parent
4593 struct device *old_parent, in device_move_class_links() argument
4598 if (old_parent) in device_move_class_links()
4616 struct device *old_parent; in device_move() local
4640 old_parent = dev->parent; in device_move()
4642 if (old_parent) in device_move()
4651 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
4654 device_move_class_links(dev, new_parent, old_parent); in device_move()
4655 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
4658 dev->parent = old_parent; in device_move()
4659 if (old_parent) { in device_move()
4661 &old_parent->p->klist_children); in device_move()
4662 set_dev_node(dev, dev_to_node(old_parent)); in device_move()
4687 put_device(old_parent); in device_move()