Lines Matching refs:tty_audit_buf
15 struct tty_audit_buf {
23 static struct tty_audit_buf *tty_audit_buf_ref(void)
25 struct tty_audit_buf *buf;
27 buf = current->signal->tty_audit_buf;
32 static struct tty_audit_buf *tty_audit_buf_alloc(void)
34 struct tty_audit_buf *buf;
54 static void tty_audit_buf_free(struct tty_audit_buf *buf)
91 static void tty_audit_buf_push(struct tty_audit_buf *buf)
107 * Only needs to be called if current->signal->tty_audit_buf != %NULL.
114 struct tty_audit_buf *buf;
116 buf = xchg(¤t->signal->tty_audit_buf, ERR_PTR(-ESRCH));
156 struct tty_audit_buf *buf;
177 static struct tty_audit_buf *tty_audit_buf_get(void)
179 struct tty_audit_buf *buf;
192 if (cmpxchg(¤t->signal->tty_audit_buf, NULL, buf) != NULL)
204 struct tty_audit_buf *buf;