Lines Matching refs:old_parent
4455 struct device *old_parent, in device_move_class_links() argument
4460 if (old_parent) in device_move_class_links()
4478 struct device *old_parent; in device_move() local
4502 old_parent = dev->parent; in device_move()
4504 if (old_parent) in device_move()
4513 error = device_move_class_links(dev, old_parent, new_parent); in device_move()
4516 device_move_class_links(dev, new_parent, old_parent); in device_move()
4517 if (!kobject_move(&dev->kobj, &old_parent->kobj)) { in device_move()
4520 dev->parent = old_parent; in device_move()
4521 if (old_parent) { in device_move()
4523 &old_parent->p->klist_children); in device_move()
4524 set_dev_node(dev, dev_to_node(old_parent)); in device_move()
4549 put_device(old_parent); in device_move()