Lines Matching refs:reply
963 static void audit_free_reply(struct audit_reply *reply) in audit_free_reply() argument
965 if (!reply) in audit_free_reply()
968 kfree_skb(reply->skb); in audit_free_reply()
969 if (reply->net) in audit_free_reply()
970 put_net(reply->net); in audit_free_reply()
971 kfree(reply); in audit_free_reply()
976 struct audit_reply *reply = (struct audit_reply *)arg; in audit_send_reply_thread() local
983 netlink_unicast(audit_get_sk(reply->net), reply->skb, reply->portid, 0); in audit_send_reply_thread()
984 reply->skb = NULL; in audit_send_reply_thread()
985 audit_free_reply(reply); in audit_send_reply_thread()
1005 struct audit_reply *reply; in audit_send_reply() local
1007 reply = kzalloc(sizeof(*reply), GFP_KERNEL); in audit_send_reply()
1008 if (!reply) in audit_send_reply()
1011 reply->skb = audit_make_reply(seq, type, done, multi, payload, size); in audit_send_reply()
1012 if (!reply->skb) in audit_send_reply()
1014 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
1015 reply->portid = NETLINK_CB(request_skb).portid; in audit_send_reply()
1017 tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply"); in audit_send_reply()
1024 audit_free_reply(reply); in audit_send_reply()