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: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().
Proto:char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kobject * | kobj | |
| gfp_t | gfp_mask |
| 176 | len = get_kobj_path_length(kobj) |
| 177 | If len == 0 Then Return NULL |
| 179 | path = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 180 | If Not path Then Return NULL |
| 182 | fill_kobj_path(kobj, path, len) |
| 184 | Return path |
| Name | Describe |
|---|---|
| kobject_uevent_env | kobject_uevent_env - send an uevent with environmental data*@kobj: struct kobject that the action is happening to*@action: action that is happening*@envp_ext: pointer to environmental data* Returns 0 if kobject_uevent_env() is completed with success or the |
| kobject_rename | kobject_rename() - Change the name of an object |
| kobject_move | kobject_move() - Move object to another parent.*@kobj: object in question.*@new_parent: object's new parent (can be NULL) |
| kobject_synth_uevent | kobject_synth_uevent - send synthetic uevent with arguments*@kobj: struct kobject for which synthetic uevent is to be generated*@buf: buffer containing action type and action args, newline is ignored*@count: length of buffer* Returns 0 if |
| 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 |