Function report |
Source Code:fs\quota\netlink.c |
Create Date:2022-07-28 20:34:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:quota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier
Proto:void quota_send_warning(struct kqid qid, dev_t dev, const char warntype)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kqid | qid | |
dev_t | dev | |
const char | warntype |
50 | skb = genlmsg_new - Allocate a new generic netlink message*@payload: size of the message payload*@flags: the type of memory to allocate. |
51 | If Not skb Then |
56 | msg_head = genlmsg_put(skb, 0, atomic_add_return(1, & seq), & Netlink family structure for quota , 0, QUOTA_NL_C_WARNING) |
58 | If Not msg_head Then |
61 | Go to 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 | If ret Then Go to attr_err_out |
69 | If ret Then Go to 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 | If ret Then Go to 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 | If ret Then Go to 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 | If ret Then Go to attr_err_out |
83 | If ret Then Go to attr_err_out |
88 | Return |
89 | attr_err_out : |
91 | err_out : |
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 |