Function report |
Source Code:kernel\taskstats.c |
Create Date:2022-07-28 11:49:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse
Proto:static int parse(struct nlattr *na, struct cpumask *mask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nlattr * | na | |
| struct cpumask * | mask |
| 343 | If (na == NULL) Then Return 1 |
| 346 | If len > Maximum length of a cpumask that can be specified in* the TASKSTATS_CMD_ATTR_REGISTER/DEREGISTER_CPUMASK attribute Then Return -E2BIG |
| 350 | data = Allocation memory |
| 354 | ret = pulist_parse - extract a cpumask from a user string of ranges*@buf: the buffer to extract from*@dstp: the cpumask to set.* Returns -errno, or 0 for success. |
| 356 | Return ret |
| Name | Describe |
|---|---|
| cmd_attr_register_cpumask | |
| cmd_attr_deregister_cpumask |
| 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 |