Lines Matching refs:tty_audit_buf
14 struct tty_audit_buf { struct
22 static struct tty_audit_buf *tty_audit_buf_ref(void) in tty_audit_buf_ref() argument
24 struct tty_audit_buf *buf; in tty_audit_buf_ref()
26 buf = current->signal->tty_audit_buf; in tty_audit_buf_ref()
31 static struct tty_audit_buf *tty_audit_buf_alloc(void) in tty_audit_buf_alloc()
33 struct tty_audit_buf *buf; in tty_audit_buf_alloc()
53 static void tty_audit_buf_free(struct tty_audit_buf *buf) in tty_audit_buf_free()
90 static void tty_audit_buf_push(struct tty_audit_buf *buf) in tty_audit_buf_push()
113 struct tty_audit_buf *buf; in tty_audit_exit()
115 buf = xchg(¤t->signal->tty_audit_buf, ERR_PTR(-ESRCH)); in tty_audit_exit()
155 struct tty_audit_buf *buf; in tty_audit_push()
176 static struct tty_audit_buf *tty_audit_buf_get(void) in tty_audit_buf_get()
178 struct tty_audit_buf *buf; in tty_audit_buf_get()
191 if (cmpxchg(¤t->signal->tty_audit_buf, NULL, buf) != NULL) in tty_audit_buf_get()
203 struct tty_audit_buf *buf; in tty_audit_add_data()