Function report |
Source Code:lib\kobject_uevent.c |
Create Date:2022-07-28 06:14:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kobject_action_type
Proto:static int kobject_action_type(const char *buf, size_t count, enum kobject_action *type, const char **args)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | buf | |
| size_t | count | |
| enum kobject_action * | type | |
| const char ** | args |
| 78 | If args_start Then |
| 79 | count_first = args_start - buf |
| 80 | args_start = args_start + 1 |
| 81 | Else count_first = count |
| 85 | If strncmp(he strings here must match the enum in include/linux/kobject.h [action], buf, count_first) != 0 Then Continue |
| 87 | If he strings here must match the enum in include/linux/kobject.h [action][count_first] != '\0' Then Continue |
| 89 | If args Then args = args_start |
| 92 | ret = 0 |
| 93 | Break |
| 95 | out : |
| 96 | Return ret |
| Name | Describe |
|---|---|
| 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 |