Lines Matching refs:rep
36 struct audit_message rep; in get_ack() local
43 rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack()
48 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack()
49 audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, 0); in get_ack()
50 rc = ((struct nlmsgerr*)rep.data)->error; in get_ack()
152 struct audit_message rep; in audit_setup() local
181 audit_get_reply(fd, &rep, GET_REPLY_NONBLOCKING, 0); in audit_setup()
198 int audit_get_reply(int fd, struct audit_message* rep, reply_t block, int peek) { in audit_get_reply() argument
219 len = TEMP_FAILURE_RETRY(recvfrom(fd, rep, sizeof(*rep), flags, in audit_get_reply()
244 if (!NLMSG_OK(&rep->nlh, (size_t)len)) { in audit_get_reply()
245 rc = (len == sizeof(*rep)) ? -EFBIG : -EBADE; in audit_get_reply()