Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_kobj_path_length
Proto:static int get_kobj_path_length(struct kobject *kobj)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kobject * | kobj |
| 131 | length = 1 |
| 138 | Do |
| 139 | If (kobject_name(parent) == NULL) Then Return 0 |
| 141 | length += strlen(kobject_name(parent)) + 1 |
| 144 | Return length |
| Name | Describe |
|---|---|
| kobject_get_path | kobject_get_path() - Allocate memory and fill in the path for @kobj.*@kobj: kobject in question, with which to build the path*@gfp_mask: the allocation type used to allocate the path* Return: The newly allocated memory, caller must free with kfree(). |
| 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 |