函数逻辑报告 |
Source Code:fs\quota\netlink.c |
Create Date:2022-07-29 11:10:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:quota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier
函数原型:void quota_send_warning(struct kqid qid, dev_t dev, const char warntype)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kqid | qid | |
| dev_t | dev | |
| const char | warntype |
| 44 | msg_size等于4乘属性的总长度,包括填充加2乘la_total_size_64bit - total length of attribute including padding*@payload: length of payload |
| 50 | skb等于genlmsg_new - Allocate a new generic netlink message*@payload: size of the message payload*@flags: the type of memory to allocate. |
| 51 | 如果非skb则 |
| 56 | msg_head等于genlmsg_put(skb, 0, atomic_add_return(1, & seq), & Netlink family structure for quota , 0, QUOTA_NL_C_WARNING) |
| 58 | 如果非msg_head则 |
| 61 | 转到:err_out |
| 63 | ret等于la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| 64 | 如果ret则转到:attr_err_out |
| 69 | 如果ret则转到:attr_err_out |
| 71 | ret等于la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| 72 | 如果ret则转到:attr_err_out |
| 74 | ret等于la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| 75 | 如果ret则转到:attr_err_out |
| 77 | ret等于la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| 78 | 如果ret则转到:attr_err_out |
| 83 | 如果ret则转到:attr_err_out |
| 88 | 返回 |
| 89 | attr_err_out : |
| 91 | err_out : |
| 92 | 释放缓存 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |