Lines Matching refs:rep
42 struct audit_message rep; in get_ack() local
49 rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack()
54 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack()
55 audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, 0); in get_ack()
56 rc = ((struct nlmsgerr *)rep.data)->error; in get_ack()
62 if ((int16_t)rep.nlh.nlmsg_seq != seq) { in get_ack()
64 "expected %u got %u", seq, rep.nlh.nlmsg_seq); in get_ack()
168 struct audit_message rep; in audit_setup() local
199 audit_get_reply(fd, &rep, GET_REPLY_NONBLOCKING, 0); in audit_setup()
209 int audit_get_reply(int fd, struct audit_message *rep, reply_t block, int peek) in audit_get_reply() argument
231 len = TEMP_FAILURE_RETRY(recvfrom(fd, rep, sizeof(*rep), flags, in audit_get_reply()
259 if (!NLMSG_OK(&rep->nlh, (size_t)len)) { in audit_get_reply()
260 rc = (len == sizeof(*rep)) ? -EFBIG : -EBADE; in audit_get_reply()