Lines Matching refs:tty_audit_buf
17 struct tty_audit_buf { struct
25 static struct tty_audit_buf *tty_audit_buf_ref(void) in tty_audit_buf_ref() argument
27 struct tty_audit_buf *buf; in tty_audit_buf_ref()
29 buf = current->signal->tty_audit_buf; in tty_audit_buf_ref()
34 static struct tty_audit_buf *tty_audit_buf_alloc(void) in tty_audit_buf_alloc()
36 struct tty_audit_buf *buf; in tty_audit_buf_alloc()
56 static void tty_audit_buf_free(struct tty_audit_buf *buf) in tty_audit_buf_free()
93 static void tty_audit_buf_push(struct tty_audit_buf *buf) in tty_audit_buf_push()
116 struct tty_audit_buf *buf; in tty_audit_exit()
118 buf = xchg(¤t->signal->tty_audit_buf, ERR_PTR(-ESRCH)); in tty_audit_exit()
158 struct tty_audit_buf *buf; in tty_audit_push()
179 static struct tty_audit_buf *tty_audit_buf_get(void) in tty_audit_buf_get()
181 struct tty_audit_buf *buf; in tty_audit_buf_get()
194 if (cmpxchg(¤t->signal->tty_audit_buf, NULL, buf) != NULL) in tty_audit_buf_get()
207 struct tty_audit_buf *buf; in tty_audit_add_data()