Searched refs:new_parent (Results 1 – 2 of 2) sorted by relevance
1463 struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp; in assoc_array_gc() local1482 new_root = new_parent = NULL; in assoc_array_gc()1501 new_s->back_pointer = new_parent; in assoc_array_gc()1503 *new_ptr_pp = new_parent = assoc_array_shortcut_to_ptr(new_s); in assoc_array_gc()1514 new_n->back_pointer = new_parent; in assoc_array_gc()1516 *new_ptr_pp = new_parent = assoc_array_node_to_ptr(new_n); in assoc_array_gc()1632 new_parent = new_n->back_pointer; in assoc_array_gc()1635 if (!new_parent) { in assoc_array_gc()1642 if (assoc_array_ptr_is_shortcut(new_parent)) { in assoc_array_gc()1645 assoc_array_ptr_to_shortcut(new_parent); in assoc_array_gc()[all …]
562 int kobject_move(struct kobject *kobj, struct kobject *new_parent) in kobject_move() argument573 new_parent = kobject_get(new_parent); in kobject_move()574 if (!new_parent) { in kobject_move()576 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()593 error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj)); in kobject_move()597 kobj->parent = new_parent; in kobject_move()598 new_parent = NULL; in kobject_move()602 kobject_put(new_parent); in kobject_move()