Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kobject_move() - Move object to another parent.*@kobj: object in question.*@new_parent: object's new parent (can be NULL)
Proto:int kobject_move(struct kobject *kobj, struct kobject *new_parent)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kobject * | kobj | |
| struct kobject * | new_parent |
| 558 | const char * devpath = NULL |
| 559 | char * devpath_string = NULL |
| 566 | If Not new_parent Then |
| 573 | If Not devpath Then |
| 578 | If Not devpath_string Then |
| 583 | envp[0] = devpath_string |
| 584 | envp[1] = NULL |
| 588 | old_parent = parent |
| 589 | parent = new_parent |
| 590 | new_parent = NULL |
| 593 | out : |
| 596 | kfree(devpath_string) |
| 598 | Return error |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |