Lines Matching refs:reply
965 static void audit_free_reply(struct audit_reply *reply) in audit_free_reply() argument
967 if (!reply) in audit_free_reply()
970 kfree_skb(reply->skb); in audit_free_reply()
971 if (reply->net) in audit_free_reply()
972 put_net(reply->net); in audit_free_reply()
973 kfree(reply); in audit_free_reply()
978 struct audit_reply *reply = (struct audit_reply *)arg; in audit_send_reply_thread() local
985 netlink_unicast(audit_get_sk(reply->net), reply->skb, reply->portid, 0); in audit_send_reply_thread()
986 reply->skb = NULL; in audit_send_reply_thread()
987 audit_free_reply(reply); in audit_send_reply_thread()
1007 struct audit_reply *reply; in audit_send_reply() local
1009 reply = kzalloc(sizeof(*reply), GFP_KERNEL); in audit_send_reply()
1010 if (!reply) in audit_send_reply()
1013 reply->skb = audit_make_reply(seq, type, done, multi, payload, size); in audit_send_reply()
1014 if (!reply->skb) in audit_send_reply()
1016 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
1017 reply->portid = NETLINK_CB(request_skb).portid; in audit_send_reply()
1019 tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply"); in audit_send_reply()
1026 audit_free_reply(reply); in audit_send_reply()