Searched refs:new_parent (Results 1 – 1 of 1) sorted by relevance
459 int kobject_move(struct kobject *kobj, struct kobject *new_parent) in kobject_move() argument470 new_parent = kobject_get(new_parent); in kobject_move()471 if (!new_parent) { in kobject_move()473 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()489 error = sysfs_move_dir(kobj, new_parent); in kobject_move()493 kobj->parent = new_parent; in kobject_move()494 new_parent = NULL; in kobject_move()498 kobject_put(new_parent); in kobject_move()