函数逻辑报告 |
Source Code:kernel\taskstats.c |
Create Date:2022-07-27 12:54:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:prepare_reply
函数原型:static int prepare_reply(struct genl_info *info, u8 cmd, struct sk_buff **skbp, size_t size)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct genl_info * | info | |
| u8 | cmd | |
| struct sk_buff ** | skbp | |
| size_t | size |
| 78 | skb等于genlmsg_new - Allocate a new generic netlink message*@payload: size of the message payload*@flags: the type of memory to allocate. |
| 82 | 如果非info则 |
| 88 | 如果(reply == NULL)则 |
| 89 | 释放netlink消息 |
| 90 | 返回:负EINVAL |
| 94 | 返回:0 |
| 名称 | 描述 |
|---|---|
| cgroupstats_user_cmd | |
| cmd_attr_pid | |
| cmd_attr_tgid | |
| taskstats_exit | Send pid data out on exit |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |