函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\taskstats.c Create Date:2022-07-27 12:54:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Send taskstats data in @skb to listener with nl_pid @pid

函数原型:static int send_reply(struct sk_buff *skb, struct genl_info *info)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
struct genl_info *info
102  genlhdr等于消息有效载荷
103  reply等于gennlmsg_data - head of message payload*@gnlh: genetlink message header
105  genlmsg_end - Finalize a generic netlink message*@skb: socket buffer the message is stored in*@hdr: user specific header
107  返回:genlmsg_reply - reply to a request*@skb: netlink message to be sent back*@info: receiver information
调用者
名称描述
cgroupstats_user_cmd
cmd_attr_pid
cmd_attr_tgid